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.001857/0.001857, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002123/0.002123, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.595/1.595, allocations: 177.1 MB / 203.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 178] 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.04275/0.04275, allocations: 6.485 MB / 266 MB, free: 6.652 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.933e-06/1.933e-06, allocations: 0 / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.722e-05, allocations: 2.312 kB / 337.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004342/0.00437, allocations: 3.836 MB / 341.2 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.006739, allocations: 1.924 MB / 343.1 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003109/0.00705, allocations: 11.94 kB / 343.1 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005187/0.007568, allocations: 206.8 kB / 343.3 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005543/0.008123, allocations: 302.2 kB / 343.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.0087, allocations: 379 kB / 344 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004814/0.009182, allocations: 0.6899 MB / 344.7 MB, free: 3.766 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.009495, allocations: 229.7 kB / 344.9 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003781/0.009873, allocations: 407 kB / 345.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002995/0.01017, allocations: 275.2 kB / 345.6 MB, free: 2.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.974e-05/0.01024, allocations: 60 kB / 345.6 MB, free: 2.809 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.0104, allocations: 131.8 kB / 345.8 MB, free: 2.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01054, allocations: 235.2 kB / 346 MB, free: 2.449 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.01072, allocations: 223.2 kB / 346.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00069/0.01141, allocations: 0.9307 MB / 347.1 MB, free: 1.297 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01141, allocations: 4 kB / 347.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01141, allocations: 0 / 347.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.01142, allocations: 0 / 347.1 MB, free: 1.293 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.001444/0.01287, allocations: 1.263 MB / 348.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.122e-05/0.01293, allocations: 8.031 kB / 348.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.01315, allocations: 132.3 kB / 348.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.01404, allocations: 0.4969 MB / 349 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.0141, allocations: 37.38 kB / 349.1 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-05/0.01419, allocations: 52.36 kB / 349.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.01518, allocations: 499.1 kB / 349.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.01521, allocations: 3.953 kB / 349.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.566e-05/0.01525, allocations: 20 kB / 349.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.01527, allocations: 12 kB / 349.6 MB, free: 14.69 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008117/0.01608, allocations: 315.8 kB / 350 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.0194, allocations: 2.001 MB / 352 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008361/0.02024, allocations: 327.1 kB / 352.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.02054, allocations: 111.6 kB / 352.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.788e-05/0.02059, allocations: 8 kB / 352.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000478/0.02106, allocations: 197.4 kB / 352.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.02107, allocations: 0 / 352.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.001693/0.02276, allocations: 0.5357 MB / 353.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.02282, allocations: 55.41 kB / 353.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.0241, allocations: 0.8979 MB / 354.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.02414, allocations: 33.7 kB / 354.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/0.02464, allocations: 487.1 kB / 354.6 MB, free: 9.602 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.02477, allocations: 111.2 kB / 354.7 MB, free: 9.492 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/0.02505, allocations: 111.8 kB / 354.8 MB, free: 9.375 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004478/0.0255, allocations: 0.6211 MB / 355.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.02587, allocations: 154.6 kB / 355.6 MB, free: 8.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.02631, allocations: 256.1 kB / 355.8 MB, free: 8.293 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.02704, allocations: 378.9 kB / 356.2 MB, free: 7.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.02705, allocations: 0 / 356.2 MB, free: 7.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001181/0.02823, allocations: 0.5543 MB / 356.7 MB, free: 7.305 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.34e-05/0.02827, allocations: 29.7 kB / 356.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.02828, allocations: 8.219 kB / 356.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003301/0.02861, allocations: 67.64 kB / 356.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.02891, allocations: 71.89 kB / 356.9 MB, free: 7.121 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.03154, allocations: 2.27 MB / 359.2 MB, free: 4.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002811/0.03182, allocations: 43.77 kB / 359.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.03185, allocations: 12 kB / 359.2 MB, free: 4.68 MB / 282.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 (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.0002948/0.03215, allocations: 228.4 kB / 359.5 MB, free: 4.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.03227, allocations: 79.53 kB / 359.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.03325, allocations: 396 kB / 359.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.03325, allocations: 4 kB / 359.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.03325, allocations: 0 / 359.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.03326, allocations: 0 / 359.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.03409, allocations: 0.5901 MB / 360.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.0341, allocations: 0 / 360.5 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.03434, allocations: 47.91 kB / 360.6 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.03461, allocations: 75.58 kB / 360.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.03463, allocations: 7.984 kB / 360.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.03686, allocations: 2.258 MB / 362.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03686, allocations: 0 / 362.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.03815, allocations: 0.5728 MB / 363.5 MB, free: 228 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.03834, allocations: 83.44 kB / 363.6 MB, free: 144 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.0384, allocations: 8 kB / 363.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.0386, allocations: 15.98 kB / 363.6 MB, free: 120 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.03871, allocations: 35.94 kB / 363.6 MB, free: 84 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.03873, allocations: 4 kB / 363.6 MB, free: 80 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008153/0.03955, allocations: 0.5458 MB / 364.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03955, allocations: 0 / 364.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005393/0.04009, allocations: 143.6 kB / 364.3 MB, free: 15.39 MB / 298.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.004791/0.04488, allocations: 0.6572 MB / 365 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.04609, allocations: 0.5839 MB / 365.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04609, allocations: 0 / 365.6 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008216/0.04691, allocations: 341.4 kB / 365.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.04743, allocations: 86.88 kB / 366 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.04966, allocations: 1.239 MB / 367.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.05009, allocations: 360.8 kB / 367.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001782/0.05027, allocations: 60.33 kB / 367.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.05038, allocations: 40.48 kB / 367.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.05038, allocations: 0 / 367.7 MB, free: 12.22 MB / 298.7 MB Notification: Performance of Templates: time 0.01603/0.06641, allocations: 6.941 MB / 374.6 MB, free: 5.336 MB / 298.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: 4.731839483953081]