Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0008681/0.0008681, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.0009473/0.0009473, allocations: 177 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.951/0.951, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.02603/0.02603, allocations: 6.488 MB / 266.8 MB, free: 6.504 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.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075e-05/1.231e-05, allocations: 2.312 kB / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.00383/0.003843, allocations: 3.742 MB / 289 MB, free: 228 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1007/0.1046, allocations: 1.219 MB / 290.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002988/0.1049, allocations: 12.94 kB / 290.2 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.1053, allocations: 202.4 kB / 290.4 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005368/0.1058, allocations: 286.8 kB / 290.7 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.1065, allocations: 369.6 kB / 291.1 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.1071, allocations: 0.6541 MB / 291.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.1073, allocations: 199.1 kB / 291.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.1078, allocations: 386.8 kB / 292.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1081, allocations: 238.4 kB / 292.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.1081, allocations: 54.88 kB / 292.6 MB, free: 18.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.1083, allocations: 124 kB / 292.7 MB, free: 18.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.1084, allocations: 221.5 kB / 292.9 MB, free: 18.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.1086, allocations: 205.3 kB / 293.1 MB, free: 18.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.1091, allocations: 0.5832 MB / 293.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1091, allocations: 0.5625 kB / 293.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1091, allocations: 0 / 293.7 MB, free: 18.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1092, allocations: 0.7188 kB / 293.7 MB, free: 18.34 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.0009924/0.1101, allocations: 0.9838 MB / 294.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.1102, allocations: 10.28 kB / 294.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1103, allocations: 83.17 kB / 294.8 MB, free: 17.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.1107, allocations: 385.9 kB / 295.2 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.1107, allocations: 38.62 kB / 295.2 MB, free: 17.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.772e-05/0.1108, allocations: 49.95 kB / 295.3 MB, free: 17.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.1111, allocations: 328.8 kB / 295.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.1111, allocations: 1.344 kB / 295.6 MB, free: 17.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.1111, allocations: 16.67 kB / 295.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1111, allocations: 10.59 kB / 295.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1113, allocations: 100.2 kB / 295.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1124, allocations: 1.083 MB / 296.8 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1127, allocations: 148.4 kB / 296.9 MB, free: 16.46 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.1127, allocations: 40.41 kB / 297 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1127, allocations: 5.656 kB / 297 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.1129, allocations: 111.1 kB / 297.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.1129, allocations: 2.344 kB / 297.1 MB, free: 16.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004896/0.1134, allocations: 264.2 kB / 297.3 MB, free: 16.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.1134, allocations: 60.94 kB / 297.4 MB, free: 16.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.1138, allocations: 0.5998 MB / 298 MB, free: 16.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.1138, allocations: 32.94 kB / 298 MB, free: 16.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1139, allocations: 260 kB / 298.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.114, allocations: 101.9 kB / 298.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.1141, allocations: 82.67 kB / 298.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.567e-05/0.1141, allocations: 381.2 kB / 298.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-05/0.1142, allocations: 60.16 kB / 298.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.48e-05/0.1142, allocations: 135.3 kB / 299 MB, free: 15.33 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.1144, allocations: 198.4 kB / 299.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1144, allocations: 5.594 kB / 299.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003056/0.1147, allocations: 306.8 kB / 299.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.1147, allocations: 32.45 kB / 299.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1147, allocations: 2.25 kB / 299.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001641/0.1149, allocations: 64.59 kB / 299.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.115, allocations: 70.12 kB / 299.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006379/0.1157, allocations: 1.541 MB / 301.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1158, allocations: 41.88 kB / 301.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.1158, allocations: 8.156 kB / 301.3 MB, free: 13.54 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.721e-05/0.1159, allocations: 141 kB / 301.4 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.116, allocations: 44.06 kB / 301.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1162, allocations: 213.6 kB / 301.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1162, allocations: 7.438 kB / 301.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.1162, allocations: 2.969 kB / 301.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1162, allocations: 5.266 kB / 301.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.1165, allocations: 273.3 kB / 302 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1165, allocations: 0 / 302 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1166, allocations: 41.31 kB / 302 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000114/0.1167, allocations: 52.36 kB / 302 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1167, allocations: 5.469 kB / 302.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005338/0.1172, allocations: 1.581 MB / 303.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1172, allocations: 1.469 kB / 303.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.1175, allocations: 251.1 kB / 303.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1176, allocations: 78.33 kB / 304 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.38e-05/0.1176, allocations: 6.219 kB / 304 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.1177, allocations: 21.91 kB / 304 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.671e-05/0.1177, allocations: 26.56 kB / 304 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.1177, allocations: 4.969 kB / 304 MB, free: 11.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002231/0.1179, allocations: 281.3 kB / 304.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1179, allocations: 1.375 kB / 304.3 MB, free: 11.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000303/0.1183, allocations: 132.6 kB / 304.4 MB, free: 11.39 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.001471/0.1197, allocations: 0.7755 MB / 305.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.12, allocations: 348 kB / 305.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/0.12, allocations: 5.5 kB / 305.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1202, allocations: 201.2 kB / 305.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.1204, allocations: 97.81 kB / 305.8 MB, free: 10.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.1216, allocations: 1.115 MB / 306.9 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.97e-05/0.1217, allocations: 172.8 kB / 307.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1218, allocations: 61.3 kB / 307.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.122, allocations: 115.8 kB / 307.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.122, allocations: 0.5938 kB / 307.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of Templates: time 0.008431/0.1304, allocations: 7.05 MB / 314.3 MB, free: 3.863 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5791468881070614]