Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.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.0008405/0.0008405, allocations: 80.75 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.0009099/0.0009099, allocations: 181 kB / 23.36 MB, free: 1.133 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.9364/0.9364, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.02558/0.02558, allocations: 6.498 MB / 266.8 MB, free: 6.508 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: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.362e-05, allocations: 2.312 kB / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003525/0.003539, allocations: 3.749 MB / 289 MB, free: 220 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.105/0.1085, allocations: 1.998 MB / 291 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.1088, allocations: 12.12 kB / 291 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004067/0.1092, allocations: 209.2 kB / 291.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.1097, allocations: 295.8 kB / 291.5 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.1104, allocations: 417.9 kB / 291.9 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.111, allocations: 0.6799 MB / 292.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.1112, allocations: 168.1 kB / 292.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004634/0.1117, allocations: 399.2 kB / 293.2 MB, free: 18.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.112, allocations: 239.6 kB / 293.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.588e-05/0.1121, allocations: 57.06 kB / 293.5 MB, free: 18.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1122, allocations: 121.4 kB / 293.6 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.1124, allocations: 219.4 kB / 293.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1125, allocations: 213.9 kB / 294 MB, free: 18.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005409/0.1131, allocations: 0.5858 MB / 294.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1131, allocations: 0 / 294.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1131, allocations: 2 kB / 294.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1131, allocations: 0 / 294.6 MB, free: 17.89 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009774/0.1141, allocations: 1.007 MB / 295.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.676e-05/0.1141, allocations: 9.094 kB / 295.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1142, allocations: 82.28 kB / 295.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.1146, allocations: 400.7 kB / 296.1 MB, free: 16.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.1146, allocations: 30.59 kB / 296.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.1147, allocations: 48.75 kB / 296.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.115, allocations: 360.1 kB / 296.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.115, allocations: 2.969 kB / 296.5 MB, free: 16.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.115, allocations: 19.56 kB / 296.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1151, allocations: 11.5 kB / 296.5 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1152, allocations: 94.97 kB / 296.6 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.1163, allocations: 1.088 MB / 297.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1165, allocations: 164.5 kB / 297.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.148e-05/0.1166, allocations: 40.12 kB / 297.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1166, allocations: 10.8 kB / 297.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.1167, allocations: 108.8 kB / 298 MB, free: 15.9 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.553e-06/0.1167, allocations: 0 / 298 MB, free: 15.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0004757/0.1172, allocations: 280.3 kB / 298.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.1172, allocations: 85.58 kB / 298.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.1177, allocations: 0.6101 MB / 299 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.1177, allocations: 32.92 kB / 299 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1178, allocations: 259.9 kB / 299.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.138e-05/0.1178, allocations: 103.1 kB / 299.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.029e-05/0.1179, allocations: 76.12 kB / 299.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.118, allocations: 382.4 kB / 299.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.118, allocations: 68.91 kB / 299.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.1181, allocations: 171.6 kB / 300.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001493/0.1183, allocations: 197.7 kB / 300.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1183, allocations: 0 / 300.3 MB, free: 14.51 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003044/0.1186, allocations: 318.2 kB / 300.6 MB, free: 14.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1186, allocations: 34.16 kB / 300.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1186, allocations: 1.922 kB / 300.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.1188, allocations: 63.53 kB / 300.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1189, allocations: 73.08 kB / 300.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/0.1195, allocations: 1.547 MB / 302.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1196, allocations: 45.64 kB / 302.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.1197, allocations: 12.41 kB / 302.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001115/0.1198, allocations: 148.9 kB / 302.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.429e-05/0.1199, allocations: 174.1 kB / 302.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001282/0.12, allocations: 196 kB / 302.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.12, allocations: 0 / 302.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0002598/0.1202, allocations: 307 kB / 303.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.1203, allocations: 38.39 kB / 303.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.775e-06/0.1203, allocations: 4.031 kB / 303.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000111/0.1204, allocations: 62.59 kB / 303.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1205, allocations: 67.69 kB / 303.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005065/0.121, allocations: 1.557 MB / 304.9 MB, free: 10.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1211, allocations: 35.2 kB / 304.9 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.1211, allocations: 12.03 kB / 304.9 MB, free: 10.74 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 (iceP.tokgFuel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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 6.627e-05/0.1212, allocations: 209.6 kB / 305.1 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1212, allocations: 42 kB / 305.2 MB, free: 10.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1215, allocations: 227.6 kB / 305.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1215, allocations: 4.391 kB / 305.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.31e-07/0.1215, allocations: 0 / 305.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1215, allocations: 6.641 kB / 305.4 MB, free: 10.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.1219, allocations: 0.5211 MB / 305.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1219, allocations: 0 / 305.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.122, allocations: 43.53 kB / 306 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.1221, allocations: 52.52 kB / 306 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.1222, allocations: 10.75 kB / 306 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005164/0.1227, allocations: 1.571 MB / 307.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1227, allocations: 0 / 307.6 MB, free: 8.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1229, allocations: 332.3 kB / 307.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.123, allocations: 75.8 kB / 308 MB, free: 8.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.123, allocations: 14.16 kB / 308 MB, free: 8.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1231, allocations: 22.97 kB / 308 MB, free: 8.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1232, allocations: 23.61 kB / 308.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-06/0.1232, allocations: 2.375 kB / 308.1 MB, free: 8.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1234, allocations: 292.1 kB / 308.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1234, allocations: 0 / 308.3 MB, free: 8.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004468/0.1238, allocations: 230.7 kB / 308.6 MB, free: 8.031 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceP.inertia.w,iceP.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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.001511/0.1254, allocations: 0.7837 MB / 309.4 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.1258, allocations: 0.6713 MB / 310 MB, free: 7.277 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.1258, allocations: 10.91 kB / 310 MB, free: 7.273 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1259, allocations: 190.8 kB / 310.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.1262, allocations: 113.5 kB / 310.3 MB, free: 7.062 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.1273, allocations: 1.122 MB / 311.5 MB, free: 6.316 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.545e-05/0.1274, allocations: 170.5 kB / 311.6 MB, free: 6.188 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.1275, allocations: 64.88 kB / 311.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.1277, allocations: 132.2 kB / 311.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1277, allocations: 0 / 311.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of Templates: time 0.008725/0.1364, allocations: 8.235 MB / 320 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6636999170295894]