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.001175/0.001175, allocations: 103.6 kB / 16.41 MB, free: 6.508 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.001265/0.001265, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03657/0.03657, allocations: 8.046 MB / 299.2 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.89 kB / 413.7 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09307, allocations: 51.19 MB / 464.9 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.00484/0.09796, allocations: 3.184 MB / 468.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.09942, allocations: 0.799 MB / 468.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.09966, allocations: 11.94 kB / 468.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004782/0.1001, allocations: 287 kB / 469.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.1006, allocations: 215 kB / 469.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.1012, allocations: 289.9 kB / 469.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004821/0.1017, allocations: 0.499 MB / 470.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.1021, allocations: 194.8 kB / 470.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1023, allocations: 207.3 kB / 470.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.1026, allocations: 287 kB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.1027, allocations: 40 kB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1028, allocations: 67.98 kB / 471 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.103, allocations: 195.4 kB / 471.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.1032, allocations: 294.1 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.1039, allocations: 0.7085 MB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1039, allocations: 0 / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.1039, allocations: 4 kB / 472.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.445e-06/0.1039, allocations: 0 / 472.2 MB, free: 11.77 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.001554/0.1055, allocations: 1.005 MB / 473.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1055, allocations: 16.02 kB / 473.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.1056, allocations: 76 kB / 473.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.1063, allocations: 0.5392 MB / 473.8 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.1064, allocations: 24.59 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.956e-05/0.1064, allocations: 39.94 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000676/0.1071, allocations: 369.3 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.1072, allocations: 11.84 kB / 474.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.111e-05/0.1072, allocations: 16 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1072, allocations: 8 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006629/0.1079, allocations: 262.4 kB / 474.5 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.1099, allocations: 1.663 MB / 476.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.1107, allocations: 290.5 kB / 476.5 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.111, allocations: 104.8 kB / 476.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1111, allocations: 4 kB / 476.6 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003977/0.1115, allocations: 167.2 kB / 476.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.1115, allocations: 3.938 kB / 476.7 MB, free: 6.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.00175/0.1132, allocations: 0.6376 MB / 477.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.1133, allocations: 97.03 kB / 477.5 MB, free: 6.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/0.1143, allocations: 0.965 MB / 478.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.1143, allocations: 29.7 kB / 478.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.1146, allocations: 340 kB / 478.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.1146, allocations: 78.98 kB / 478.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-05/0.1147, allocations: 49.7 kB / 478.9 MB, free: 4.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1149, allocations: 378.8 kB / 479.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.1152, allocations: 117 kB / 479.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003471/0.1155, allocations: 192.2 kB / 479.6 MB, free: 3.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006159/0.1162, allocations: 320.5 kB / 479.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1162, allocations: 0 / 479.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001067/0.1173, allocations: 0.495 MB / 480.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.701e-05/0.1173, allocations: 37.69 kB / 480.4 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1173, allocations: 7.938 kB / 480.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/0.1176, allocations: 61.05 kB / 480.5 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.1178, allocations: 55.89 kB / 480.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1199, allocations: 1.966 MB / 482.5 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.1202, allocations: 39.84 kB / 482.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1202, allocations: 15.98 kB / 482.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004534/0.1207, allocations: 316.3 kB / 482.9 MB, free: 472 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002914/0.121, allocations: 187.2 kB / 483.1 MB, free: 248 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005316/0.1215, allocations: 305.7 kB / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.523e-06/0.1215, allocations: 0 / 483.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007927/0.1223, allocations: 437.2 kB / 483.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.1223, allocations: 37.69 kB / 483.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1224, allocations: 4.312 kB / 483.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001184/0.1225, allocations: 48.83 kB / 483.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1227, allocations: 55.89 kB / 483.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.1239, allocations: 1.756 MB / 485.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.1242, allocations: 35.81 kB / 485.7 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1242, allocations: 12 kB / 485.7 MB, free: 13.38 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.0001408/0.1244, allocations: 209.3 kB / 485.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1245, allocations: 59.25 kB / 486 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009043/0.1254, allocations: 395.8 kB / 486.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1254, allocations: 0 / 486.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1254, allocations: 0 / 486.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.1254, allocations: 3.984 kB / 486.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.1258, allocations: 493.1 kB / 486.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1258, allocations: 0 / 486.9 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.126, allocations: 35.91 kB / 486.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.1263, allocations: 76.75 kB / 487 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.1263, allocations: 11.98 kB / 487 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.1282, allocations: 1.955 MB / 489 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1282, allocations: 0 / 489 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1293, allocations: 0.5188 MB / 489.5 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.1295, allocations: 144.4 kB / 489.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.1296, allocations: 4 kB / 489.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.1298, allocations: 31.95 kB / 489.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.611e-05/0.1299, allocations: 23.91 kB / 489.7 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1299, allocations: 4 kB / 489.7 MB, free: 9.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007381/0.1307, allocations: 0.7099 MB / 490.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1307, allocations: 0 / 490.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.1314, allocations: 191.4 kB / 490.6 MB, free: 8.297 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.0008011/0.1322, allocations: 381.1 kB / 490.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.1337, allocations: 0.7968 MB / 491.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1338, allocations: 0.8125 kB / 491.7 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.1343, allocations: 286.5 kB / 492 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.1348, allocations: 82.14 kB / 492.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1369, allocations: 1.365 MB / 493.5 MB, free: 5.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.1374, allocations: 0.9217 MB / 494.4 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.154e-05/0.1375, allocations: 35.38 kB / 494.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.1375, allocations: 0 / 494.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of Templates: time 0.01312/0.1506, allocations: 9.326 MB / 0.4919 GB, free: 11.13 MB / 382.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)