Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.000897/0.000897, allocations: 80.88 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.0009658/0.0009658, 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.9146/0.9146, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.02689/0.02689, allocations: 6.499 MB / 266.8 MB, free: 6.492 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.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 285.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.546e-05, allocations: 2.312 kB / 285.3 MB, free: 3.965 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceP): time 0.003579/0.003595, allocations: 3.75 MB / 289 MB, free: 196 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09991/0.1035, allocations: 1.992 MB / 291 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.1038, allocations: 10.84 kB / 291 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004208/0.1042, allocations: 212.7 kB / 291.2 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.1047, allocations: 297.8 kB / 291.5 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00064/0.1054, allocations: 411.3 kB / 291.9 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.106, allocations: 0.6857 MB / 292.6 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1062, allocations: 171 kB / 292.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.1066, allocations: 388.4 kB / 293.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1069, allocations: 247 kB / 293.4 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.107, allocations: 56.53 kB / 293.5 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.1071, allocations: 114 kB / 293.6 MB, free: 18.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1073, allocations: 226.1 kB / 293.8 MB, free: 18.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1074, allocations: 208.9 kB / 294 MB, free: 18.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.108, allocations: 0.5946 MB / 294.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.108, allocations: 1.062 kB / 294.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.108, allocations: 0 / 294.6 MB, free: 17.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.108, allocations: 0 / 294.6 MB, free: 17.88 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.001015/0.109, allocations: 1.006 MB / 295.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.763e-05/0.109, allocations: 10.41 kB / 295.6 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1092, allocations: 77.55 kB / 295.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1096, allocations: 402.1 kB / 296.1 MB, free: 16.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1096, allocations: 30.41 kB / 296.1 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.1096, allocations: 44.94 kB / 296.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004248/0.1101, allocations: 367.1 kB / 296.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.1101, allocations: 5.703 kB / 296.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.1101, allocations: 15.84 kB / 296.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.1101, allocations: 10.69 kB / 296.5 MB, free: 16.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1103, allocations: 101.6 kB / 296.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1118, allocations: 1.079 MB / 297.7 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.112, allocations: 162.7 kB / 297.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.49e-05/0.1121, allocations: 43.44 kB / 297.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.1121, allocations: 7.016 kB / 297.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/0.1122, allocations: 117.6 kB / 298.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 1.483e-06/0.1122, allocations: 0 / 298.1 MB, free: 15.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005228/0.1128, allocations: 273.3 kB / 298.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.1128, allocations: 86.52 kB / 298.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.1133, allocations: 0.6047 MB / 299 MB, free: 15.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1133, allocations: 32.8 kB / 299 MB, free: 15.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1134, allocations: 268.7 kB / 299.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1135, allocations: 98.77 kB / 299.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.643e-05/0.1135, allocations: 79.58 kB / 299.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.682e-05/0.1136, allocations: 379 kB / 299.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.1137, allocations: 72.56 kB / 299.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.1138, allocations: 166.6 kB / 300.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1139, allocations: 198.3 kB / 300.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1139, allocations: 1.375 kB / 300.3 MB, free: 14.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003074/0.1142, allocations: 323.1 kB / 300.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1143, allocations: 35.56 kB / 300.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1143, allocations: 0.875 kB / 300.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.1144, allocations: 55.48 kB / 300.7 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1146, allocations: 73.61 kB / 300.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006265/0.1152, allocations: 1.552 MB / 302.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.1153, allocations: 48.22 kB / 302.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.1154, allocations: 6.812 kB / 302.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001241/0.1155, allocations: 155.1 kB / 302.5 MB, free: 12.67 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.135e-05/0.1156, allocations: 165.8 kB / 302.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001276/0.1157, allocations: 195.4 kB / 302.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.032e-06/0.1157, allocations: 1.375 kB / 302.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0002664/0.116, allocations: 310.8 kB / 303.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.116, allocations: 34.23 kB / 303.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.116, allocations: 2.625 kB / 303.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/0.1161, allocations: 67.33 kB / 303.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.1162, allocations: 69.66 kB / 303.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005143/0.1167, allocations: 1.554 MB / 304.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.1169, allocations: 37.58 kB / 304.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1169, allocations: 11.53 kB / 304.9 MB, free: 10.7 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.737e-05/0.1169, allocations: 205.4 kB / 305.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.117, allocations: 47.23 kB / 305.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.1172, allocations: 228.1 kB / 305.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1172, allocations: 2.75 kB / 305.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1172, allocations: 0 / 305.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1172, allocations: 4.516 kB / 305.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.1177, allocations: 0.5218 MB / 305.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1177, allocations: 0 / 305.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.1178, allocations: 43.55 kB / 306 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.1179, allocations: 56.52 kB / 306 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.1179, allocations: 6.734 kB / 306 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005199/0.1184, allocations: 1.578 MB / 307.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1184, allocations: 1.125 kB / 307.6 MB, free: 8.473 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.1187, allocations: 336 kB / 307.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.1188, allocations: 71.14 kB / 308 MB, free: 8.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1188, allocations: 10.44 kB / 308 MB, free: 8.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1189, allocations: 19.17 kB / 308 MB, free: 8.18 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.119, allocations: 24.08 kB / 308.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.119, allocations: 10.89 kB / 308.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.00022/0.1192, allocations: 282.6 kB / 308.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1192, allocations: 0 / 308.4 MB, free: 8.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004755/0.1197, allocations: 231.3 kB / 308.6 MB, free: 7.984 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.001497/0.1212, allocations: 0.7938 MB / 309.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.1216, allocations: 0.6775 MB / 310.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.1216, allocations: 6 kB / 310.1 MB, free: 7.215 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.1217, allocations: 201.8 kB / 310.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.122, allocations: 82.52 kB / 310.3 MB, free: 7.016 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1232, allocations: 1.122 MB / 311.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.14e-05/0.1233, allocations: 172 kB / 311.6 MB, free: 6.141 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001311/0.1234, allocations: 67.25 kB / 311.7 MB, free: 6.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1236, allocations: 130.9 kB / 311.8 MB, free: 6 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1236, allocations: 0 / 311.8 MB, free: 6 MB / 266.7 MB Notification: Performance of Templates: time 0.009357/0.1329, allocations: 8.242 MB / 320.1 MB, free: 13.86 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceP.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7473117178305984]