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.004722/0.004728, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001112/0.001112, allocations: 195 kB / 16.67 MB, free: 5.977 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.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.2158/0.2158, allocations: 8.312 MB / 298.8 MB, free: 2.27 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.88 kB / 413.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 51.27 MB / 464.7 MB, free: 18.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.006024/0.3575, allocations: 3.411 MB / 468.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002293/0.3598, allocations: 0.9796 MB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003293/0.3602, allocations: 6.844 kB / 469.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009088/0.3611, allocations: 325.8 kB / 469.5 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007213/0.3619, allocations: 262.4 kB / 469.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.3631, allocations: 340.8 kB / 470.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009332/0.364, allocations: 0.5222 MB / 470.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005298/0.3646, allocations: 230.6 kB / 470.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004463/0.365, allocations: 229.8 kB / 471 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005578/0.3656, allocations: 314.3 kB / 471.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3657, allocations: 48.5 kB / 471.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.3661, allocations: 104.6 kB / 471.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003625/0.3664, allocations: 210.5 kB / 471.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003533/0.3668, allocations: 323.2 kB / 472 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3682, allocations: 0.7942 MB / 472.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.3682, allocations: 4 kB / 472.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3682, allocations: 0 / 472.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.01e-05/0.3683, allocations: 1.781 kB / 472.8 MB, free: 13.47 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001815/0.3701, allocations: 1.114 MB / 473.9 MB, free: 12.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3701, allocations: 13.47 kB / 473.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.3703, allocations: 87.53 kB / 474 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008468/0.3711, allocations: 0.5761 MB / 474.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.398e-05/0.3712, allocations: 31 kB / 474.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.3713, allocations: 35.8 kB / 474.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.3721, allocations: 359.9 kB / 475 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.3721, allocations: 5.703 kB / 475 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.3722, allocations: 15.5 kB / 475 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.3722, allocations: 8.875 kB / 475 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.3729, allocations: 255 kB / 475.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3755, allocations: 1.582 MB / 476.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.3762, allocations: 265.4 kB / 477.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000289/0.3765, allocations: 101.2 kB / 477.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.496e-05/0.3766, allocations: 3.234 kB / 477.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.377, allocations: 161.3 kB / 477.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/0.377, allocations: 0 / 477.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001587/0.3786, allocations: 0.5705 MB / 478 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.3787, allocations: 53.62 kB / 478 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.38, allocations: 1.11 MB / 479.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.38, allocations: 32.67 kB / 479.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.3803, allocations: 377 kB / 479.5 MB, free: 9.336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.3804, allocations: 71.7 kB / 479.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.3805, allocations: 47.73 kB / 479.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.992e-05/0.3806, allocations: 321.3 kB / 479.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3809, allocations: 101.1 kB / 480 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.3812, allocations: 157.7 kB / 480.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006085/0.3818, allocations: 285.1 kB / 480.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3818, allocations: 0 / 480.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001009/0.3828, allocations: 444.8 kB / 480.9 MB, free: 8.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.3829, allocations: 36.94 kB / 481 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3829, allocations: 5.125 kB / 481 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003078/0.3832, allocations: 61.59 kB / 481 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/0.3834, allocations: 46.44 kB / 481.1 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.385, allocations: 1.842 MB / 482.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.3854, allocations: 34.62 kB / 482.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.3854, allocations: 12.55 kB / 482.9 MB, free: 6.406 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: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (25): * Single equations (assignments): 23 * 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.0004377/0.3858, allocations: 286.1 kB / 483.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.3859, allocations: 73.31 kB / 483.3 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008863/0.3868, allocations: 366.4 kB / 483.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3868, allocations: 2.156 kB / 483.7 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3868, allocations: 3.938 kB / 483.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3869, allocations: 1.125 kB / 483.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005918/0.3875, allocations: 0.5176 MB / 484.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.3875, allocations: 0 / 484.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.3877, allocations: 41.31 kB / 484.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001992/0.3879, allocations: 55.16 kB / 484.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3879, allocations: 5.812 kB / 484.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/0.3894, allocations: 1.828 MB / 486.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3894, allocations: 1.156 kB / 486.1 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.3906, allocations: 0.4909 MB / 486.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.3907, allocations: 165.8 kB / 486.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.3908, allocations: 6.219 kB / 486.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.391, allocations: 17.69 kB / 486.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3911, allocations: 26.19 kB / 486.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3911, allocations: 4.125 kB / 486.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.3923, allocations: 0.8148 MB / 487.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3923, allocations: 1.656 kB / 487.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006497/0.3929, allocations: 118.2 kB / 487.7 MB, free: 2.832 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: 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 (16): * Single equations (assignments): 13 * 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.001701/0.3946, allocations: 0.5916 MB / 488.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3957, allocations: 435.4 kB / 488.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3957, allocations: 0 / 488.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.3961, allocations: 239.5 kB / 489 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005709/0.3967, allocations: 101.8 kB / 489.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.3991, allocations: 1.45 MB / 490.5 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.3996, allocations: 0.9554 MB / 491.5 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.3998, allocations: 67.39 kB / 491.6 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.3999, allocations: 41.66 kB / 491.6 MB, free: 320 kB / 350.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3999, allocations: 1.312 kB / 491.6 MB, free: 320 kB / 350.1 MB Notification: Performance of Templates: time 0.01292/0.4128, allocations: 6.391 MB / 498 MB, free: 11.34 MB / 366.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)