Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0008822/0.0008822, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002228, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0009586/0.0009586, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00101/0.001969, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.068/1.068, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09726/1.165, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.02614/0.02614, allocations: 6.481 MB / 250.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00397/0.03011, allocations: 2.48 MB / 252.9 MB, free: 5.973 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-main/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_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.52e-07/9.52e-07, allocations: 0 / 254.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.126e-06/9.078e-06, allocations: 2.312 kB / 254.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.003624/0.003633, allocations: 3.88 MB / 258.1 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.005716, allocations: 2.006 MB / 260.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001801/0.005896, allocations: 11.94 kB / 260.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.006191, allocations: 226.7 kB / 260.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.006604, allocations: 302.3 kB / 260.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.007113, allocations: 379 kB / 261 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.007674, allocations: 0.6821 MB / 261.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002737/0.007948, allocations: 239.7 kB / 261.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.008386, allocations: 500 kB / 262.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.008629, allocations: 251.2 kB / 262.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.127e-05/0.00868, allocations: 64 kB / 262.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.00881, allocations: 119.9 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.008938, allocations: 199.4 kB / 263 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.009063, allocations: 175.5 kB / 263.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.009539, allocations: 0.5798 MB / 263.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.009553, allocations: 4 kB / 263.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.009554, allocations: 0 / 263.8 MB, free: 11.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.009571, allocations: 4 kB / 263.8 MB, free: 11.08 MB / 266.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.001086/0.01066, allocations: 1.169 MB / 264.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.01068, allocations: 15.98 kB / 264.9 MB, free: 9.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.02e-05/0.01077, allocations: 88.86 kB / 265 MB, free: 9.777 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.01114, allocations: 402.1 kB / 265.4 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.01117, allocations: 41.36 kB / 265.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.01121, allocations: 52.33 kB / 265.5 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.01174, allocations: 372.3 kB / 265.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.01176, allocations: 0 / 265.9 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.01178, allocations: 16 kB / 265.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.01179, allocations: 12 kB / 265.9 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.01196, allocations: 114.9 kB / 266 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.01341, allocations: 1.156 MB / 267.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.01365, allocations: 168.5 kB / 267.3 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.01371, allocations: 48.78 kB / 267.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.01374, allocations: 7.984 kB / 267.4 MB, free: 7.312 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.01391, allocations: 123.2 kB / 267.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.01391, allocations: 0 / 267.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005276/0.01444, allocations: 289 kB / 267.8 MB, free: 6.887 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.01447, allocations: 55.41 kB / 267.8 MB, free: 6.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004626/0.01493, allocations: 0.6109 MB / 268.5 MB, free: 6.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.01495, allocations: 29.7 kB / 268.5 MB, free: 6.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.01509, allocations: 282.2 kB / 268.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.01515, allocations: 107.1 kB / 268.9 MB, free: 5.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.427e-05/0.01523, allocations: 82.14 kB / 268.9 MB, free: 5.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.01535, allocations: 386.6 kB / 269.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.01542, allocations: 62.69 kB / 269.4 MB, free: 5.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.73e-05/0.01552, allocations: 137.5 kB / 269.5 MB, free: 5.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.01569, allocations: 198.9 kB / 269.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01569, allocations: 0 / 269.7 MB, free: 4.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003446/0.01604, allocations: 328.2 kB / 270 MB, free: 4.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/0.01608, allocations: 33.7 kB / 270.1 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.01609, allocations: 4 kB / 270.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.01628, allocations: 59.86 kB / 270.1 MB, free: 4.395 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.01645, allocations: 79.89 kB / 270.2 MB, free: 4.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.0176, allocations: 1.561 MB / 271.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.01783, allocations: 43.72 kB / 271.8 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.01785, allocations: 16.03 kB / 271.8 MB, free: 2.609 MB / 266.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 (ice.tokgFuel.local_reset,stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1) * 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.0001438/0.018, allocations: 140.5 kB / 272 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.01806, allocations: 47.89 kB / 272 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003661/0.01842, allocations: 220.1 kB / 272.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.01843, allocations: 4 kB / 272.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01843, allocations: 0 / 272.2 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.01844, allocations: 3.938 kB / 272.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003912/0.01883, allocations: 281.4 kB / 272.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01883, allocations: 4 kB / 272.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.01903, allocations: 51.91 kB / 272.6 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.01912, allocations: 67.5 kB / 272.6 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.01932, allocations: 67.73 kB / 272.7 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.01935, allocations: 4 kB / 272.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008766/0.02022, allocations: 1.569 MB / 274.3 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.02022, allocations: 0 / 274.3 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1217/0.142, allocations: 269.4 kB / 274.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.142, allocations: 6.812 kB / 274.5 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1422, allocations: 19.27 kB / 274.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.1423, allocations: 31.09 kB / 274.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.1423, allocations: 9.391 kB / 274.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004047/0.1427, allocations: 286.3 kB / 274.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1427, allocations: 1.656 kB / 274.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005124/0.1432, allocations: 144 kB / 275 MB, free: 13.44 MB / 266.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.002135/0.1454, allocations: 0.8638 MB / 275.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.1459, allocations: 373.9 kB / 276.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.004e-05/0.146, allocations: 10.69 kB / 276.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.1462, allocations: 213 kB / 276.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.1465, allocations: 122.8 kB / 276.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003708/0.1502, allocations: 1.208 MB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/0.1504, allocations: 176.3 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.1506, allocations: 57.2 kB / 278 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.1507, allocations: 127.6 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of SimCode: time 1.392e-06/0.1507, allocations: 0 / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of Templates: time 0.01287/0.1636, allocations: 7.361 MB / 285.5 MB, free: 10.83 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7552118012681603]