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.009442/0.009442, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001859/0.001859, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03929/0.03929, allocations: 8.04 MB / 298.6 MB, free: 6.805 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.89 kB / 413.1 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1048, allocations: 51.18 MB / 464.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.005102/0.1099, allocations: 3.187 MB / 467.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.1117, allocations: 0.8028 MB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.112, allocations: 8 kB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.1125, allocations: 287 kB / 468.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.1131, allocations: 223 kB / 468.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.1137, allocations: 282 kB / 469 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006731/0.1144, allocations: 0.4913 MB / 469.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003638/0.1148, allocations: 202.7 kB / 469.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003211/0.1151, allocations: 219.3 kB / 469.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004208/0.1156, allocations: 279 kB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.536e-05/0.1156, allocations: 40 kB / 470.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1158, allocations: 67.98 kB / 470.3 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.1161, allocations: 191.3 kB / 470.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.1164, allocations: 290.2 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.1175, allocations: 0.7235 MB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1176, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1176, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.1176, allocations: 0 / 471.5 MB, free: 11.8 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.002287/0.1199, allocations: 1.028 MB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.1199, allocations: 16.02 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.1201, allocations: 88.42 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009772/0.1211, allocations: 0.5359 MB / 473.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.036e-05/0.1211, allocations: 24.59 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.388e-05/0.1212, allocations: 36 kB / 473.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.1222, allocations: 377.2 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1223, allocations: 7.953 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.1223, allocations: 8 kB / 473.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1223, allocations: 8 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.1233, allocations: 266.4 kB / 473.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/0.126, allocations: 1.663 MB / 475.5 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008941/0.1269, allocations: 294.5 kB / 475.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000451/0.1273, allocations: 108.7 kB / 475.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/0.1274, allocations: 4 kB / 475.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004595/0.1279, allocations: 167.2 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.174e-06/0.1279, allocations: 0 / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002262/0.1301, allocations: 0.6498 MB / 476.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.1302, allocations: 81.09 kB / 476.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.1316, allocations: 0.965 MB / 477.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.1317, allocations: 33.7 kB / 477.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/0.1322, allocations: 344.3 kB / 478.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.776e-05/0.1323, allocations: 79.3 kB / 478.2 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.384e-05/0.1324, allocations: 53.66 kB / 478.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0006396/0.1331, allocations: 378.8 kB / 478.7 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.1334, allocations: 117 kB / 478.8 MB, free: 4.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006146/0.134, allocations: 192.1 kB / 479 MB, free: 3.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.1351, allocations: 316.6 kB / 479.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1351, allocations: 0 / 479.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.00141/0.1365, allocations: 0.5031 MB / 479.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.976e-05/0.1366, allocations: 37.69 kB / 479.8 MB, free: 3.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.1366, allocations: 7.938 kB / 479.8 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003497/0.137, allocations: 56.83 kB / 479.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.1372, allocations: 60.11 kB / 479.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/0.1403, allocations: 1.974 MB / 481.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.1406, allocations: 39.8 kB / 481.9 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/0.1407, allocations: 19.98 kB / 482 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007575/0.1414, allocations: 312.3 kB / 482.3 MB, free: 452 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003997/0.1418, allocations: 179.3 kB / 482.4 MB, free: 236 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008206/0.1427, allocations: 309.7 kB / 482.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.1427, allocations: 3.938 kB / 482.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009545/0.1436, allocations: 435.2 kB / 483.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.1437, allocations: 40.03 kB / 483.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1437, allocations: 4 kB / 483.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001409/0.1438, allocations: 49.16 kB / 483.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1441, allocations: 51.89 kB / 483.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002401/0.1465, allocations: 1.752 MB / 485.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.1469, allocations: 47.75 kB / 485.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.1469, allocations: 8 kB / 485.1 MB, free: 13.36 MB / 366.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.0001731/0.1471, allocations: 205.3 kB / 485.3 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1473, allocations: 63.69 kB / 485.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.1483, allocations: 395.8 kB / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1483, allocations: 0 / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1483, allocations: 0 / 485.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.1483, allocations: 7.984 kB / 485.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.1489, allocations: 493.1 kB / 486.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1489, allocations: 0 / 486.3 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.1491, allocations: 35.97 kB / 486.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.1494, allocations: 68.81 kB / 486.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.1494, allocations: 11.98 kB / 486.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.1518, allocations: 1.947 MB / 488.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1518, allocations: 0 / 488.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.153, allocations: 0.5253 MB / 488.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.1531, allocations: 148.7 kB / 489 MB, free: 9.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.1532, allocations: 11.94 kB / 489 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.1534, allocations: 27.95 kB / 489 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.1536, allocations: 31.86 kB / 489.1 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.1536, allocations: 11.94 kB / 489.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007805/0.1544, allocations: 0.6982 MB / 489.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1544, allocations: 0 / 489.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007476/0.1552, allocations: 199.6 kB / 490 MB, free: 8.266 MB / 366.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.0008273/0.156, allocations: 368.8 kB / 490.3 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.1577, allocations: 0.8007 MB / 491.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1577, allocations: 0 / 491.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005913/0.1583, allocations: 299.3 kB / 491.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.1588, allocations: 78.94 kB / 491.5 MB, free: 6.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.161, allocations: 1.346 MB / 492.8 MB, free: 5.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005066/0.1615, allocations: 0.9256 MB / 493.8 MB, free: 4.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.1617, allocations: 59.27 kB / 493.8 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.924e-05/0.1618, allocations: 27.44 kB / 493.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1618, allocations: 0 / 493.9 MB, free: 4.383 MB / 366.1 MB Notification: Performance of Templates: time 0.0122/0.174, allocations: 6.536 MB / 0.4887 GB, free: 13.88 MB / 382.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)