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.001549/0.001549, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001965/0.001965, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1872/0.1872, allocations: 8.328 MB / 298.3 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 59.91 kB / 360.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1205, allocations: 51.27 MB / 411.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.007307/0.1279, allocations: 3.451 MB / 415 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1303, allocations: 0.9706 MB / 416 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.1308, allocations: 7.938 kB / 416 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007233/0.1316, allocations: 311.2 kB / 416.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006089/0.1322, allocations: 231.2 kB / 416.5 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009264/0.1331, allocations: 314.9 kB / 416.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007737/0.1339, allocations: 0.4913 MB / 417.3 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.1345, allocations: 201.5 kB / 417.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.1349, allocations: 207.2 kB / 417.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005783/0.1355, allocations: 310.9 kB / 418 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-05/0.1356, allocations: 24 kB / 418.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002728/0.1359, allocations: 75.97 kB / 418.1 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002875/0.1362, allocations: 207.2 kB / 418.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.1366, allocations: 294 kB / 418.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.1375, allocations: 0.7551 MB / 419.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1375, allocations: 0 / 419.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1375, allocations: 0 / 419.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.1375, allocations: 0 / 419.4 MB, free: 3.355 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.002079/0.1396, allocations: 1.091 MB / 420.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1397, allocations: 11.97 kB / 420.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.1399, allocations: 83.91 kB / 420.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009288/0.1408, allocations: 0.5624 MB / 421.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.1409, allocations: 32.58 kB / 421.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.141, allocations: 39.91 kB / 421.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.1418, allocations: 362.7 kB / 421.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1418, allocations: 0 / 421.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.1419, allocations: 16 kB / 421.6 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.1419, allocations: 8 kB / 421.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007138/0.1426, allocations: 258.4 kB / 421.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2008/0.3434, allocations: 1.574 MB / 423.4 MB, free: 43.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007026/0.3442, allocations: 259.1 kB / 423.6 MB, free: 43.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.3444, allocations: 112 kB / 423.8 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3445, allocations: 7.297 kB / 423.8 MB, free: 43.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.3449, allocations: 153.5 kB / 423.9 MB, free: 43.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.3449, allocations: 0 / 423.9 MB, free: 43.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001429/0.3464, allocations: 0.5673 MB / 424.5 MB, free: 43.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.3464, allocations: 55.97 kB / 424.5 MB, free: 43.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/0.3474, allocations: 1.108 MB / 425.6 MB, free: 42.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.3474, allocations: 33.08 kB / 425.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.3476, allocations: 370.9 kB / 426 MB, free: 42.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.3476, allocations: 74.98 kB / 426.1 MB, free: 42.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.3477, allocations: 55.61 kB / 426.2 MB, free: 42.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.3478, allocations: 319.6 kB / 426.5 MB, free: 42.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.348, allocations: 98.38 kB / 426.6 MB, free: 42.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3483, allocations: 153.2 kB / 426.7 MB, free: 42.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.3488, allocations: 279.1 kB / 427 MB, free: 42.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3489, allocations: 0 / 427 MB, free: 42.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008267/0.3497, allocations: 442.3 kB / 427.4 MB, free: 42.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/0.3497, allocations: 36.73 kB / 427.5 MB, free: 42.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3497, allocations: 2.969 kB / 427.5 MB, free: 42.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.35, allocations: 62.5 kB / 427.5 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.3502, allocations: 51.97 kB / 427.6 MB, free: 42.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.3515, allocations: 1.63 MB / 429.2 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.3518, allocations: 42.19 kB / 429.3 MB, free: 40.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.3518, allocations: 12.44 kB / 429.3 MB, free: 40.59 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.0002443/0.3521, allocations: 274.8 kB / 429.5 MB, free: 40.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.484e-05/0.3521, allocations: 67.5 kB / 429.6 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.3529, allocations: 378.9 kB / 430 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3529, allocations: 3.031 kB / 430 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.353, allocations: 2.5 kB / 430 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.353, allocations: 3.641 kB / 430 MB, free: 40.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.3534, allocations: 0.5119 MB / 430.5 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3534, allocations: 3.219 kB / 430.5 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3536, allocations: 38.19 kB / 430.5 MB, free: 39.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.3538, allocations: 62.23 kB / 430.6 MB, free: 39.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.3538, allocations: 7.375 kB / 430.6 MB, free: 39.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.3549, allocations: 1.639 MB / 432.2 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3549, allocations: 4.062 kB / 432.2 MB, free: 38.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3559, allocations: 493.5 kB / 432.7 MB, free: 38.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.3561, allocations: 158.7 kB / 432.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/0.3561, allocations: 7.219 kB / 432.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.3563, allocations: 16.34 kB / 432.9 MB, free: 38.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.3564, allocations: 25.39 kB / 432.9 MB, free: 38.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.3564, allocations: 11.16 kB / 432.9 MB, free: 38.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007058/0.3571, allocations: 0.8106 MB / 433.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3572, allocations: 3.125 kB / 433.8 MB, free: 37.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.3576, allocations: 118.5 kB / 433.9 MB, free: 37.72 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.001308/0.3589, allocations: 0.6108 MB / 434.5 MB, free: 37.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.3598, allocations: 423.3 kB / 434.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3598, allocations: 0 / 434.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.3602, allocations: 256.8 kB / 435.1 MB, free: 37.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3606, allocations: 79.23 kB / 435.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3625, allocations: 1.651 MB / 436.9 MB, free: 36.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3629, allocations: 0.9576 MB / 437.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.3631, allocations: 65.66 kB / 437.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.71e-05/0.3632, allocations: 32.58 kB / 437.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3632, allocations: 0 / 437.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of Templates: time 0.01029/0.3735, allocations: 5.985 MB / 443.9 MB, free: 34.96 MB / 350.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)