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.001318/0.001318, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001425/0.001425, allocations: 219.1 kB / 23.01 MB, free: 4.609 MB / 14.72 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 1.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.04158/0.04158, allocations: 8.53 MB / 321.7 MB, free: 10.59 MB / 254.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.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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 68.98 kB / 448.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.109, allocations: 55.4 MB / 0.4918 GB, free: 7.902 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006176/0.1152, allocations: 3.977 MB / 0.4957 GB, free: 3.898 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.1186, allocations: 1.944 MB / 0.4976 GB, free: 1.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.1189, allocations: 15.88 kB / 0.4976 GB, free: 1.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.1195, allocations: 210.8 kB / 0.4978 GB, free: 1.727 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.1202, allocations: 290.5 kB / 0.4981 GB, free: 1.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008353/0.121, allocations: 378.8 kB / 0.4984 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008134/0.1218, allocations: 0.6784 MB / 0.4991 GB, free: 400 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.1223, allocations: 241.8 kB / 0.4993 GB, free: 152 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000443/0.1227, allocations: 295 kB / 0.4996 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.1232, allocations: 346.5 kB / 0.4999 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.647e-05/0.1233, allocations: 64 kB / 0.5 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1235, allocations: 127.8 kB / 0.5001 GB, free: 15.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1237, allocations: 231.2 kB / 0.5004 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003338/0.124, allocations: 369.8 kB / 0.5007 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.1251, allocations: 0.9415 MB / 0.5016 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1251, allocations: 0 / 0.5016 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1251, allocations: 4 kB / 0.5016 GB, free: 13.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1251, allocations: 0 / 0.5016 GB, free: 13.79 MB / 382.1 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.001853/0.127, allocations: 1.093 MB / 0.5027 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.127, allocations: 8.031 kB / 0.5027 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1272, allocations: 100.3 kB / 0.5028 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000829/0.128, allocations: 0.5417 MB / 0.5033 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.883e-05/0.1281, allocations: 40.94 kB / 0.5034 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.99e-05/0.1281, allocations: 55.94 kB / 0.5034 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.1291, allocations: 487.8 kB / 0.5039 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1291, allocations: 4 kB / 0.5039 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.279e-05/0.1291, allocations: 20 kB / 0.5039 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1291, allocations: 8 kB / 0.5039 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.13, allocations: 351.7 kB / 0.5043 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.1328, allocations: 1.79 MB / 0.506 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.1336, allocations: 327.2 kB / 0.5063 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.1339, allocations: 132.7 kB / 0.5064 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.134, allocations: 4 kB / 0.5064 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.1345, allocations: 203.2 kB / 0.5066 GB, free: 8.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 2.265e-06/0.1345, allocations: 0 / 0.5066 GB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001725/0.1362, allocations: 0.5758 MB / 0.5072 GB, free: 7.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.1362, allocations: 55.41 kB / 0.5073 GB, free: 7.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1374, allocations: 0.9495 MB / 0.5082 GB, free: 6.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/0.1375, allocations: 29.7 kB / 0.5082 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00033/0.1378, allocations: 376.5 kB / 0.5086 GB, free: 6.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1379, allocations: 111.1 kB / 0.5087 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.138, allocations: 86.12 kB / 0.5088 GB, free: 6.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.1382, allocations: 382.8 kB / 0.5091 GB, free: 5.883 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/0.1386, allocations: 140.7 kB / 0.5093 GB, free: 5.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.139, allocations: 211.1 kB / 0.5095 GB, free: 5.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.1398, allocations: 360.1 kB / 0.5098 GB, free: 5.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1398, allocations: 3.938 kB / 0.5098 GB, free: 5.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001158/0.1409, allocations: 0.5384 MB / 0.5103 GB, free: 4.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.141, allocations: 33.7 kB / 0.5104 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.141, allocations: 0 / 0.5104 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.1413, allocations: 68.91 kB / 0.5104 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.1416, allocations: 71.89 kB / 0.5105 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.1435, allocations: 1.711 MB / 0.5122 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.1438, allocations: 51.78 kB / 0.5122 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1438, allocations: 12 kB / 0.5122 GB, free: 2.508 MB / 382.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: 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.0003536/0.1441, allocations: 277.7 kB / 0.5125 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.1442, allocations: 67.53 kB / 0.5126 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.1453, allocations: 442.2 kB / 0.513 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1453, allocations: 4 kB / 0.513 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1453, allocations: 0 / 0.513 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1453, allocations: 0 / 0.513 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.1459, allocations: 0.5547 MB / 0.5135 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1459, allocations: 0 / 0.5135 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002525/0.1462, allocations: 47.89 kB / 0.5136 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.1464, allocations: 64.81 kB / 0.5136 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.1464, allocations: 4 kB / 0.5136 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2065/0.3529, allocations: 1.706 MB / 0.5153 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3529, allocations: 3.234 kB / 0.5153 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.3543, allocations: 0.5916 MB / 0.5159 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.3545, allocations: 85.8 kB / 0.516 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/0.3545, allocations: 9.688 kB / 0.516 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3548, allocations: 26.8 kB / 0.516 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.3548, allocations: 33.59 kB / 0.516 GB, free: 25.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3549, allocations: 3.938 kB / 0.516 GB, free: 25.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007024/0.3556, allocations: 0.6763 MB / 0.5167 GB, free: 25.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3556, allocations: 0 / 0.5167 GB, free: 25.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.3561, allocations: 142.8 kB / 0.5168 GB, free: 25.59 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: 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.002426/0.3585, allocations: 0.6028 MB / 0.5174 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.3596, allocations: 0.4964 MB / 0.5179 GB, free: 25.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3596, allocations: 2.969 kB / 0.5179 GB, free: 25.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.3601, allocations: 279.5 kB / 0.5182 GB, free: 25.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.3606, allocations: 96.25 kB / 0.5183 GB, free: 25.15 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.3626, allocations: 1.468 MB / 0.5197 GB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.363, allocations: 0.9561 MB / 0.5206 GB, free: 23.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.3631, allocations: 41.48 kB / 0.5207 GB, free: 23.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3631, allocations: 0 / 0.5207 GB, free: 23.84 MB / 382.1 MB Notification: Performance of Templates: time 0.01713/0.3802, allocations: 11.42 MB / 0.5318 GB, free: 20.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (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 & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.044908066047356] Failed to read output from testmodel.py, exit status != 0: 0.38795972312800586 0.399699764 0.272141721 Calling exit ...