Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 192.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1517/0.1517, allocations: 8.021 MB / 298.1 MB, free: 2.41 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 360.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08714, allocations: 51.19 MB / 411.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.00471/0.09189, allocations: 3.208 MB / 414.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.09333, allocations: 0.7912 MB / 415.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.09363, allocations: 7.938 kB / 415.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005151/0.09419, allocations: 267.3 kB / 415.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004347/0.09463, allocations: 203.3 kB / 415.8 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006146/0.09526, allocations: 251.4 kB / 416 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.09578, allocations: 0.4913 MB / 416.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.09611, allocations: 199.1 kB / 416.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.09637, allocations: 211.3 kB / 416.9 MB, free: 5.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.09668, allocations: 283.1 kB / 417.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.09675, allocations: 40 kB / 417.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.09689, allocations: 79.91 kB / 417.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.09708, allocations: 183.4 kB / 417.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000241/0.09732, allocations: 294.2 kB / 417.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.09796, allocations: 0.6968 MB / 418.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09797, allocations: 0 / 418.5 MB, free: 4.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09798, allocations: 4 kB / 418.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.098, allocations: 0 / 418.5 MB, free: 4.254 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001476/0.09948, allocations: 1.013 MB / 419.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.09952, allocations: 8.031 kB / 419.5 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.09965, allocations: 83.98 kB / 419.6 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.1003, allocations: 0.5314 MB / 420.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1003, allocations: 24.59 kB / 420.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.153e-05/0.1003, allocations: 32 kB / 420.2 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007055/0.1011, allocations: 381.2 kB / 420.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1011, allocations: 3.906 kB / 420.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1011, allocations: 15.94 kB / 420.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1011, allocations: 8 kB / 420.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.1018, allocations: 258.4 kB / 420.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1038, allocations: 1.671 MB / 422.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1552/0.259, allocations: 283.7 kB / 422.8 MB, free: 44.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003056/0.2593, allocations: 111.1 kB / 422.9 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.2594, allocations: 3.406 kB / 422.9 MB, free: 44.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.2599, allocations: 165.8 kB / 423 MB, free: 44.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.605e-06/0.2599, allocations: 0 / 423 MB, free: 44.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001925/0.2618, allocations: 0.6431 MB / 423.7 MB, free: 44.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.2619, allocations: 80.89 kB / 423.8 MB, free: 44.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.2629, allocations: 0.9707 MB / 424.7 MB, free: 44.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.2629, allocations: 29.33 kB / 424.8 MB, free: 44.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.2632, allocations: 346.9 kB / 425.1 MB, free: 43.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.291e-05/0.2632, allocations: 70.77 kB / 425.2 MB, free: 43.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-05/0.2633, allocations: 59.92 kB / 425.2 MB, free: 43.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/0.2634, allocations: 377 kB / 425.6 MB, free: 43.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.2637, allocations: 111.9 kB / 425.7 MB, free: 43.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.264, allocations: 192.4 kB / 425.9 MB, free: 43.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005747/0.2646, allocations: 319.5 kB / 426.2 MB, free: 43.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2646, allocations: 3.125 kB / 426.2 MB, free: 43.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00109/0.2657, allocations: 0.5003 MB / 426.7 MB, free: 43.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.2657, allocations: 35.73 kB / 426.7 MB, free: 43.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.2658, allocations: 3 kB / 426.8 MB, free: 43.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.266, allocations: 66.45 kB / 426.8 MB, free: 43.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.2662, allocations: 46.8 kB / 426.9 MB, free: 43.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.268, allocations: 1.98 MB / 428.8 MB, free: 41.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.2683, allocations: 41.62 kB / 428.9 MB, free: 41.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.2683, allocations: 8.938 kB / 428.9 MB, free: 41.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003953/0.2687, allocations: 310.3 kB / 429.2 MB, free: 41.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002582/0.269, allocations: 184.2 kB / 429.4 MB, free: 41.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004725/0.2695, allocations: 312.2 kB / 429.7 MB, free: 41.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/0.2695, allocations: 0 / 429.7 MB, free: 41.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007798/0.2703, allocations: 435.3 kB / 430.1 MB, free: 40.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2703, allocations: 36.08 kB / 430.1 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2703, allocations: 3.75 kB / 430.1 MB, free: 40.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001172/0.2704, allocations: 52.84 kB / 430.2 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001889/0.2706, allocations: 60.22 kB / 430.3 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009901/0.2716, allocations: 1.757 MB / 432 MB, free: 39.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.272, allocations: 34.97 kB / 432 MB, free: 39.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.272, allocations: 18.17 kB / 432.1 MB, free: 39.22 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.toKgFuel.local_reset,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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.0001166/0.2721, allocations: 199.7 kB / 432.3 MB, free: 39.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.661e-05/0.2722, allocations: 59.66 kB / 432.3 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/0.2731, allocations: 392.3 kB / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2731, allocations: 0 / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2731, allocations: 1.875 kB / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2731, allocations: 3.219 kB / 432.7 MB, free: 38.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.2735, allocations: 497.2 kB / 433.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2735, allocations: 0.75 kB / 433.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.2737, allocations: 35.83 kB / 433.2 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/0.274, allocations: 73.72 kB / 433.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.274, allocations: 6.594 kB / 433.3 MB, free: 38.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001586/0.2756, allocations: 1.956 MB / 435.3 MB, free: 36.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2756, allocations: 7.891 kB / 435.3 MB, free: 36.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2767, allocations: 0.5107 MB / 435.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.2768, allocations: 151.2 kB / 435.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.2769, allocations: 0 / 435.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.2771, allocations: 31.25 kB / 436 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.2772, allocations: 28.77 kB / 436 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.2772, allocations: 6.375 kB / 436 MB, free: 36.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005723/0.2778, allocations: 0.7047 MB / 436.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2778, allocations: 0 / 436.7 MB, free: 36.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006689/0.2785, allocations: 193.4 kB / 436.9 MB, free: 36.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y,ice.toKgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * 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.0007769/0.2793, allocations: 364.3 kB / 437.2 MB, free: 36.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.2807, allocations: 0.8024 MB / 438 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2807, allocations: 8.125 kB / 438.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000518/0.2812, allocations: 289.8 kB / 438.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.2817, allocations: 85.64 kB / 438.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2834, allocations: 1.532 MB / 439.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2838, allocations: 0.9235 MB / 440.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001759/0.284, allocations: 68.19 kB / 440.9 MB, free: 33.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.2841, allocations: 33.38 kB / 441 MB, free: 33.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2841, allocations: 0 / 441 MB, free: 33.8 MB / 350.1 MB Notification: Performance of Templates: time 0.01062/0.2947, allocations: 6.307 MB / 447.3 MB, free: 33.36 MB / 350.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)