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.001814/0.001814, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002285/0.002285, allocations: 162.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.04185/0.04185, allocations: 6.502 MB / 265.7 MB, free: 10.26 MB / 254.1 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 2.465e-06/2.465e-06, allocations: 0 / 392.2 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.964e-05, allocations: 2.281 kB / 392.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006553/0.006583, allocations: 3.68 MB / 395.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.01035, allocations: 1.893 MB / 397.7 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003376/0.01069, allocations: 11.94 kB / 397.7 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.01126, allocations: 206.7 kB / 397.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.01203, allocations: 302.3 kB / 398.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009277/0.01296, allocations: 382.5 kB / 398.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.0138, allocations: 0.6899 MB / 399.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004671/0.01426, allocations: 233.7 kB / 399.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006269/0.01489, allocations: 414.9 kB / 399.9 MB, free: 1.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.0153, allocations: 263.2 kB / 400.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.639e-05/0.01539, allocations: 60 kB / 400.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.01561, allocations: 123.8 kB / 400.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.01585, allocations: 231.2 kB / 400.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.01611, allocations: 227.2 kB / 400.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.01726, allocations: 0.9385 MB / 401.8 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01726, allocations: 0 / 401.8 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01727, allocations: 0 / 401.8 MB, free: 52 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.01728, allocations: 3.938 kB / 401.8 MB, free: 48 kB / 318.1 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.002059/0.01934, allocations: 1.078 MB / 402.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.01938, allocations: 16.03 kB / 402.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.01955, allocations: 92.33 kB / 403 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.0204, allocations: 0.5527 MB / 403.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.02045, allocations: 37.38 kB / 403.5 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.02053, allocations: 48.38 kB / 403.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009886/0.02152, allocations: 483.8 kB / 404.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.02155, allocations: 7.953 kB / 404.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.02159, allocations: 24 kB / 404.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.02161, allocations: 8 kB / 404.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/0.02251, allocations: 351.7 kB / 404.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.02539, allocations: 1.577 MB / 406 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008785/0.02627, allocations: 334.6 kB / 406.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.02662, allocations: 124.8 kB / 406.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.02666, allocations: 4 kB / 406.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005152/0.02718, allocations: 207.7 kB / 406.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.414e-06/0.02718, allocations: 4 kB / 406.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.001858/0.02904, allocations: 0.5641 MB / 407.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.02909, allocations: 55.41 kB / 407.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.03036, allocations: 0.9378 MB / 408.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.03041, allocations: 33.7 kB / 408.3 MB, free: 9.336 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.03077, allocations: 384.4 kB / 408.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.03089, allocations: 107.1 kB / 408.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.03102, allocations: 82.19 kB / 408.8 MB, free: 8.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002267/0.03125, allocations: 382.8 kB / 409.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.03166, allocations: 162.6 kB / 409.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000468/0.03212, allocations: 241.2 kB / 409.6 MB, free: 7.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007929/0.03292, allocations: 360.3 kB / 409.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.03292, allocations: 7.938 kB / 410 MB, free: 7.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001291/0.03421, allocations: 0.5713 MB / 410.5 MB, free: 6.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.03426, allocations: 29.7 kB / 410.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.03426, allocations: 4 kB / 410.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.03457, allocations: 60.81 kB / 410.6 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.03488, allocations: 71.89 kB / 410.7 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.03686, allocations: 1.68 MB / 412.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.03723, allocations: 47.75 kB / 412.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.03727, allocations: 16 kB / 412.4 MB, free: 4.949 MB / 334.1 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 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * 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.0004515/0.03772, allocations: 281.2 kB / 412.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.03783, allocations: 71.59 kB / 412.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.03893, allocations: 446.1 kB / 413.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.03893, allocations: 4 kB / 413.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.03894, allocations: 0 / 413.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.03894, allocations: 3.984 kB / 413.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.03947, allocations: 432.9 kB / 413.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.03947, allocations: 0 / 413.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.03974, allocations: 47.95 kB / 413.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.03995, allocations: 56.81 kB / 413.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.03997, allocations: 8.125 kB / 413.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.04174, allocations: 1.68 MB / 415.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.04174, allocations: 0 / 415.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.04318, allocations: 0.5923 MB / 416 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.04332, allocations: 87.48 kB / 416.1 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.04338, allocations: 8 kB / 416.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.04362, allocations: 23.97 kB / 416.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.04374, allocations: 31.94 kB / 416.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.04378, allocations: 8 kB / 416.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000876/0.04465, allocations: 0.663 MB / 416.8 MB, free: 376 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04465, allocations: 8 kB / 416.9 MB, free: 368 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.000606/0.04526, allocations: 147.6 kB / 417 MB, free: 220 kB / 334.1 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.002519/0.04778, allocations: 0.6476 MB / 417.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.04912, allocations: 0.5191 MB / 418.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.04912, allocations: 3.938 kB / 418.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.04968, allocations: 278.5 kB / 418.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.05023, allocations: 98.75 kB / 418.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.05258, allocations: 1.353 MB / 419.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.053, allocations: 366.7 kB / 420.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.05318, allocations: 76.33 kB / 420.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.05331, allocations: 40.48 kB / 420.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.05331, allocations: 0 / 420.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.01456/0.06787, allocations: 6.88 MB / 427.2 MB, free: 6.215 MB / 350.1 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.680792465806007] Failed to read output from testmodel.py, exit status != 0: 0.07674529403448105 0.09161403500000001 0.07113336 Calling exit ...