Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.0009006/0.0009006, 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.0009096/0.0009096, allocations: 177 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.8904/0.8904, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.03841/0.03841, allocations: 6.504 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 285.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.641e-05, allocations: 2.312 kB / 285.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005951/0.005977, allocations: 3.816 MB / 289.1 MB, free: 128 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1241/0.13, allocations: 1.969 MB / 291.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002959/0.1303, allocations: 12.09 kB / 291.1 MB, free: 19.19 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004427/0.1308, allocations: 213.2 kB / 291.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006297/0.1314, allocations: 300.2 kB / 291.6 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006995/0.1321, allocations: 379.6 kB / 292 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000688/0.1328, allocations: 0.6927 MB / 292.6 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003338/0.1331, allocations: 239.4 kB / 292.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005587/0.1337, allocations: 410.4 kB / 293.3 MB, free: 18.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.1341, allocations: 257.8 kB / 293.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.098e-05/0.1342, allocations: 65.44 kB / 293.6 MB, free: 18.29 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.1343, allocations: 120.3 kB / 293.7 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1345, allocations: 234.4 kB / 293.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.1347, allocations: 224 kB / 294.2 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007556/0.1355, allocations: 0.6156 MB / 294.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1355, allocations: 0 / 294.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1355, allocations: 0 / 294.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.156e-05/0.1355, allocations: 2.203 kB / 294.8 MB, free: 17.78 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.001228/0.1367, allocations: 1.032 MB / 295.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1368, allocations: 11.31 kB / 295.8 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1369, allocations: 93.58 kB / 295.9 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004387/0.1373, allocations: 392 kB / 296.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.1374, allocations: 36.88 kB / 296.3 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.672e-05/0.1374, allocations: 49.19 kB / 296.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.1379, allocations: 370.8 kB / 296.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.1379, allocations: 5.359 kB / 296.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.1379, allocations: 21.41 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.1379, allocations: 13.16 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1381, allocations: 111.6 kB / 296.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1394, allocations: 1.147 MB / 298 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.1397, allocations: 159.4 kB / 298.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.1397, allocations: 48.55 kB / 298.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.1398, allocations: 10.78 kB / 298.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1399, allocations: 121 kB / 298.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.1399, allocations: 0 / 298.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005492/0.1405, allocations: 287.4 kB / 298.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.1405, allocations: 58.75 kB / 298.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.141, allocations: 0.609 MB / 299.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.1411, allocations: 32.64 kB / 299.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1412, allocations: 280.2 kB / 299.6 MB, free: 15.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.1412, allocations: 104.1 kB / 299.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.1413, allocations: 89.64 kB / 299.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.1414, allocations: 384.2 kB / 300.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.1415, allocations: 63.55 kB / 300.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.884e-05/0.1415, allocations: 137.8 kB / 300.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.1417, allocations: 203.4 kB / 300.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1417, allocations: 1.219 kB / 300.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003431/0.1421, allocations: 325.4 kB / 300.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.1421, allocations: 32.67 kB / 300.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1421, allocations: 5.25 kB / 300.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.1423, allocations: 58.56 kB / 301 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001638/0.1425, allocations: 70.12 kB / 301.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000745/0.1432, allocations: 1.552 MB / 302.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1434, allocations: 41.66 kB / 302.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1434, allocations: 11.94 kB / 302.7 MB, free: 12.72 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.000119/0.1435, allocations: 141.5 kB / 302.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.1435, allocations: 43.69 kB / 302.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.1438, allocations: 231.3 kB / 303.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1438, allocations: 7.062 kB / 303.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1438, allocations: 0 / 303.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1438, allocations: 0 / 303.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1441, allocations: 289.2 kB / 303.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1441, allocations: 1.375 kB / 303.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1442, allocations: 41.47 kB / 303.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/0.1444, allocations: 61.03 kB / 303.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.1444, allocations: 9.312 kB / 303.5 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000635/0.145, allocations: 1.569 MB / 305 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.145, allocations: 0 / 305 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.1453, allocations: 289.2 kB / 305.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1454, allocations: 72.23 kB / 305.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.832e-05/0.1454, allocations: 6.156 kB / 305.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/0.1455, allocations: 21.27 kB / 305.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.1456, allocations: 32.56 kB / 305.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.1456, allocations: 6.531 kB / 305.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000266/0.1459, allocations: 283.6 kB / 305.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1459, allocations: 0 / 305.7 MB, free: 10.45 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.1463, allocations: 141 kB / 305.9 MB, free: 10.41 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.001606/0.1479, allocations: 0.7878 MB / 306.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003853/0.1482, allocations: 375.9 kB / 307 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.1483, allocations: 7.031 kB / 307 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.1484, allocations: 202.2 kB / 307.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1487, allocations: 103.4 kB / 307.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.1503, allocations: 1.176 MB / 308.5 MB, free: 8.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.971e-05/0.1504, allocations: 171.6 kB / 308.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.1505, allocations: 48.92 kB / 308.7 MB, free: 8.777 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.1506, allocations: 126.2 kB / 308.8 MB, free: 8.719 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1506, allocations: 4 kB / 308.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of Templates: time 0.009696/0.1603, allocations: 7.25 MB / 316.1 MB, free: 2.098 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.819010717328638]