Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.MapBased.TestingModels.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.001093/0.001093, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 192.4 kB / 16.53 MB, free: 6.391 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.351/1.351, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1705/0.1705, allocations: 8.032 MB / 298.4 MB, free: 2.375 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 360.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1148, allocations: 51.19 MB / 411.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.005613/0.1204, allocations: 3.18 MB / 415 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.1223, allocations: 0.799 MB / 415.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.1225, allocations: 11.94 kB / 415.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005198/0.1231, allocations: 283 kB / 416.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.1235, allocations: 215 kB / 416.3 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.1241, allocations: 287.1 kB / 416.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005602/0.1247, allocations: 0.4913 MB / 417.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.125, allocations: 199.1 kB / 417.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1253, allocations: 207.3 kB / 417.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.1256, allocations: 279.1 kB / 417.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.1256, allocations: 43.94 kB / 417.8 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1258, allocations: 79.92 kB / 417.9 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.126, allocations: 183.5 kB / 418 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002465/0.1262, allocations: 290.2 kB / 418.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006454/0.1269, allocations: 0.7046 MB / 419 MB, free: 3.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1269, allocations: 7.938 kB / 419 MB, free: 3.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1269, allocations: 0 / 419 MB, free: 3.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1269, allocations: 0 / 419 MB, free: 3.793 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.001505/0.1284, allocations: 1.009 MB / 420 MB, free: 2.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1285, allocations: 12.03 kB / 420 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.1286, allocations: 76 kB / 420.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.1292, allocations: 0.5236 MB / 420.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1293, allocations: 32.58 kB / 420.7 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.1293, allocations: 32 kB / 420.7 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.1301, allocations: 377.2 kB / 421.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1301, allocations: 7.906 kB / 421.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.1301, allocations: 12 kB / 421.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.1302, allocations: 11.94 kB / 421.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006956/0.1309, allocations: 262.4 kB / 421.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.217/0.3479, allocations: 1.66 MB / 423 MB, free: 43.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009051/0.3488, allocations: 289.2 kB / 423.3 MB, free: 43.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.3491, allocations: 109.3 kB / 423.4 MB, free: 43.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.3492, allocations: 3.281 kB / 423.4 MB, free: 43.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004739/0.3496, allocations: 165.3 kB / 423.6 MB, free: 43.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.074e-06/0.3496, allocations: 1.219 kB / 423.6 MB, free: 43.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001886/0.3515, allocations: 0.6432 MB / 424.2 MB, free: 43.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3516, allocations: 80.39 kB / 424.3 MB, free: 43.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000923/0.3525, allocations: 0.977 MB / 425.3 MB, free: 43.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.3526, allocations: 32.11 kB / 425.3 MB, free: 43.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.3528, allocations: 339.8 kB / 425.6 MB, free: 43.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.839e-05/0.3529, allocations: 73.16 kB / 425.7 MB, free: 43.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.353, allocations: 52.8 kB / 425.8 MB, free: 42.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.3531, allocations: 381.4 kB / 426.1 MB, free: 42.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.3534, allocations: 113.4 kB / 426.2 MB, free: 42.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003468/0.3537, allocations: 195 kB / 426.4 MB, free: 42.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/0.3543, allocations: 321 kB / 426.7 MB, free: 42.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3544, allocations: 0 / 426.7 MB, free: 42.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001097/0.3555, allocations: 0.4979 MB / 427.2 MB, free: 42.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.3555, allocations: 35.14 kB / 427.3 MB, free: 42.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3555, allocations: 3.219 kB / 427.3 MB, free: 42.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.3558, allocations: 60.19 kB / 427.3 MB, free: 42.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.356, allocations: 49.72 kB / 427.4 MB, free: 42.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.3581, allocations: 1.981 MB / 429.4 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003016/0.3584, allocations: 40.81 kB / 429.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.439e-05/0.3585, allocations: 16.72 kB / 429.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004836/0.3589, allocations: 317.9 kB / 429.7 MB, free: 40.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002817/0.3592, allocations: 183 kB / 429.9 MB, free: 40.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005401/0.3598, allocations: 304.4 kB / 430.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.3598, allocations: 3.188 kB / 430.2 MB, free: 40.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007762/0.3606, allocations: 430.6 kB / 430.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3606, allocations: 31.98 kB / 430.7 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3606, allocations: 3.25 kB / 430.7 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/0.3608, allocations: 55.62 kB / 430.7 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.361, allocations: 49.2 kB / 430.8 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.3621, allocations: 1.77 MB / 432.5 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002751/0.3624, allocations: 35.27 kB / 432.6 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.3624, allocations: 10.45 kB / 432.6 MB, free: 38.3 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.0001436/0.3625, allocations: 205.4 kB / 432.8 MB, free: 38.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.3626, allocations: 60.61 kB / 432.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009896/0.3636, allocations: 396.5 kB / 433.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3636, allocations: 3.125 kB / 433.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.3636, allocations: 0 / 433.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3636, allocations: 3.25 kB / 433.2 MB, free: 37.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004402/0.3641, allocations: 492.6 kB / 433.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3641, allocations: 0 / 433.7 MB, free: 37.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.3643, allocations: 35.59 kB / 433.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.3645, allocations: 80.19 kB / 433.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3646, allocations: 4 kB / 433.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.3663, allocations: 1.96 MB / 435.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3663, allocations: 0 / 435.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3674, allocations: 0.5096 MB / 436.3 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.3675, allocations: 149.1 kB / 436.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.3676, allocations: 6.281 kB / 436.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3678, allocations: 28.67 kB / 436.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.735e-05/0.3679, allocations: 28.28 kB / 436.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3679, allocations: 6.719 kB / 436.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005997/0.3685, allocations: 0.7068 MB / 437.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3685, allocations: 0 / 437.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007181/0.3692, allocations: 194.6 kB / 437.4 MB, free: 35.24 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.0008552/0.3701, allocations: 366.8 kB / 437.8 MB, free: 35.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.3717, allocations: 0.808 MB / 438.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3717, allocations: 0 / 438.6 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005603/0.3722, allocations: 289.4 kB / 438.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.3727, allocations: 89.23 kB / 439 MB, free: 34.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.3745, allocations: 1.344 MB / 440.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.3749, allocations: 0.9289 MB / 441.2 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.375, allocations: 61.08 kB / 441.3 MB, free: 33.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.157e-05/0.3751, allocations: 28.25 kB / 441.3 MB, free: 33.06 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3751, allocations: 0 / 441.3 MB, free: 33.06 MB / 350.1 MB Notification: Performance of Templates: time 0.01072/0.3858, allocations: 6.442 MB / 447.8 MB, free: 32.62 MB / 350.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConn.pipe 2>&1)