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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.001327/0.001328, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001485/0.001485, allocations: 183 kB / 17.34 MB, free: 5.762 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.03721/0.03721, allocations: 8.039 MB / 299.2 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 63.89 kB / 413.7 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09359/0.09566, allocations: 51.19 MB / 464.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConn): time 0.004487/0.1002, allocations: 3.184 MB / 468.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1016, allocations: 0.799 MB / 468.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.1018, allocations: 7.938 kB / 468.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004712/0.1023, allocations: 291 kB / 469.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004063/0.1027, allocations: 219 kB / 469.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.1033, allocations: 296.9 kB / 469.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.1038, allocations: 499.1 kB / 470.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.1041, allocations: 206.7 kB / 470.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.1044, allocations: 203.3 kB / 470.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.1047, allocations: 287 kB / 470.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.656e-05/0.1047, allocations: 40 kB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.1049, allocations: 67.98 kB / 471 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.105, allocations: 191.4 kB / 471.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002245/0.1053, allocations: 294.1 kB / 471.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007028/0.106, allocations: 0.7118 MB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.106, allocations: 4 kB / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.106, allocations: 0 / 472.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.106, allocations: 0 / 472.2 MB, free: 11.78 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.00148/0.1075, allocations: 1.032 MB / 473.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.1076, allocations: 15.95 kB / 473.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.1077, allocations: 80.42 kB / 473.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.1084, allocations: 0.5398 MB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1085, allocations: 28.59 kB / 473.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/0.1085, allocations: 32 kB / 473.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.1092, allocations: 377.3 kB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1092, allocations: 7.891 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.024e-05/0.1093, allocations: 12 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1093, allocations: 8 kB / 474.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.1099, allocations: 262.4 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001962/0.1119, allocations: 1.663 MB / 476.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.1127, allocations: 286.5 kB / 476.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.113, allocations: 120.7 kB / 476.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.1131, allocations: 3.938 kB / 476.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000388/0.1135, allocations: 159.3 kB / 476.8 MB, free: 6.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 2.365e-06/0.1135, allocations: 4 kB / 476.8 MB, free: 6.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001761/0.1153, allocations: 0.6497 MB / 477.4 MB, free: 6.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.1153, allocations: 89.09 kB / 477.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009227/0.1163, allocations: 0.9572 MB / 478.5 MB, free: 5.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1163, allocations: 33.7 kB / 478.5 MB, free: 5.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.1166, allocations: 344.3 kB / 478.8 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.1166, allocations: 79.34 kB / 478.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.1167, allocations: 53.66 kB / 479 MB, free: 4.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1169, allocations: 386.8 kB / 479.3 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1172, allocations: 113 kB / 479.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.1175, allocations: 188.2 kB / 479.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006091/0.1182, allocations: 318.9 kB / 480 MB, free: 3.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1182, allocations: 4 kB / 480 MB, free: 3.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001097/0.1193, allocations: 0.5008 MB / 480.5 MB, free: 3.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/0.1193, allocations: 41.94 kB / 480.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.1194, allocations: 3.938 kB / 480.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.1196, allocations: 56.83 kB / 480.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.1198, allocations: 59.89 kB / 480.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.122, allocations: 1.966 MB / 482.6 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.1223, allocations: 47.86 kB / 482.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/0.1223, allocations: 15.98 kB / 482.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004824/0.1228, allocations: 312.3 kB / 483 MB, free: 428 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002902/0.1231, allocations: 183.2 kB / 483.1 MB, free: 208 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005493/0.1237, allocations: 305.8 kB / 483.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.1237, allocations: 0 / 483.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008199/0.1245, allocations: 439.2 kB / 483.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.1245, allocations: 37.69 kB / 483.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1245, allocations: 0 / 483.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000137/0.1247, allocations: 52.78 kB / 483.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1249, allocations: 47.89 kB / 484 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.1262, allocations: 1.76 MB / 485.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.1265, allocations: 43.86 kB / 485.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.1265, allocations: 16 kB / 485.8 MB, free: 13.32 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.0001456/0.1266, allocations: 205.3 kB / 486 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.1267, allocations: 55.62 kB / 486.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009356/0.1277, allocations: 395.8 kB / 486.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1277, allocations: 4 kB / 486.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1277, allocations: 0 / 486.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1277, allocations: 7.922 kB / 486.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.1281, allocations: 489.1 kB / 486.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1281, allocations: 4 kB / 486.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.1284, allocations: 43.91 kB / 487 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002222/0.1286, allocations: 64.81 kB / 487.1 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1286, allocations: 8.172 kB / 487.1 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.1305, allocations: 1.955 MB / 489 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1306, allocations: 0 / 489 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.1317, allocations: 0.519 MB / 489.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/0.1319, allocations: 148.7 kB / 489.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.054e-05/0.1319, allocations: 8 kB / 489.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.1322, allocations: 27.95 kB / 489.7 MB, free: 9.168 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.1323, allocations: 35.86 kB / 489.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1323, allocations: 4 kB / 489.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007163/0.133, allocations: 0.706 MB / 490.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.133, allocations: 0 / 490.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007244/0.1337, allocations: 195.6 kB / 490.7 MB, free: 8.238 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.0007698/0.1345, allocations: 370.8 kB / 491 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.1361, allocations: 0.8122 MB / 491.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1361, allocations: 0 / 491.8 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.1366, allocations: 282.5 kB / 492.1 MB, free: 6.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.1371, allocations: 85.33 kB / 492.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.1391, allocations: 1.386 MB / 493.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.1396, allocations: 0.9217 MB / 494.5 MB, free: 4.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.089e-05/0.1397, allocations: 35.44 kB / 494.5 MB, free: 4.367 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1397, allocations: 0 / 494.5 MB, free: 4.367 MB / 366.1 MB Notification: Performance of Templates: time 0.01243/0.1521, allocations: 9.316 MB / 0.492 GB, free: 11.05 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)