Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9149/0.9149, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.02552/0.02552, allocations: 6.463 MB / 265.7 MB, free: 6.855 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.777e-06/3.777e-06, allocations: 0 / 391.6 MB, free: 4.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.658e-05, allocations: 2.281 kB / 391.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004939/0.004965, allocations: 3.684 MB / 395.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.008141, allocations: 1.897 MB / 397.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003418/0.008483, allocations: 11.94 kB / 397.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004366/0.00892, allocations: 210.8 kB / 397.4 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007252/0.009645, allocations: 294.3 kB / 397.7 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00091/0.01055, allocations: 386.7 kB / 398.1 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009113/0.01147, allocations: 0.6938 MB / 398.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004438/0.01191, allocations: 225.8 kB / 399 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006032/0.01251, allocations: 414.9 kB / 399.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.01289, allocations: 263.2 kB / 399.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.281e-05/0.01297, allocations: 60 kB / 399.7 MB, free: 12.38 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.01319, allocations: 127.8 kB / 399.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.01337, allocations: 235.2 kB / 400.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.01355, allocations: 227.3 kB / 400.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000876/0.01442, allocations: 0.9384 MB / 401.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01443, allocations: 0 / 401.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.01443, allocations: 0 / 401.2 MB, free: 10.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.01444, allocations: 0 / 401.2 MB, free: 10.86 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001516/0.01595, allocations: 1.101 MB / 402.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.01601, allocations: 8.031 kB / 402.4 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/0.01609, allocations: 86.7 kB / 402.4 MB, free: 9.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.01621, allocations: 96.33 kB / 402.5 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005944/0.01681, allocations: 0.5527 MB / 403.1 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.01684, allocations: 37.38 kB / 403.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.0169, allocations: 56.11 kB / 403.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006023/0.0175, allocations: 487.8 kB / 403.7 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.01752, allocations: 0 / 403.7 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/0.01754, allocations: 23.92 kB / 403.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.01755, allocations: 12 kB / 403.7 MB, free: 8.324 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005146/0.01807, allocations: 355.7 kB / 404 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.01979, allocations: 1.646 MB / 405.7 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005239/0.02031, allocations: 330.8 kB / 406 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.0205, allocations: 132.8 kB / 406.1 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.02053, allocations: 0 / 406.1 MB, free: 5.793 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.02082, allocations: 207.8 kB / 406.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 1.403e-06/0.02082, allocations: 0 / 406.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001013/0.02183, allocations: 0.5641 MB / 406.9 MB, free: 5.004 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.02187, allocations: 55.41 kB / 407 MB, free: 4.938 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/0.02261, allocations: 0.9652 MB / 407.9 MB, free: 3.961 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.02263, allocations: 29.7 kB / 407.9 MB, free: 3.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.02284, allocations: 376.4 kB / 408.3 MB, free: 3.555 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.0229, allocations: 115 kB / 408.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/0.02299, allocations: 78.19 kB / 408.5 MB, free: 3.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.02307, allocations: 322 kB / 408.8 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.0233, allocations: 166.6 kB / 409 MB, free: 2.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.02354, allocations: 245.2 kB / 409.2 MB, free: 2.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.02396, allocations: 364.2 kB / 409.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.02396, allocations: 0 / 409.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006555/0.02462, allocations: 0.5674 MB / 410.1 MB, free: 1.621 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.02465, allocations: 33.69 kB / 410.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.02466, allocations: 4 kB / 410.2 MB, free: 1.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.02484, allocations: 60.81 kB / 410.2 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.02501, allocations: 71.89 kB / 410.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1482/0.1732, allocations: 1.69 MB / 412 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.1735, allocations: 59.11 kB / 412.1 MB, free: 30.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.1736, allocations: 14.98 kB / 412.1 MB, free: 30.44 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.0003001/0.1739, allocations: 271.7 kB / 412.3 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.174, allocations: 76.03 kB / 412.4 MB, free: 30.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006958/0.1746, allocations: 447.5 kB / 412.8 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1747, allocations: 5.125 kB / 412.9 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.1747, allocations: 0 / 412.9 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1747, allocations: 3.406 kB / 412.9 MB, free: 30.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.1751, allocations: 492.5 kB / 413.3 MB, free: 30.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1751, allocations: 0.75 kB / 413.3 MB, free: 30.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.1753, allocations: 51.75 kB / 413.4 MB, free: 30.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001458/0.1754, allocations: 63.28 kB / 413.5 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.1755, allocations: 7.953 kB / 413.5 MB, free: 30.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009284/0.1764, allocations: 1.697 MB / 415.2 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1764, allocations: 6.125 kB / 415.2 MB, free: 28.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.1772, allocations: 0.5942 MB / 415.8 MB, free: 28.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.971e-05/0.1773, allocations: 91.81 kB / 415.8 MB, free: 28.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.1773, allocations: 7.281 kB / 415.9 MB, free: 28.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.1775, allocations: 25.17 kB / 415.9 MB, free: 28.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.1776, allocations: 35.84 kB / 415.9 MB, free: 28.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1776, allocations: 10 kB / 415.9 MB, free: 28.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006201/0.1782, allocations: 0.6788 MB / 416.6 MB, free: 28.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1782, allocations: 0 / 416.6 MB, free: 28.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.1786, allocations: 143.4 kB / 416.7 MB, free: 28.1 MB / 330.7 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.001875/0.1805, allocations: 1.68 MB / 418.4 MB, free: 27.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008099/0.1813, allocations: 0.5296 MB / 419 MB, free: 26.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1813, allocations: 3.938 kB / 419 MB, free: 26.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.1817, allocations: 274.8 kB / 419.2 MB, free: 26.74 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.1821, allocations: 98.48 kB / 419.3 MB, free: 26.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.1902, allocations: 6.651 MB / 426 MB, free: 23.48 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1906, allocations: 367.9 kB / 426.3 MB, free: 23.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.1908, allocations: 82.28 kB / 426.4 MB, free: 23.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.191, allocations: 260.4 kB / 426.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.633e-06/0.191, allocations: 1.188 kB / 426.7 MB, free: 23.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.2237, allocations: 15.24 MB / 441.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.143, allocations: 7.906 kB / 441.9 MB, free: 12.74 MB / 330.7 MB " [Timeout remaining time 652] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.929720871150494] Failed to read output from testmodel.py, exit status != 0: 8.257228066213429 8.263856196 8.247454482 Calling exit ...