Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_main_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.000678/0.0006781, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.004515/0.004515, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1488/0.1488, allocations: 8.023 MB / 299.5 MB, free: 3.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.000267, allocations: 8 kB / 362.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08715, allocations: 52.18 MB / 414.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.003206/0.09039, allocations: 2.838 MB / 417.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.09156, allocations: 0.7718 MB / 418.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.0917, allocations: 4 kB / 418.2 MB, free: 6.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.09211, allocations: 275.2 kB / 418.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.09242, allocations: 195.2 kB / 418.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.09291, allocations: 267 kB / 418.9 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.09331, allocations: 467.1 kB / 419.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.0936, allocations: 170.7 kB / 419.5 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.09377, allocations: 175.2 kB / 419.7 MB, free: 4.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.09402, allocations: 243.1 kB / 419.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.09407, allocations: 23.94 kB / 420 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.09416, allocations: 40 kB / 420 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.09432, allocations: 155.4 kB / 420.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.09452, allocations: 283.9 kB / 420.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.09505, allocations: 0.6537 MB / 421.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.09506, allocations: 0 / 421.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09507, allocations: 0 / 421.1 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.09508, allocations: 0 / 421.1 MB, free: 3.18 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.001269/0.09635, allocations: 0.924 MB / 422 MB, free: 2.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.09639, allocations: 8.031 kB / 422 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.09649, allocations: 80 kB / 422.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.09705, allocations: 0.5275 MB / 422.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.09708, allocations: 24.59 kB / 422.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.09715, allocations: 35.91 kB / 422.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006871/0.09784, allocations: 393.2 kB / 423.1 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.09787, allocations: 11.98 kB / 423.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.09791, allocations: 12 kB / 423.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.09792, allocations: 11.98 kB / 423.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007/0.09863, allocations: 298.3 kB / 423.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1632/0.2619, allocations: 1.68 MB / 425.1 MB, free: 40.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008679/0.2628, allocations: 329.1 kB / 425.4 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.2631, allocations: 124.2 kB / 425.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2631, allocations: 4.062 kB / 425.5 MB, free: 40.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004235/0.2636, allocations: 183.7 kB / 425.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.194e-06/0.2636, allocations: 0 / 425.7 MB, free: 40.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001792/0.2654, allocations: 0.737 MB / 426.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.2654, allocations: 81.53 kB / 426.5 MB, free: 40.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007669/0.2662, allocations: 0.9776 MB / 427.5 MB, free: 40.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.334e-05/0.2662, allocations: 32.23 kB / 427.5 MB, free: 40.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.2664, allocations: 336.4 kB / 427.9 MB, free: 40.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.623e-05/0.2665, allocations: 73.28 kB / 427.9 MB, free: 40.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.2665, allocations: 36.55 kB / 428 MB, free: 40.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.2666, allocations: 377.2 kB / 428.3 MB, free: 39.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.2669, allocations: 121.8 kB / 428.5 MB, free: 39.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.2673, allocations: 208.6 kB / 428.7 MB, free: 39.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006209/0.2679, allocations: 355.5 kB / 429 MB, free: 39.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2679, allocations: 5.875 kB / 429 MB, free: 39.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001109/0.269, allocations: 0.5508 MB / 429.6 MB, free: 39.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.497e-05/0.2691, allocations: 191.6 kB / 429.7 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2691, allocations: 3.281 kB / 429.8 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/0.2694, allocations: 60.19 kB / 429.8 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.2696, allocations: 65.83 kB / 429.9 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.2714, allocations: 1.85 MB / 431.7 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.2717, allocations: 61.86 kB / 431.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2717, allocations: 12.59 kB / 431.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/0.2717, allocations: 3.188 kB / 431.8 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007218/0.2724, allocations: 379.6 kB / 432.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.2725, allocations: 6.172 kB / 432.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.2726, allocations: 52.88 kB / 432.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.2728, allocations: 55.08 kB / 432.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008821/0.2737, allocations: 1.596 MB / 433.9 MB, free: 36.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.2739, allocations: 44.73 kB / 433.9 MB, free: 36.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.274, allocations: 15.78 kB / 433.9 MB, free: 36.36 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.0002678/0.2742, allocations: 336.8 kB / 434.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.2743, allocations: 60.69 kB / 434.3 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/0.2752, allocations: 445.4 kB / 434.8 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2752, allocations: 3.938 kB / 434.8 MB, free: 36.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.2753, allocations: 4 kB / 434.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2753, allocations: 0 / 434.8 MB, free: 36.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.2756, allocations: 487.7 kB / 435.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2756, allocations: 0 / 435.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.2758, allocations: 44.62 kB / 435.3 MB, free: 35.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.2761, allocations: 82.14 kB / 435.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.2761, allocations: 3.672 kB / 435.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/0.2777, allocations: 1.84 MB / 437.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2777, allocations: 0 / 437.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.2789, allocations: 0.5848 MB / 437.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.2791, allocations: 155.4 kB / 437.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.112e-05/0.2791, allocations: 2.688 kB / 438 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.2794, allocations: 35.64 kB / 438 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.2795, allocations: 21.52 kB / 438 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2795, allocations: 12.2 kB / 438 MB, free: 34.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005711/0.2801, allocations: 0.7094 MB / 438.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2801, allocations: 0 / 438.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006364/0.2807, allocations: 189.4 kB / 438.9 MB, free: 34.09 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.0007374/0.2814, allocations: 368.4 kB / 439.3 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.2829, allocations: 0.8638 MB / 440.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2829, allocations: 0 / 440.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.2835, allocations: 328 kB / 440.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.284, allocations: 80.08 kB / 440.5 MB, free: 33.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.2855, allocations: 1.596 MB / 442.1 MB, free: 32.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.2858, allocations: 0.9263 MB / 443.1 MB, free: 31.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.286, allocations: 59.78 kB / 443.1 MB, free: 31.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.986e-05/0.2861, allocations: 33.7 kB / 443.1 MB, free: 31.73 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.2861, allocations: 0 / 443.1 MB, free: 31.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01077/0.2968, allocations: 5.921 MB / 449.1 MB, free: 31.32 MB / 350.1 MB make -j1 -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)