Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.0007614/0.0007614, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001228/0.001989, allocations: 443.8 kB / 10.29 MB, free: 404 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.000786/0.000786, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001093/0.001879, allocations: 475.6 kB / 11.64 MB, free: 2.531 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 0.9594/0.9594, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08928/1.049, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.02506/0.02506, allocations: 6.474 MB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003828/0.02888, allocations: 2.476 MB / 252.9 MB, free: 5.969 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 254.1 MB, free: 4.727 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.397e-05, allocations: 6.25 kB / 254.1 MB, free: 4.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.003757/0.003771, allocations: 3.867 MB / 258 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.006162, allocations: 1.986 MB / 260 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.006431, allocations: 11.94 kB / 260 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.006808, allocations: 222.7 kB / 260.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005486/0.007356, allocations: 310.2 kB / 260.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.007971, allocations: 379.1 kB / 260.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.008576, allocations: 0.6899 MB / 261.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003108/0.008887, allocations: 235.6 kB / 261.8 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005078/0.009395, allocations: 488.1 kB / 262.3 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.009658, allocations: 251.2 kB / 262.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.009716, allocations: 60 kB / 262.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.009868, allocations: 135.8 kB / 262.7 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.01, allocations: 191.4 kB / 262.9 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.01013, allocations: 175.5 kB / 263.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005003/0.01063, allocations: 0.5798 MB / 263.6 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.01064, allocations: 4 kB / 263.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01064, allocations: 0 / 263.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.01065, allocations: 0 / 263.7 MB, free: 11.14 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.00104/0.01169, allocations: 1.177 MB / 264.8 MB, free: 9.926 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.01172, allocations: 11.98 kB / 264.8 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.01182, allocations: 88.86 kB / 264.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003793/0.0122, allocations: 406.1 kB / 265.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.01223, allocations: 37.38 kB / 265.4 MB, free: 9.367 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.01228, allocations: 60.3 kB / 265.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003318/0.01261, allocations: 356.4 kB / 265.8 MB, free: 8.941 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.01263, allocations: 4 kB / 265.8 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.01265, allocations: 19.98 kB / 265.8 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.01266, allocations: 12 kB / 265.8 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.01281, allocations: 118.9 kB / 265.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01392, allocations: 1.148 MB / 267.1 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.01413, allocations: 169.2 kB / 267.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.249e-05/0.01418, allocations: 44.78 kB / 267.3 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.01421, allocations: 8 kB / 267.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.01435, allocations: 127.3 kB / 267.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.452e-06/0.01435, allocations: 0 / 267.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004424/0.01479, allocations: 285 kB / 267.7 MB, free: 6.941 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.01482, allocations: 55.41 kB / 267.7 MB, free: 6.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.01521, allocations: 0.6031 MB / 268.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.01522, allocations: 33.7 kB / 268.4 MB, free: 6.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01534, allocations: 278.2 kB / 268.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.01539, allocations: 107.1 kB / 268.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.01546, allocations: 94.06 kB / 268.8 MB, free: 5.742 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.01555, allocations: 382.6 kB / 269.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.963e-05/0.01561, allocations: 66.62 kB / 269.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.01569, allocations: 137.5 kB / 269.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.01585, allocations: 206.9 kB / 269.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01585, allocations: 0 / 269.6 MB, free: 4.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002681/0.01612, allocations: 316.3 kB / 269.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.01615, allocations: 37.69 kB / 270 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01615, allocations: 0 / 270 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.0163, allocations: 59.86 kB / 270 MB, free: 4.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.01644, allocations: 83.84 kB / 270.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008157/0.01726, allocations: 1.554 MB / 271.7 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01738, allocations: 55.73 kB / 271.7 MB, free: 2.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.01739, allocations: 12 kB / 271.7 MB, free: 2.656 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.0001041/0.01749, allocations: 128.6 kB / 271.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.01753, allocations: 51.89 kB / 271.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002434/0.01778, allocations: 220.1 kB / 272.1 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.01778, allocations: 4 kB / 272.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.02e-07/0.01778, allocations: 0 / 272.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.01779, allocations: 11.92 kB / 272.1 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.018, allocations: 281.4 kB / 272.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.018, allocations: 0 / 272.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.01811, allocations: 51.91 kB / 272.5 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.01822, allocations: 51.64 kB / 272.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01823, allocations: 8.125 kB / 272.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007369/0.01897, allocations: 1.576 MB / 274.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01897, allocations: 0 / 274.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1192/0.1382, allocations: 274.6 kB / 274.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.1384, allocations: 72.05 kB / 274.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.1384, allocations: 10.69 kB / 274.4 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.1385, allocations: 17.52 kB / 274.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.1386, allocations: 39.59 kB / 274.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1386, allocations: 3.5 kB / 274.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002813/0.1389, allocations: 279.6 kB / 274.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1389, allocations: 0 / 274.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.1393, allocations: 144.9 kB / 274.9 MB, free: 13.38 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.001867/0.1412, allocations: 0.849 MB / 275.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.1417, allocations: 375.8 kB / 276.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.1417, allocations: 6.562 kB / 276.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.1418, allocations: 221 kB / 276.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1421, allocations: 114.5 kB / 276.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.1439, allocations: 1.257 MB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.144, allocations: 174.9 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1441, allocations: 54.23 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.1443, allocations: 123.1 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1443, allocations: 1.438 kB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Templates: time 0.0117/0.156, allocations: 7.345 MB / 285.4 MB, free: 10.78 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9609861904755235]