Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008044/0.008044, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00171/0.00171, allocations: 194.3 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1616/0.1616, allocations: 8.31 MB / 298.8 MB, free: 2.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 63.89 kB / 413.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2256, allocations: 51.26 MB / 464.7 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestIceConnOO): time 0.004237/0.2299, allocations: 3.507 MB / 468.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.2313, allocations: 1.007 MB / 469.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.2315, allocations: 6.531 kB / 469.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.232, allocations: 330.2 kB / 469.6 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.2325, allocations: 259.8 kB / 469.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.2331, allocations: 362.4 kB / 470.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005162/0.2336, allocations: 0.5568 MB / 470.8 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.234, allocations: 278.6 kB / 471 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.2342, allocations: 249.8 kB / 471.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.2346, allocations: 348.2 kB / 471.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.2347, allocations: 47.34 kB / 471.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.2349, allocations: 101.7 kB / 471.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.2351, allocations: 224.9 kB / 472 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.2353, allocations: 351.1 kB / 472.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008116/0.2361, allocations: 0.847 MB / 473.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2361, allocations: 0 / 473.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.175e-06/0.2361, allocations: 0 / 473.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.2361, allocations: 7.938 kB / 473.2 MB, free: 13.23 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001631/0.2378, allocations: 1.152 MB / 474.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2378, allocations: 10.16 kB / 474.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.238, allocations: 93.8 kB / 474.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.2387, allocations: 0.5975 MB / 475 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.2388, allocations: 32.78 kB / 475.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.2389, allocations: 39.23 kB / 475.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000812/0.2397, allocations: 416.8 kB / 475.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2397, allocations: 10.08 kB / 475.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.2397, allocations: 14.75 kB / 475.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.2398, allocations: 13.61 kB / 475.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.2406, allocations: 298.8 kB / 475.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002061/0.2426, allocations: 1.676 MB / 477.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006547/0.2433, allocations: 268 kB / 477.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002955/0.2436, allocations: 124.5 kB / 477.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.2436, allocations: 3.219 kB / 477.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.2441, allocations: 176.8 kB / 478.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.2441, allocations: 0 / 478.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001607/0.2457, allocations: 0.6225 MB / 478.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/0.2457, allocations: 54.56 kB / 478.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.2469, allocations: 1.121 MB / 479.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.2469, allocations: 30.98 kB / 479.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002545/0.2472, allocations: 393.2 kB / 480.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.2472, allocations: 89.97 kB / 480.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.791e-05/0.2473, allocations: 64.16 kB / 480.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.2474, allocations: 312.7 kB / 480.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/0.2477, allocations: 108.8 kB / 480.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.248, allocations: 170.3 kB / 481 MB, free: 8.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.2486, allocations: 306.6 kB / 481.3 MB, free: 7.984 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2486, allocations: 5.062 kB / 481.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009159/0.2495, allocations: 476.8 kB / 481.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.2496, allocations: 36.95 kB / 481.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2496, allocations: 6 kB / 481.8 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.2498, allocations: 57.72 kB / 481.9 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.25, allocations: 52.06 kB / 481.9 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.2513, allocations: 1.826 MB / 483.8 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.2516, allocations: 44.72 kB / 483.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.2516, allocations: 12.19 kB / 483.8 MB, free: 5.832 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (29): * Single equations (assignments): 27 * 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.0002561/0.2519, allocations: 280.9 kB / 484.1 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.252, allocations: 78.33 kB / 484.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.2529, allocations: 403.1 kB / 484.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2529, allocations: 3.469 kB / 484.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.2529, allocations: 3.938 kB / 484.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2529, allocations: 1.406 kB / 484.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.2534, allocations: 0.5482 MB / 485.1 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2534, allocations: 3.938 kB / 485.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.2536, allocations: 39.72 kB / 485.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001716/0.2538, allocations: 59.19 kB / 485.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.2538, allocations: 6.188 kB / 485.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.255, allocations: 1.824 MB / 487 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.255, allocations: 4.062 kB / 487 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2561, allocations: 0.5447 MB / 487.6 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.2563, allocations: 165.6 kB / 487.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.2563, allocations: 6.938 kB / 487.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2566, allocations: 30.91 kB / 487.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.2567, allocations: 28.28 kB / 487.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.2567, allocations: 8.125 kB / 487.8 MB, free: 2.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007586/0.2574, allocations: 0.8126 MB / 488.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2574, allocations: 4 kB / 488.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005121/0.258, allocations: 133.5 kB / 488.8 MB, free: 2.172 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 17 * 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.001299/0.2593, allocations: 0.5878 MB / 489.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009518/0.2602, allocations: 467.2 kB / 489.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2602, allocations: 2 kB / 489.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000439/0.2607, allocations: 253.5 kB / 490.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.2612, allocations: 97.61 kB / 490.2 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.2634, allocations: 1.509 MB / 491.7 MB, free: 492 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.2639, allocations: 0.9719 MB / 492.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002223/0.2641, allocations: 68.19 kB / 492.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.2643, allocations: 31.97 kB / 492.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2643, allocations: 0 / 492.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Templates: time 0.01267/0.2769, allocations: 6.648 MB / 499.4 MB, free: 9.949 MB / 366.1 MB make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.makefile (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestIceConnOO.pipe 2>&1)