Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.0009228/0.0009228, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009646/0.0009646, allocations: 173 kB / 23.36 MB, free: 1.129 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.8586/0.8586, allocations: 177.2 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04116/0.04116, allocations: 6.506 MB / 266.8 MB, free: 6.516 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 285.3 MB, free: 4.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.42e-05, allocations: 6.25 kB / 285.3 MB, free: 4 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00364/0.003654, allocations: 3.75 MB / 289 MB, free: 236 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1003/0.1039, allocations: 1.206 MB / 290.2 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.1042, allocations: 11.25 kB / 290.2 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000447/0.1046, allocations: 211.5 kB / 290.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005158/0.1052, allocations: 283.7 kB / 290.7 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.1057, allocations: 369.2 kB / 291.1 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.1063, allocations: 0.6613 MB / 291.7 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.1066, allocations: 197.8 kB / 291.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004917/0.1071, allocations: 382 kB / 292.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.1073, allocations: 239.9 kB / 292.5 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.137e-05/0.1074, allocations: 58.5 kB / 292.6 MB, free: 18.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1076, allocations: 117.9 kB / 292.7 MB, free: 18.85 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001488/0.1077, allocations: 224.8 kB / 292.9 MB, free: 18.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.1079, allocations: 205.8 kB / 293.1 MB, free: 18.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005299/0.1084, allocations: 0.5824 MB / 293.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1084, allocations: 0 / 293.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1084, allocations: 1.062 kB / 293.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.1084, allocations: 0.9375 kB / 293.7 MB, free: 18.38 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.00106/0.1095, allocations: 0.9845 MB / 294.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.1095, allocations: 10.59 kB / 294.7 MB, free: 17.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.1096, allocations: 82.89 kB / 294.8 MB, free: 17.7 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.11, allocations: 385.6 kB / 295.2 MB, free: 17.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.11, allocations: 31.81 kB / 295.2 MB, free: 17.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.559e-05/0.1101, allocations: 45.53 kB / 295.2 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003342/0.1104, allocations: 334.8 kB / 295.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1104, allocations: 5.781 kB / 295.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1104, allocations: 16.69 kB / 295.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1104, allocations: 9.938 kB / 295.6 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.1106, allocations: 102.3 kB / 295.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.1117, allocations: 1.084 MB / 296.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1119, allocations: 145.5 kB / 296.9 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.112, allocations: 35.84 kB / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.112, allocations: 6.234 kB / 297 MB, free: 16.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001421/0.1121, allocations: 120.2 kB / 297.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.1121, allocations: 0 / 297.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004962/0.1126, allocations: 263.7 kB / 297.3 MB, free: 16.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.1127, allocations: 60.45 kB / 297.4 MB, free: 16.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004606/0.1131, allocations: 0.5918 MB / 298 MB, free: 16.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.1131, allocations: 33.12 kB / 298 MB, free: 16.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.1133, allocations: 267.5 kB / 298.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.1133, allocations: 92.88 kB / 298.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.1134, allocations: 78.59 kB / 298.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.1134, allocations: 388.3 kB / 298.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.301e-05/0.1135, allocations: 60.25 kB / 298.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/0.1136, allocations: 137.7 kB / 299 MB, free: 15.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.1137, allocations: 193.6 kB / 299.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1137, allocations: 8.344 kB / 299.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003201/0.1141, allocations: 307.8 kB / 299.5 MB, free: 15.11 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1141, allocations: 33.41 kB / 299.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1141, allocations: 1 kB / 299.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001732/0.1143, allocations: 66.77 kB / 299.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.1144, allocations: 64.86 kB / 299.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006479/0.1151, allocations: 1.546 MB / 301.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.1152, allocations: 37.83 kB / 301.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.1152, allocations: 11.47 kB / 301.3 MB, free: 13.58 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: 6 (ice.tokgFuel.local_reset,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1) * 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 9.548e-05/0.1153, allocations: 143.5 kB / 301.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.1153, allocations: 42.67 kB / 301.5 MB, free: 13.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.1156, allocations: 214.8 kB / 301.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1156, allocations: 7.375 kB / 301.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.1156, allocations: 4.203 kB / 301.7 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1156, allocations: 6.422 kB / 301.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002529/0.1159, allocations: 271.1 kB / 302 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1159, allocations: 0 / 302 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.116, allocations: 34.64 kB / 302 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001132/0.1161, allocations: 54.52 kB / 302 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1161, allocations: 8 kB / 302.1 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005329/0.1166, allocations: 1.582 MB / 303.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1166, allocations: 2.328 kB / 303.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1169, allocations: 256.6 kB / 303.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.1169, allocations: 78.47 kB / 304 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.117, allocations: 5.375 kB / 304 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.546e-05/0.117, allocations: 17.64 kB / 304 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.1171, allocations: 27.06 kB / 304 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.1171, allocations: 9.234 kB / 304 MB, free: 11.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.1173, allocations: 277.8 kB / 304.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1173, allocations: 0 / 304.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.1176, allocations: 129.5 kB / 304.4 MB, free: 11.43 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: 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.001455/0.1191, allocations: 0.7825 MB / 305.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.1194, allocations: 358 kB / 305.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.1194, allocations: 6.781 kB / 305.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.1195, allocations: 196.4 kB / 305.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1197, allocations: 103.5 kB / 305.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1209, allocations: 1.109 MB / 307 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.83e-05/0.121, allocations: 164.3 kB / 307.1 MB, free: 9.977 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.1211, allocations: 57.19 kB / 307.2 MB, free: 9.945 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.1213, allocations: 116.4 kB / 307.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1213, allocations: 0 / 307.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of Templates: time 0.007929/0.1292, allocations: 7.061 MB / 314.3 MB, free: 3.902 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.720322680193931]