Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.008528/0.008528, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001749/0.001749, allocations: 192.2 kB / 16.67 MB, free: 5.98 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.579/1.579, 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.1942/0.1942, allocations: 8.305 MB / 298.8 MB, free: 2.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.89 kB / 413.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3348, allocations: 51.27 MB / 464.8 MB, free: 18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConnOO): time 0.005276/0.3402, allocations: 3.51 MB / 468.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3421, allocations: 1.002 MB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.3424, allocations: 11.97 kB / 469.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007056/0.3431, allocations: 330.5 kB / 469.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008083/0.344, allocations: 265.1 kB / 469.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3452, allocations: 351.5 kB / 470.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.346, allocations: 0.5615 MB / 470.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004447/0.3465, allocations: 278 kB / 471 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003194/0.3468, allocations: 247.6 kB / 471.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.3473, allocations: 351.4 kB / 471.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.72e-05/0.3474, allocations: 51.47 kB / 471.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.3476, allocations: 102.1 kB / 471.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002359/0.3478, allocations: 225 kB / 472 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.3481, allocations: 342.5 kB / 472.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.3492, allocations: 0.8513 MB / 473.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3492, allocations: 1.031 kB / 473.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3492, allocations: 0 / 473.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3492, allocations: 3.938 kB / 473.2 MB, free: 13.12 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.001617/0.3508, allocations: 1.159 MB / 474.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3509, allocations: 14.5 kB / 474.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.351, allocations: 93.58 kB / 474.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.3518, allocations: 0.5901 MB / 475 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.3518, allocations: 33.44 kB / 475.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.3519, allocations: 38.83 kB / 475.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009169/0.3528, allocations: 419.9 kB / 475.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.3528, allocations: 9.672 kB / 475.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.3529, allocations: 15.78 kB / 475.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3529, allocations: 9.125 kB / 475.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.3537, allocations: 299.2 kB / 475.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.3561, allocations: 1.682 MB / 477.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.3568, allocations: 263.9 kB / 477.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002977/0.3571, allocations: 119.9 kB / 477.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.3571, allocations: 3.906 kB / 477.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.3575, allocations: 177.4 kB / 478.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.244e-06/0.3576, allocations: 4 kB / 478.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001606/0.3592, allocations: 0.607 MB / 478.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.3592, allocations: 62.8 kB / 478.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001214/0.3604, allocations: 1.129 MB / 479.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.3605, allocations: 30.86 kB / 479.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.3607, allocations: 393.2 kB / 480.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3608, allocations: 84.8 kB / 480.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.415e-05/0.3609, allocations: 57.73 kB / 480.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.3609, allocations: 316.2 kB / 480.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003008/0.3612, allocations: 113.2 kB / 480.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.3616, allocations: 165.4 kB / 481 MB, free: 8.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.3622, allocations: 319.7 kB / 481.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3622, allocations: 0 / 481.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009502/0.3632, allocations: 469 kB / 481.8 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.3632, allocations: 36.56 kB / 481.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3632, allocations: 1.125 kB / 481.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002935/0.3635, allocations: 61 kB / 481.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3638, allocations: 56.66 kB / 481.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.3653, allocations: 1.83 MB / 483.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.3656, allocations: 44.47 kB / 483.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-05/0.3656, allocations: 16.72 kB / 483.8 MB, free: 5.801 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.0003553/0.366, allocations: 278.5 kB / 484.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.3661, allocations: 78.66 kB / 484.2 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009042/0.367, allocations: 407.7 kB / 484.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.367, allocations: 2.344 kB / 484.6 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.367, allocations: 3.938 kB / 484.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.367, allocations: 5.125 kB / 484.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005766/0.3676, allocations: 0.5374 MB / 485.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3676, allocations: 0 / 485.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.3679, allocations: 42.89 kB / 485.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.368, allocations: 55.31 kB / 485.2 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3681, allocations: 6.219 kB / 485.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001274/0.3694, allocations: 1.832 MB / 487.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3694, allocations: 0 / 487.1 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3705, allocations: 0.5484 MB / 487.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3706, allocations: 161.6 kB / 487.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.3707, allocations: 10.73 kB / 487.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.3709, allocations: 18.98 kB / 487.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.409e-05/0.371, allocations: 32.33 kB / 487.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.371, allocations: 9.5 kB / 487.8 MB, free: 2.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009059/0.372, allocations: 0.8109 MB / 488.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.372, allocations: 3.938 kB / 488.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.3725, allocations: 129.2 kB / 488.8 MB, free: 2.156 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.001381/0.3739, allocations: 0.5948 MB / 489.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009522/0.3749, allocations: 464.9 kB / 489.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3749, allocations: 0 / 489.8 MB, free: 1.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/0.3753, allocations: 270.8 kB / 490.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.3759, allocations: 94.62 kB / 490.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.378, allocations: 1.506 MB / 491.7 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.3785, allocations: 0.9681 MB / 492.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.3787, allocations: 64.59 kB / 492.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3788, allocations: 43.7 kB / 492.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of SimCode: time 1.994e-06/0.3789, allocations: 0 / 492.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of Templates: time 0.01357/0.3924, allocations: 6.684 MB / 499.4 MB, free: 9.902 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe 2>&1)