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.0008083/0.0008083, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001052/0.00186, allocations: 440 kB / 10.41 MB, free: 284 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.0007261/0.0007261, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009308/0.001657, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.077/1.077, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1199/1.197, allocations: 53.68 MB / 243.4 MB, free: 15.48 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.03267/0.03267, allocations: 6.468 MB / 250.6 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007155/0.03983, allocations: 2.488 MB / 253.1 MB, free: 5.848 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 3.256e-06/3.256e-06, allocations: 0 / 254.4 MB, free: 4.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.532e-05/3.857e-05, allocations: 10.25 kB / 254.4 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.007707/0.007746, allocations: 3.891 MB / 258.3 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004889/0.01263, allocations: 2.014 MB / 260.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005112/0.01315, allocations: 15.94 kB / 260.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.01364, allocations: 230.6 kB / 260.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007149/0.01435, allocations: 314.2 kB / 260.8 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007582/0.01511, allocations: 383 kB / 261.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.0158, allocations: 0.6744 MB / 261.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000422/0.01622, allocations: 239.6 kB / 262.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007517/0.01697, allocations: 0.4922 MB / 262.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.0174, allocations: 247.2 kB / 262.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/0.01749, allocations: 60 kB / 262.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002602/0.01775, allocations: 131.8 kB / 263 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.01799, allocations: 203.4 kB / 263.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01815, allocations: 175.5 kB / 263.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000667/0.01882, allocations: 0.5759 MB / 264 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.586e-05/0.01883, allocations: 0 / 264 MB, free: 10.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.01884, allocations: 0 / 264 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.01885, allocations: 0 / 264 MB, free: 10.91 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.001325/0.02018, allocations: 1.177 MB / 265.2 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.02022, allocations: 15.98 kB / 265.2 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.02034, allocations: 84.86 kB / 265.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.02085, allocations: 402.1 kB / 265.7 MB, free: 9.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.218e-05/0.02089, allocations: 41.31 kB / 265.7 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.722e-05/0.02096, allocations: 56.33 kB / 265.7 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.02139, allocations: 368.3 kB / 266.1 MB, free: 8.699 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.02141, allocations: 4 kB / 266.1 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.02144, allocations: 16 kB / 266.1 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.02145, allocations: 12 kB / 266.1 MB, free: 8.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.02161, allocations: 114.9 kB / 266.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.02303, allocations: 1.152 MB / 267.4 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.02328, allocations: 157.3 kB / 267.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.02334, allocations: 48.78 kB / 267.6 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.02337, allocations: 11.98 kB / 267.6 MB, free: 7.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.02354, allocations: 119.3 kB / 267.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.02354, allocations: 0 / 267.7 MB, free: 7.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005832/0.02412, allocations: 293 kB / 268 MB, free: 6.711 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.02416, allocations: 55.41 kB / 268.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.02465, allocations: 0.607 MB / 268.7 MB, free: 6.027 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.02468, allocations: 29.7 kB / 268.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.02485, allocations: 282.3 kB / 269 MB, free: 5.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.48e-05/0.02491, allocations: 103.1 kB / 269.1 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.676e-05/0.02501, allocations: 86.14 kB / 269.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.02515, allocations: 382.6 kB / 269.5 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.02523, allocations: 62.69 kB / 269.6 MB, free: 5.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.02533, allocations: 145.5 kB / 269.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.02551, allocations: 210.8 kB / 269.9 MB, free: 4.656 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.02551, allocations: 4 kB / 270 MB, free: 4.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003369/0.02585, allocations: 320.3 kB / 270.3 MB, free: 4.316 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.02589, allocations: 37.64 kB / 270.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.0259, allocations: 0 / 270.3 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.02609, allocations: 59.64 kB / 270.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.02627, allocations: 84.12 kB / 270.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.02734, allocations: 1.546 MB / 272 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.02749, allocations: 47.72 kB / 272 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.02751, allocations: 15.94 kB / 272.1 MB, free: 2.43 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.0001447/0.02765, allocations: 148.5 kB / 272.2 MB, free: 2.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.0277, allocations: 47.89 kB / 272.2 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.02797, allocations: 220.1 kB / 272.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.02797, allocations: 0 / 272.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.02797, allocations: 4.188 kB / 272.5 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.02798, allocations: 7.922 kB / 272.5 MB, free: 1.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.02825, allocations: 285.4 kB / 272.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.02825, allocations: 0 / 272.7 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.02837, allocations: 43.98 kB / 272.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.02844, allocations: 75.5 kB / 272.9 MB, free: 1.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001365/0.02857, allocations: 51.64 kB / 272.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.02859, allocations: 8 kB / 272.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1589/0.1875, allocations: 1.573 MB / 274.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1875, allocations: 0 / 274.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005347/0.188, allocations: 283.6 kB / 274.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.188, allocations: 7.688 kB / 274.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.1882, allocations: 15.58 kB / 274.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.1882, allocations: 30.62 kB / 274.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.1883, allocations: 7.891 kB / 274.8 MB, free: 12.67 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003533/0.1886, allocations: 284.7 kB / 275.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1886, allocations: 0 / 275.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.1891, allocations: 146.4 kB / 275.3 MB, free: 12.64 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.001891/0.191, allocations: 0.8666 MB / 276.1 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004987/0.1915, allocations: 387.1 kB / 276.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.766e-05/0.1915, allocations: 7.594 kB / 276.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.1917, allocations: 211 kB / 276.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1921, allocations: 0.5518 MB / 277.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.1957, allocations: 1.214 MB / 278.5 MB, free: 11.13 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.1959, allocations: 175.2 kB / 278.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.196, allocations: 57.33 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.1962, allocations: 132 kB / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1962, allocations: 0 / 278.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of Templates: time 0.0124/0.2086, allocations: 7.443 MB / 286.3 MB, free: 9.57 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: 3.25296092312783]