Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04497/0.04497, allocations: 8.537 MB / 311.2 MB, free: 1.305 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 433.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1059, allocations: 54.2 MB / 487.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006049/0.1119, allocations: 3.766 MB / 491.2 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1141, allocations: 1.087 MB / 492.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003057/0.1144, allocations: 11.94 kB / 492.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004945/0.1149, allocations: 194.9 kB / 492.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005747/0.1155, allocations: 226.8 kB / 492.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.1164, allocations: 373.4 kB / 493.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008253/0.1172, allocations: 0.6315 MB / 493.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.1176, allocations: 203.4 kB / 493.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.118, allocations: 255 kB / 494.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003875/0.1183, allocations: 318.6 kB / 494.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.1184, allocations: 52 kB / 494.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.1186, allocations: 111.9 kB / 494.6 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.1188, allocations: 215.3 kB / 494.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000321/0.1192, allocations: 353.9 kB / 495.2 MB, free: 472 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.1202, allocations: 0.8832 MB / 496.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1202, allocations: 0 / 496.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1202, allocations: 0 / 496.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.1202, allocations: 0 / 496.1 MB, free: 15.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001907/0.1221, allocations: 1.118 MB / 497.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1222, allocations: 11.89 kB / 497.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.069e-05/0.1223, allocations: 78.7 kB / 497.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.1224, allocations: 88.38 kB / 497.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008744/0.1233, allocations: 0.5902 MB / 497.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.1233, allocations: 33 kB / 498 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.1234, allocations: 47.95 kB / 498 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000848/0.1243, allocations: 439.8 kB / 498.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1243, allocations: 0 / 498.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.1243, allocations: 16 kB / 498.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.1243, allocations: 8 kB / 498.5 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.1251, allocations: 315.7 kB / 498.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002709/0.1278, allocations: 1.762 MB / 0.4888 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008338/0.1287, allocations: 302.8 kB / 0.4891 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.129, allocations: 109.7 kB / 0.4892 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.129, allocations: 8.016 kB / 0.4892 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.1295, allocations: 199.1 kB / 0.4894 GB, free: 10.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.254e-06/0.1295, allocations: 0 / 0.4894 GB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001624/0.1311, allocations: 0.5965 MB / 0.49 GB, free: 9.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.1311, allocations: 59.34 kB / 0.49 GB, free: 9.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.1323, allocations: 0.926 MB / 0.4909 GB, free: 8.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.1324, allocations: 29.7 kB / 0.491 GB, free: 8.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1327, allocations: 356.5 kB / 0.4913 GB, free: 8.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.112e-05/0.1328, allocations: 95.16 kB / 0.4914 GB, free: 8.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.1329, allocations: 74.08 kB / 0.4915 GB, free: 8.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.1331, allocations: 382.8 kB / 0.4918 GB, free: 7.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.1335, allocations: 124.7 kB / 0.492 GB, free: 7.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003997/0.1339, allocations: 196 kB / 0.4921 GB, free: 7.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.1346, allocations: 341.6 kB / 0.4925 GB, free: 6.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1346, allocations: 0 / 0.4925 GB, free: 6.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001135/0.1357, allocations: 0.5133 MB / 0.493 GB, free: 6.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/0.1358, allocations: 41.64 kB / 0.493 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1358, allocations: 0 / 0.493 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.1361, allocations: 60.81 kB / 0.4931 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1364, allocations: 75.89 kB / 0.4931 GB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001916/0.1383, allocations: 1.803 MB / 0.4949 GB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.1386, allocations: 51.7 kB / 0.495 GB, free: 4.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.31e-05/0.1386, allocations: 19.94 kB / 0.495 GB, free: 4.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003467/0.139, allocations: 262.1 kB / 0.4952 GB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.1391, allocations: 67.56 kB / 0.4953 GB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.14, allocations: 404.1 kB / 0.4957 GB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.14, allocations: 7.938 kB / 0.4957 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.14, allocations: 0 / 0.4957 GB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.14, allocations: 7.969 kB / 0.4957 GB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.1406, allocations: 0.5401 MB / 0.4962 GB, free: 2.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1406, allocations: 3.938 kB / 0.4962 GB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.1409, allocations: 43.95 kB / 0.4963 GB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001913/0.1411, allocations: 65 kB / 0.4963 GB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1411, allocations: 4 kB / 0.4963 GB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001748/0.1428, allocations: 1.806 MB / 0.4981 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1428, allocations: 3.984 kB / 0.4981 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.1441, allocations: 0.5529 MB / 0.4986 GB, free: 276 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.1443, allocations: 164.6 kB / 0.4988 GB, free: 92 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.1443, allocations: 8 kB / 0.4988 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.1445, allocations: 19.98 kB / 0.4988 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.1446, allocations: 27.89 kB / 0.4988 GB, free: 36 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1447, allocations: 12 kB / 0.4989 GB, free: 24 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008689/0.1455, allocations: 0.6631 MB / 0.4995 GB, free: 15.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1455, allocations: 0 / 0.4995 GB, free: 15.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005304/0.1461, allocations: 131.7 kB / 0.4996 GB, free: 15.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003759/0.1498, allocations: 1.588 MB / 0.5012 GB, free: 13.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.151, allocations: 474.3 kB / 0.5016 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.151, allocations: 0 / 0.5016 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005168/0.1515, allocations: 266.8 kB / 0.5019 GB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.1521, allocations: 98.78 kB / 0.502 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.1621, allocations: 6.304 MB / 0.5081 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.1628, allocations: 0.9401 MB / 0.5091 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002552/0.163, allocations: 84.22 kB / 0.5091 GB, free: 5.543 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.1634, allocations: 239.4 kB / 0.5094 GB, free: 5.309 MB / 382.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1634, allocations: 0 / 0.5094 GB, free: 5.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2372/0.4006, allocations: 13.68 MB / 0.5227 GB, free: 34.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.61, allocations: 9.344 kB / 0.5227 GB, free: 34.93 MB / 382.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.528397786896676] Failed to read output from testmodel.py, exit status != 0: 13.78596765594557 13.781707685 13.658678661 Calling exit ...