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.005871/0.005871, allocations: 101 kB / 15.73 MB, free: 6.047 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.001322/0.001322, allocations: 188.2 kB / 16.67 MB, free: 5.969 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.146/0.146, allocations: 8.313 MB / 298.8 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 59.91 kB / 413.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2529, allocations: 51.26 MB / 464.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConnOO): time 0.004668/0.2576, allocations: 3.511 MB / 468.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2592, allocations: 1.006 MB / 469.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001896/0.2594, allocations: 10.72 kB / 469.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005463/0.2599, allocations: 327.9 kB / 469.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.2604, allocations: 260.4 kB / 469.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.2612, allocations: 358.8 kB / 470.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005705/0.2617, allocations: 0.5583 MB / 470.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.2621, allocations: 273.5 kB / 471 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.2624, allocations: 250.9 kB / 471.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.2628, allocations: 348.8 kB / 471.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.812e-05/0.2629, allocations: 46.84 kB / 471.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.2631, allocations: 102.5 kB / 471.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.2633, allocations: 229.5 kB / 472 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.2635, allocations: 345.8 kB / 472.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000891/0.2644, allocations: 0.8515 MB / 473.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2644, allocations: 0 / 473.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2645, allocations: 0 / 473.2 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2645, allocations: 0.6562 kB / 473.2 MB, free: 13.35 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.001462/0.2659, allocations: 1.156 MB / 474.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.266, allocations: 9.625 kB / 474.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2661, allocations: 94.27 kB / 474.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.2668, allocations: 0.5971 MB / 475 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2668, allocations: 36.34 kB / 475.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/0.2669, allocations: 39.66 kB / 475.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007726/0.2677, allocations: 421 kB / 475.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.2677, allocations: 5.078 kB / 475.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.355e-05/0.2678, allocations: 16.2 kB / 475.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.2678, allocations: 13.31 kB / 475.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.2685, allocations: 299 kB / 475.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.2705, allocations: 1.676 MB / 477.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.2712, allocations: 270.3 kB / 477.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.2715, allocations: 124.2 kB / 477.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.2715, allocations: 11.11 kB / 477.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.2719, allocations: 179.8 kB / 478.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.2719, allocations: 0 / 478.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001546/0.2735, allocations: 0.6188 MB / 478.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.2735, allocations: 55.06 kB / 478.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.2746, allocations: 1.121 MB / 479.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2747, allocations: 31.67 kB / 479.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.2749, allocations: 392.1 kB / 480.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.275, allocations: 89.81 kB / 480.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.2751, allocations: 60.05 kB / 480.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.038e-05/0.2751, allocations: 316.6 kB / 480.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2754, allocations: 105.5 kB / 480.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.2757, allocations: 174.3 kB / 481 MB, free: 8.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/0.2763, allocations: 306.8 kB / 481.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.2764, allocations: 5.406 kB / 481.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009255/0.2773, allocations: 475.7 kB / 481.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.2773, allocations: 34.52 kB / 481.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2773, allocations: 6.75 kB / 481.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.2776, allocations: 61.66 kB / 481.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.2779, allocations: 45.94 kB / 481.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.2792, allocations: 1.824 MB / 483.8 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000276/0.2795, allocations: 48.22 kB / 483.8 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.2796, allocations: 13.16 kB / 483.8 MB, free: 5.816 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.0002728/0.2798, allocations: 279.8 kB / 484.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.2799, allocations: 75.47 kB / 484.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009272/0.2809, allocations: 406.6 kB / 484.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2809, allocations: 2.906 kB / 484.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.2809, allocations: 7.938 kB / 484.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2809, allocations: 1.375 kB / 484.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.2814, allocations: 0.5443 MB / 485.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2814, allocations: 0 / 485.1 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.2816, allocations: 39.59 kB / 485.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001854/0.2818, allocations: 58.62 kB / 485.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2819, allocations: 6.312 kB / 485.2 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2831, allocations: 1.832 MB / 487.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2831, allocations: 1 kB / 487.1 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.2843, allocations: 0.5411 MB / 487.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.2845, allocations: 173.2 kB / 487.8 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.2845, allocations: 6.562 kB / 487.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.2848, allocations: 23.38 kB / 487.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.2849, allocations: 24.59 kB / 487.8 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.2849, allocations: 8.344 kB / 487.8 MB, free: 2.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009466/0.2858, allocations: 0.8113 MB / 488.6 MB, free: 2.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2858, allocations: 7.875 kB / 488.6 MB, free: 2.199 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.2865, allocations: 133.7 kB / 488.8 MB, free: 2.16 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.001371/0.2878, allocations: 0.5927 MB / 489.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.2889, allocations: 459.9 kB / 489.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.289, allocations: 1.375 kB / 489.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.2895, allocations: 262.3 kB / 490.1 MB, free: 1.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000645/0.2901, allocations: 102.7 kB / 490.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.2933, allocations: 1.502 MB / 491.7 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.2939, allocations: 0.9709 MB / 492.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002573/0.2942, allocations: 73.02 kB / 492.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.2943, allocations: 35.48 kB / 492.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2943, allocations: 1.031 kB / 492.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of Templates: time 0.01372/0.3081, allocations: 6.68 MB / 499.4 MB, free: 9.91 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)