Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008123/0.008123, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001838/0.001838, allocations: 187.5 kB / 16.67 MB, free: 5.465 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.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1824/0.1824, allocations: 8.308 MB / 298.8 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 67.88 kB / 413.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2556, allocations: 51.25 MB / 464.7 MB, free: 18.19 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConnOO): time 0.005254/0.2609, allocations: 3.502 MB / 468.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2627, allocations: 1.014 MB / 469.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.2629, allocations: 6.406 kB / 469.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006937/0.2636, allocations: 331.2 kB / 469.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005126/0.2642, allocations: 259.6 kB / 469.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.265, allocations: 362.8 kB / 470.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005973/0.2656, allocations: 0.5599 MB / 470.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.266, allocations: 270.9 kB / 471 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.2663, allocations: 250.7 kB / 471.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003789/0.2667, allocations: 344.1 kB / 471.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.2668, allocations: 46.62 kB / 471.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.267, allocations: 110 kB / 471.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.2672, allocations: 222 kB / 472 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.2674, allocations: 348.6 kB / 472.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009681/0.2684, allocations: 0.847 MB / 473.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2684, allocations: 1.859 kB / 473.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2684, allocations: 0 / 473.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.2684, allocations: 0 / 473.2 MB, free: 13.31 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001657/0.2701, allocations: 1.163 MB / 474.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2701, allocations: 10.12 kB / 474.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.2703, allocations: 93.36 kB / 474.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.271, allocations: 0.5855 MB / 475 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.2711, allocations: 38.02 kB / 475.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.981e-05/0.2711, allocations: 42.69 kB / 475.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.2719, allocations: 416.9 kB / 475.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.2719, allocations: 5.328 kB / 475.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.272, allocations: 15.27 kB / 475.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.272, allocations: 17.61 kB / 475.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.2727, allocations: 303.2 kB / 475.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.2749, allocations: 1.676 MB / 477.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006635/0.2755, allocations: 277.5 kB / 477.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.2758, allocations: 116.7 kB / 477.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.2759, allocations: 6.781 kB / 477.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.2763, allocations: 175.7 kB / 478.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.714e-06/0.2763, allocations: 0 / 478.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001574/0.2779, allocations: 0.6151 MB / 478.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.2779, allocations: 54.72 kB / 478.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.2791, allocations: 1.125 MB / 479.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2791, allocations: 30.86 kB / 479.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.2793, allocations: 389.2 kB / 480.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.2794, allocations: 93.38 kB / 480.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.2795, allocations: 57.64 kB / 480.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.498e-05/0.2796, allocations: 315.4 kB / 480.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.2799, allocations: 113.8 kB / 480.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.2802, allocations: 170.1 kB / 481 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.2808, allocations: 310.4 kB / 481.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2808, allocations: 1.375 kB / 481.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009589/0.2818, allocations: 471.8 kB / 481.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.2818, allocations: 32.7 kB / 481.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2819, allocations: 6.406 kB / 481.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/0.2821, allocations: 64.53 kB / 481.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2824, allocations: 47.5 kB / 481.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.2837, allocations: 1.827 MB / 483.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002843/0.284, allocations: 48.69 kB / 483.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.284, allocations: 9.219 kB / 483.8 MB, free: 5.844 MB / 350.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 (29): * Single equations (assignments): 27 * 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.0002689/0.2843, allocations: 286.9 kB / 484.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.2844, allocations: 74.28 kB / 484.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009175/0.2853, allocations: 402.4 kB / 484.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2853, allocations: 3.562 kB / 484.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2853, allocations: 3.938 kB / 484.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2853, allocations: 0 / 484.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.286, allocations: 0.5491 MB / 485.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.286, allocations: 0 / 485.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.2863, allocations: 44.31 kB / 485.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/0.2865, allocations: 62.78 kB / 485.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2865, allocations: 6.25 kB / 485.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.2879, allocations: 1.82 MB / 487 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2879, allocations: 0 / 487 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.2891, allocations: 0.5445 MB / 487.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.2893, allocations: 173.5 kB / 487.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.043e-05/0.2894, allocations: 6.75 kB / 487.8 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.2896, allocations: 22.97 kB / 487.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2898, allocations: 24.34 kB / 487.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.2898, allocations: 13.62 kB / 487.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009685/0.2908, allocations: 0.8157 MB / 488.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2908, allocations: 0 / 488.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005796/0.2913, allocations: 132.2 kB / 488.8 MB, free: 2.188 MB / 350.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 (20): * Single equations (assignments): 17 * 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.001343/0.2927, allocations: 0.5928 MB / 489.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001029/0.2937, allocations: 467.6 kB / 489.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2938, allocations: 0 / 489.8 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004613/0.2942, allocations: 259.2 kB / 490.1 MB, free: 1.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.2947, allocations: 90.06 kB / 490.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2969, allocations: 1.505 MB / 491.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.2976, allocations: 0.9719 MB / 492.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002169/0.2978, allocations: 72.64 kB / 492.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.2979, allocations: 35.38 kB / 492.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2979, allocations: 0 / 492.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.01403/0.3119, allocations: 6.643 MB / 499.4 MB, free: 9.941 MB / 366.1 MB make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.makefile (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe 2>&1)