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.0006582/0.0006582, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008844/0.001543, allocations: 435.8 kB / 10.33 MB, free: 368 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.001589/0.001589, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.003448, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9167/0.9167, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07949/0.9962, 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.02536/0.02536, allocations: 6.473 MB / 250.4 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004424/0.02978, 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 2.344e-06/2.344e-06, allocations: 0 / 254.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.366e-05/2.6e-05, allocations: 2.312 kB / 254.2 MB, free: 4.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004329/0.004355, allocations: 3.891 MB / 258.1 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.006952, allocations: 1.998 MB / 260.1 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002885/0.00724, allocations: 11.94 kB / 260.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.007645, allocations: 214.8 kB / 260.3 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.008208, allocations: 314.2 kB / 260.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.008838, allocations: 379.1 kB / 261 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000642/0.00948, allocations: 0.686 MB / 261.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.009817, allocations: 231.7 kB / 261.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.0104, allocations: 0.4922 MB / 262.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.01071, allocations: 251.2 kB / 262.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.01076, allocations: 64 kB / 262.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.01093, allocations: 123.8 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.01108, allocations: 203.4 kB / 263 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.01122, allocations: 175.5 kB / 263.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006179/0.01184, allocations: 0.5759 MB / 263.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-05/0.01185, allocations: 4 kB / 263.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01185, allocations: 0 / 263.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.89e-05/0.01187, allocations: 0 / 263.8 MB, free: 11.08 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.001363/0.01323, allocations: 1.173 MB / 264.9 MB, free: 9.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.01327, allocations: 15.98 kB / 264.9 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.01338, allocations: 88.86 kB / 265 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.0138, allocations: 406.1 kB / 265.4 MB, free: 9.348 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.01383, allocations: 33.38 kB / 265.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.01388, allocations: 52.33 kB / 265.5 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.01424, allocations: 364.4 kB / 265.9 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01425, allocations: 7.938 kB / 265.9 MB, free: 8.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.01428, allocations: 20 kB / 265.9 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01429, allocations: 12 kB / 265.9 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.01443, allocations: 106.9 kB / 266 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.01561, allocations: 1.163 MB / 267.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.01583, allocations: 161.3 kB / 267.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.519e-05/0.01588, allocations: 48.78 kB / 267.4 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.01591, allocations: 8 kB / 267.4 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.01607, allocations: 119.3 kB / 267.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.01607, allocations: 0 / 267.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004859/0.01656, allocations: 285 kB / 267.8 MB, free: 6.891 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.01659, allocations: 63.33 kB / 267.8 MB, free: 6.816 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000386/0.01697, allocations: 0.6069 MB / 268.4 MB, free: 6.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.01699, allocations: 37.7 kB / 268.5 MB, free: 6.156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.01712, allocations: 278.3 kB / 268.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.01717, allocations: 111 kB / 268.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.01724, allocations: 78.14 kB / 268.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.01734, allocations: 386.6 kB / 269.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.0174, allocations: 62.69 kB / 269.4 MB, free: 5.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.01749, allocations: 141.5 kB / 269.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.01764, allocations: 202.9 kB / 269.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01765, allocations: 0 / 269.7 MB, free: 4.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000287/0.01793, allocations: 316.2 kB / 270 MB, free: 4.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.01797, allocations: 37.7 kB / 270.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01797, allocations: 0 / 270.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/0.01815, allocations: 67.78 kB / 270.1 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.0183, allocations: 79.89 kB / 270.2 MB, free: 4.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.01942, allocations: 1.554 MB / 271.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001253/0.01955, allocations: 51.75 kB / 271.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.01956, allocations: 8 kB / 271.8 MB, free: 2.605 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.0001131/0.01968, allocations: 136.6 kB / 272 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.988e-05/0.01972, allocations: 47.89 kB / 272 MB, free: 2.414 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.01996, allocations: 220.1 kB / 272.2 MB, free: 2.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.01996, allocations: 7.938 kB / 272.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.01997, allocations: 0 / 272.2 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.01997, allocations: 3.938 kB / 272.2 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.0202, allocations: 289.4 kB / 272.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.02021, allocations: 0 / 272.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.02032, allocations: 43.97 kB / 272.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.02038, allocations: 71.5 kB / 272.6 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001223/0.0205, allocations: 55.75 kB / 272.7 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.02051, allocations: 12 kB / 272.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007375/0.02125, allocations: 1.572 MB / 274.3 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02125, allocations: 0 / 274.3 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1123/0.1335, allocations: 274.8 kB / 274.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.1336, allocations: 4.875 kB / 274.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.1337, allocations: 23.33 kB / 274.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.052e-05/0.1337, allocations: 29.89 kB / 274.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1338, allocations: 4.656 kB / 274.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002925/0.1341, allocations: 281 kB / 274.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1341, allocations: 0 / 274.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000451/0.1345, allocations: 149.5 kB / 275 MB, free: 13.2 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.001844/0.1363, allocations: 0.8554 MB / 275.9 MB, free: 13.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004653/0.1368, allocations: 379.5 kB / 276.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-05/0.1368, allocations: 6.188 kB / 276.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.137, allocations: 208.8 kB / 276.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.1373, allocations: 123.7 kB / 276.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.1409, allocations: 1.212 MB / 277.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.141, allocations: 175.6 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1412, allocations: 61.86 kB / 278 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.1413, allocations: 126.1 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1413, allocations: 3.719 kB / 278.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Templates: time 0.01197/0.1533, allocations: 7.361 MB / 285.5 MB, free: 10.61 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.8619934618473053]