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.001582/0.001582, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002028/0.002028, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.591/1.591, allocations: 230.6 MB / 256 MB, free: 7.777 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.04565/0.04565, allocations: 8.542 MB / 321 MB, free: 10.39 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.002442/0.002442, allocations: 71.91 kB / 447.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1526, allocations: 55.42 MB / 0.491 GB, free: 7.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006511/0.1591, allocations: 3.671 MB / 0.4946 GB, free: 3.887 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003513/0.1627, allocations: 1.886 MB / 0.4964 GB, free: 1.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003853/0.163, allocations: 15.88 kB / 0.4964 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.1636, allocations: 206.8 kB / 0.4966 GB, free: 1.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008338/0.1645, allocations: 294.5 kB / 0.4969 GB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/0.1654, allocations: 375 kB / 0.4973 GB, free: 1.125 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000878/0.1663, allocations: 0.6784 MB / 0.4979 GB, free: 452 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005696/0.1669, allocations: 229.7 kB / 0.4982 GB, free: 216 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.1674, allocations: 290.8 kB / 0.4984 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004399/0.1678, allocations: 318.5 kB / 0.4987 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.583e-05/0.1679, allocations: 60 kB / 0.4988 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.1682, allocations: 131.9 kB / 0.4989 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.1684, allocations: 227.2 kB / 0.4991 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003453/0.1688, allocations: 282.3 kB / 0.4994 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1699, allocations: 0.9493 MB / 0.5003 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1699, allocations: 0 / 0.5003 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1699, allocations: 0 / 0.5003 GB, free: 13.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1699, allocations: 0 / 0.5003 GB, free: 13.97 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.002022/0.1719, allocations: 1.101 MB / 0.5014 GB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.172, allocations: 12.03 kB / 0.5014 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.1721, allocations: 92.33 kB / 0.5015 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000899/0.173, allocations: 0.5495 MB / 0.5021 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.1731, allocations: 48.94 kB / 0.5021 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-05/0.1732, allocations: 51.95 kB / 0.5021 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.1741, allocations: 483.8 kB / 0.5026 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1741, allocations: 0 / 0.5026 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.1742, allocations: 20 kB / 0.5026 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.1742, allocations: 12 kB / 0.5026 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.1751, allocations: 355.7 kB / 0.503 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002635/0.1777, allocations: 1.58 MB / 0.5045 GB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008521/0.1786, allocations: 319.2 kB / 0.5048 GB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/0.1789, allocations: 136.8 kB / 0.505 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.988e-05/0.179, allocations: 4 kB / 0.505 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004973/0.1795, allocations: 195.3 kB / 0.5051 GB, free: 8.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.1795, allocations: 0 / 0.5051 GB, free: 8.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001761/0.1812, allocations: 0.5758 MB / 0.5057 GB, free: 8.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.1813, allocations: 59.41 kB / 0.5058 GB, free: 8.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.1824, allocations: 0.9338 MB / 0.5067 GB, free: 7.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.1825, allocations: 33.7 kB / 0.5067 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/0.1828, allocations: 388.4 kB / 0.5071 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/0.1829, allocations: 99.12 kB / 0.5072 GB, free: 6.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.183, allocations: 82.12 kB / 0.5073 GB, free: 6.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1832, allocations: 378.8 kB / 0.5076 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004038/0.1836, allocations: 178.3 kB / 0.5078 GB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.1841, allocations: 236.8 kB / 0.508 GB, free: 5.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007787/0.1849, allocations: 372 kB / 0.5084 GB, free: 5.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.1849, allocations: 0 / 0.5084 GB, free: 5.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001192/0.186, allocations: 0.5595 MB / 0.5089 GB, free: 4.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.1861, allocations: 33.69 kB / 0.5089 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1861, allocations: 4 kB / 0.5089 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.1864, allocations: 65.03 kB / 0.509 GB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.1867, allocations: 79.83 kB / 0.5091 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.1885, allocations: 1.676 MB / 0.5107 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.1888, allocations: 51.81 kB / 0.5108 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.1889, allocations: 19.98 kB / 0.5108 GB, free: 2.844 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.0003505/0.1892, allocations: 269.6 kB / 0.511 GB, free: 2.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/0.1893, allocations: 71.53 kB / 0.5111 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1904, allocations: 438.1 kB / 0.5115 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1904, allocations: 4 kB / 0.5115 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1904, allocations: 0 / 0.5115 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1904, allocations: 0 / 0.5115 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000521/0.1909, allocations: 428.9 kB / 0.5119 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1909, allocations: 0 / 0.5119 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.1912, allocations: 43.91 kB / 0.512 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001982/0.1914, allocations: 68.75 kB / 0.5121 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1914, allocations: 4 kB / 0.5121 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2701/0.4615, allocations: 1.675 MB / 0.5137 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4615, allocations: 1.688 kB / 0.5137 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.4631, allocations: 0.5876 MB / 0.5143 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.4633, allocations: 86.16 kB / 0.5144 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.4634, allocations: 11.88 kB / 0.5144 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.4637, allocations: 23.31 kB / 0.5144 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.4638, allocations: 31.59 kB / 0.5144 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4638, allocations: 16.36 kB / 0.5144 GB, free: 26.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008502/0.4647, allocations: 0.6675 MB / 0.5151 GB, free: 25.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4647, allocations: 3.531 kB / 0.5151 GB, free: 25.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.4653, allocations: 139.3 kB / 0.5152 GB, free: 25.93 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.002587/0.4679, allocations: 0.652 MB / 0.5159 GB, free: 25.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.4691, allocations: 0.5293 MB / 0.5164 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4691, allocations: 0 / 0.5164 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004929/0.4696, allocations: 275.6 kB / 0.5166 GB, free: 25.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005304/0.4701, allocations: 95.53 kB / 0.5167 GB, free: 25.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.4725, allocations: 1.434 MB / 0.5181 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.4728, allocations: 365.8 kB / 0.5185 GB, free: 24.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002155/0.473, allocations: 72.75 kB / 0.5185 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.4731, allocations: 42.59 kB / 0.5186 GB, free: 24.76 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4731, allocations: 0 / 0.5186 GB, free: 24.76 MB / 382.1 MB Notification: Performance of Templates: time 0.0171/0.4902, allocations: 7.556 MB / 0.526 GB, free: 23.94 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: 5.517238920554519] Failed to read output from testmodel.py, exit status != 0: 0.4999210722744465 0.5147835700000001 0.34176553000000004 Calling exit ...