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.001064/0.001064, allocations: 92.16 kB / 16.02 MB, free: 80 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.001045/0.001045, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1571/0.1571, allocations: 8.021 MB / 300.1 MB, free: 3.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 12 kB / 363.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 52.19 MB / 415.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004092/0.1086, allocations: 2.834 MB / 418.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1102, allocations: 0.7796 MB / 418.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.1104, allocations: 7.938 kB / 418.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.111, allocations: 267.3 kB / 419.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.1114, allocations: 195.3 kB / 419.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.1122, allocations: 263.1 kB / 419.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005885/0.1128, allocations: 475 kB / 420 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.1133, allocations: 170.7 kB / 420.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.1135, allocations: 171.2 kB / 420.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/0.1139, allocations: 247.1 kB / 420.6 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.739e-05/0.1139, allocations: 19.94 kB / 420.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.1141, allocations: 39.92 kB / 420.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.1143, allocations: 159.5 kB / 420.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002765/0.1146, allocations: 283.9 kB / 421.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.1153, allocations: 0.5222 MB / 421.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1153, allocations: 3.938 kB / 421.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1153, allocations: 4 kB / 421.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1153, allocations: 0 / 421.6 MB, free: 3.289 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.001747/0.1171, allocations: 0.9162 MB / 422.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1171, allocations: 8.031 kB / 422.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1173, allocations: 76 kB / 422.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006914/0.118, allocations: 0.5353 MB / 423.2 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.118, allocations: 24.59 kB / 423.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.261e-05/0.1181, allocations: 35.91 kB / 423.2 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.1189, allocations: 397.2 kB / 423.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.119, allocations: 4 kB / 423.6 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.119, allocations: 12 kB / 423.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.119, allocations: 8 kB / 423.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007819/0.1198, allocations: 302.3 kB / 423.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1976/0.3174, allocations: 1.676 MB / 425.6 MB, free: 40.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008939/0.3184, allocations: 330.4 kB / 425.9 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3187, allocations: 128.8 kB / 426.1 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3187, allocations: 2.812 kB / 426.1 MB, free: 40.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004439/0.3192, allocations: 181.3 kB / 426.2 MB, free: 40.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.555e-06/0.3192, allocations: 0 / 426.2 MB, free: 40.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001917/0.3211, allocations: 0.7408 MB / 427 MB, free: 40.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.3212, allocations: 81.52 kB / 427.1 MB, free: 40.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008648/0.322, allocations: 0.9697 MB / 428 MB, free: 40.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3221, allocations: 32.17 kB / 428.1 MB, free: 40.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.3223, allocations: 337.2 kB / 428.4 MB, free: 40.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.3223, allocations: 77.77 kB / 428.5 MB, free: 40.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.3224, allocations: 29.55 kB / 428.5 MB, free: 40.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.3225, allocations: 385.7 kB / 428.9 MB, free: 40.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.3228, allocations: 121.2 kB / 429 MB, free: 40.03 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.3231, allocations: 211.7 kB / 429.2 MB, free: 39.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.3238, allocations: 353.2 kB / 429.5 MB, free: 39.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3238, allocations: 3.406 kB / 429.5 MB, free: 39.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001169/0.325, allocations: 0.5559 MB / 430.1 MB, free: 39.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.165e-05/0.3251, allocations: 192.3 kB / 430.3 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3251, allocations: 0 / 430.3 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/0.3254, allocations: 66.97 kB / 430.3 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.3256, allocations: 54.97 kB / 430.4 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.3275, allocations: 1.854 MB / 432.3 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3278, allocations: 58.47 kB / 432.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.3278, allocations: 10.53 kB / 432.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.761e-06/0.3278, allocations: 4.062 kB / 432.3 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007732/0.3286, allocations: 386.2 kB / 432.7 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3286, allocations: 4.094 kB / 432.7 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.3288, allocations: 47.92 kB / 432.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.329, allocations: 59.7 kB / 432.8 MB, free: 38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009465/0.3299, allocations: 1.582 MB / 434.4 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.3302, allocations: 48.88 kB / 434.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.3303, allocations: 15.02 kB / 434.5 MB, free: 36.64 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.0002743/0.3305, allocations: 341.1 kB / 434.8 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.3306, allocations: 63.88 kB / 434.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009716/0.3316, allocations: 448.3 kB / 435.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.3316, allocations: 0 / 435.3 MB, free: 36.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3316, allocations: 5.688 kB / 435.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3316, allocations: 6.766 kB / 435.3 MB, free: 36.33 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.332, allocations: 485.9 kB / 435.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.332, allocations: 0 / 435.8 MB, free: 36.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.3323, allocations: 48.8 kB / 435.8 MB, free: 36.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/0.3325, allocations: 81.16 kB / 435.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3325, allocations: 2.062 kB / 435.9 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.3342, allocations: 1.839 MB / 437.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3343, allocations: 0 / 437.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.3356, allocations: 0.5833 MB / 438.3 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3357, allocations: 153.3 kB / 438.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.3358, allocations: 7.438 kB / 438.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.336, allocations: 39.53 kB / 438.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3362, allocations: 25.98 kB / 438.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.3362, allocations: 6.406 kB / 438.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007871/0.337, allocations: 0.7015 MB / 439.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.337, allocations: 3.828 kB / 439.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008365/0.3378, allocations: 194.2 kB / 439.4 MB, free: 34.37 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.0008223/0.3386, allocations: 363.8 kB / 439.8 MB, free: 34.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.3403, allocations: 0.8659 MB / 440.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3403, allocations: 3.469 kB / 440.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.3409, allocations: 325.8 kB / 441 MB, free: 33.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.3414, allocations: 79.17 kB / 441.1 MB, free: 33.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.3432, allocations: 1.629 MB / 442.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.3436, allocations: 0.9165 MB / 443.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.3437, allocations: 36.27 kB / 443.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3437, allocations: 0 / 443.6 MB, free: 31.96 MB / 350.1 MB Notification: Performance of Templates: time 0.01068/0.3543, allocations: 9.159 MB / 452.8 MB, free: 30.88 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)