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.0007661/0.0007661, allocations: 80.94 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.0008956/0.0008956, 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.8917/0.8917, 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 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.03377/0.03377, allocations: 6.486 MB / 266.7 MB, free: 6.516 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.824e-06/1.824e-06, allocations: 0 / 285.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.728e-05, allocations: 2.312 kB / 285.3 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.003933/0.00395, allocations: 3.816 MB / 289.1 MB, free: 148 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1059/0.1098, allocations: 1.969 MB / 291.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000299/0.1101, allocations: 12.69 kB / 291.1 MB, free: 19.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.1106, allocations: 211.4 kB / 291.3 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006206/0.1112, allocations: 298.2 kB / 291.6 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.1119, allocations: 382.4 kB / 291.9 MB, free: 19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007204/0.1126, allocations: 0.6924 MB / 292.6 MB, free: 18.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003566/0.113, allocations: 236.3 kB / 292.9 MB, free: 18.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.1135, allocations: 413.6 kB / 293.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004065/0.1139, allocations: 254.4 kB / 293.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.114, allocations: 62.34 kB / 293.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1142, allocations: 122.9 kB / 293.7 MB, free: 18.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.1144, allocations: 238.5 kB / 293.9 MB, free: 18.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.1146, allocations: 222.6 kB / 294.1 MB, free: 18.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007423/0.1153, allocations: 0.6168 MB / 294.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1153, allocations: 0 / 294.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1153, allocations: 0 / 294.8 MB, free: 17.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.1153, allocations: 1.094 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.001266/0.1166, allocations: 1.038 MB / 295.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.1166, allocations: 10.75 kB / 295.8 MB, free: 17.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.1168, allocations: 93 kB / 295.9 MB, free: 17.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004607/0.1172, allocations: 394.4 kB / 296.3 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.1173, allocations: 36.97 kB / 296.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.1173, allocations: 49.12 kB / 296.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.1178, allocations: 368.9 kB / 296.7 MB, free: 16.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1178, allocations: 9.172 kB / 296.7 MB, free: 16.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1178, allocations: 20.8 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1178, allocations: 11.16 kB / 296.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.118, allocations: 107.1 kB / 296.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.1193, allocations: 1.152 MB / 298 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1195, allocations: 155.4 kB / 298.2 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1196, allocations: 52.62 kB / 298.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1196, allocations: 9.984 kB / 298.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.1198, allocations: 119.9 kB / 298.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.754e-06/0.1198, allocations: 0 / 298.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005553/0.1203, allocations: 276.2 kB / 298.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.1204, allocations: 64.48 kB / 298.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.1209, allocations: 0.6084 MB / 299.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1209, allocations: 34.44 kB / 299.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.121, allocations: 280.6 kB / 299.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/0.1211, allocations: 103 kB / 299.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.1212, allocations: 87.67 kB / 299.8 MB, free: 15.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.1212, allocations: 383.2 kB / 300.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/0.1213, allocations: 67.83 kB / 300.2 MB, free: 14.65 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.1214, allocations: 140 kB / 300.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.1216, allocations: 204.4 kB / 300.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1216, allocations: 1.469 kB / 300.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003415/0.1219, allocations: 320.9 kB / 300.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.1219, allocations: 34.12 kB / 300.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1219, allocations: 1.625 kB / 300.9 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.1221, allocations: 68.81 kB / 301 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1223, allocations: 67.75 kB / 301.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006924/0.123, allocations: 1.548 MB / 302.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1231, allocations: 40.3 kB / 302.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.1231, allocations: 16.19 kB / 302.7 MB, free: 12.73 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.0001172/0.1232, allocations: 142 kB / 302.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.1233, allocations: 44.7 kB / 302.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.1236, allocations: 227.1 kB / 303.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1236, allocations: 7.75 kB / 303.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1236, allocations: 2.938 kB / 303.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1236, allocations: 3.844 kB / 303.1 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1238, allocations: 294 kB / 303.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1238, allocations: 1.375 kB / 303.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.124, allocations: 38.36 kB / 303.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.1241, allocations: 50.78 kB / 303.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1241, allocations: 8.531 kB / 303.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005829/0.1247, allocations: 1.577 MB / 305 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1247, allocations: 3.938 kB / 305 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.125, allocations: 284.3 kB / 305.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.125, allocations: 75.45 kB / 305.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.571e-05/0.1251, allocations: 8.625 kB / 305.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.282e-05/0.1252, allocations: 16.64 kB / 305.4 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.1252, allocations: 28.75 kB / 305.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1252, allocations: 7.375 kB / 305.4 MB, free: 10.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.1254, allocations: 287.2 kB / 305.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1254, allocations: 0 / 305.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003638/0.1258, allocations: 136.6 kB / 305.9 MB, free: 10.44 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.001762/0.1276, allocations: 0.7946 MB / 306.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004171/0.128, allocations: 372.4 kB / 307 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.128, allocations: 5.688 kB / 307 MB, free: 9.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.1282, allocations: 206.2 kB / 307.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.1285, allocations: 101.8 kB / 307.3 MB, free: 9.719 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.13, allocations: 1.167 MB / 308.5 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.18e-05/0.1301, allocations: 172.2 kB / 308.7 MB, free: 8.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1302, allocations: 55 kB / 308.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.1303, allocations: 127.6 kB / 308.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1303, allocations: 4 kB / 308.8 MB, free: 8.73 MB / 266.7 MB Notification: Performance of Templates: time 0.008925/0.1392, allocations: 7.236 MB / 316.1 MB, free: 2.125 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.727296648081392]