Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 106 kB / 16.4 MB, free: 6.504 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.002136/0.002136, allocations: 193.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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7399/0.7399, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 70.5 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1518, allocations: 76.17 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.07446/0.2263, allocations: 75.16 MB / 0.7055 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02089/0.2473, allocations: 15.16 MB / 0.7203 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.2502, allocations: 63.62 kB / 0.7203 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002631/0.2528, allocations: 0.8618 MB / 0.7212 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.2603, allocations: 2.724 MB / 0.7238 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.2639, allocations: 1.397 MB / 0.7252 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.2694, allocations: 4.409 MB / 0.7295 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002206/0.2716, allocations: 1.457 MB / 0.7309 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003564/0.2752, allocations: 1.678 MB / 0.7326 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.2773, allocations: 1.217 MB / 0.7337 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.2777, allocations: 164 kB / 0.7339 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.2809, allocations: 1.404 MB / 0.7353 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005832/0.2815, allocations: 394.6 kB / 0.7357 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.2831, allocations: 0.906 MB / 0.7365 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004701/0.2878, allocations: 2.859 MB / 0.7393 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2878, allocations: 0 / 0.7393 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2878, allocations: 0 / 0.7393 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.699e-05/0.2879, allocations: 0 / 0.7393 GB, free: 6.188 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004235/0.2921, allocations: 2.083 MB / 0.7414 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.2922, allocations: 8.031 kB / 0.7414 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008605/0.293, allocations: 238.8 kB / 0.7416 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.2956, allocations: 1.517 MB / 0.7431 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.2957, allocations: 78 kB / 0.7432 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.2959, allocations: 104 kB / 0.7433 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.2979, allocations: 1.1 MB / 0.7443 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.298, allocations: 0 / 0.7443 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.2981, allocations: 40 kB / 0.7444 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/0.2981, allocations: 24 kB / 0.7444 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.338/0.6361, allocations: 0.8917 MB / 0.7453 GB, free: 110.5 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006615/0.6428, allocations: 4.893 MB / 0.75 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6443, allocations: 0.6119 MB / 0.7506 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007219/0.645, allocations: 353.2 kB / 0.751 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.6455, allocations: 0.8303 MB / 0.7518 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.6455, allocations: 43.36 kB / 0.7518 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.806e-06/0.6455, allocations: 1.156 kB / 0.7518 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007596/0.6531, allocations: 1.689 MB / 0.7535 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.6532, allocations: 64.19 kB / 0.7535 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6551, allocations: 1.227 MB / 0.7547 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.6552, allocations: 43.23 kB / 0.7548 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/0.6557, allocations: 0.6027 MB / 0.7554 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.6559, allocations: 219 kB / 0.7556 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.6561, allocations: 156.9 kB / 0.7557 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.6562, allocations: 333.6 kB / 0.756 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006712/0.6569, allocations: 286.5 kB / 0.7563 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/0.6577, allocations: 0.4916 MB / 0.7568 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.659, allocations: 0.7079 MB / 0.7575 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.659, allocations: 5.219 kB / 0.7575 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005026/0.6641, allocations: 1.276 MB / 0.7587 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.6641, allocations: 6.984 kB / 0.7587 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.6641, allocations: 3.375 kB / 0.7587 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.6647, allocations: 142.1 kB / 0.7589 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.6654, allocations: 157.4 kB / 0.759 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008679/0.6663, allocations: 0.7006 MB / 0.7597 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6675, allocations: 118.6 kB / 0.7598 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.802e-05/0.6676, allocations: 31.09 kB / 0.7599 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001257/0.6689, allocations: 0.5564 MB / 0.7604 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008826/0.6698, allocations: 0.4884 MB / 0.7609 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001341/0.6711, allocations: 0.704 MB / 0.7616 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.6712, allocations: 1.719 kB / 0.7616 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00505/0.6762, allocations: 1.274 MB / 0.7628 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.6763, allocations: 11.22 kB / 0.7628 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6763, allocations: 3.75 kB / 0.7628 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005148/0.6768, allocations: 134.5 kB / 0.763 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.6774, allocations: 164.7 kB / 0.7631 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006985/0.6781, allocations: 0.6982 MB / 0.7638 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6795, allocations: 99.64 kB / 0.7639 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.6796, allocations: 33.7 kB / 0.7639 GB, free: 100.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003577/0.68, allocations: 227.4 kB / 0.7641 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.6803, allocations: 135.8 kB / 0.7643 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004846/0.6852, allocations: 1.263 MB / 0.7655 GB, free: 99.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.6852, allocations: 10.62 kB / 0.7655 GB, free: 99.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.6852, allocations: 3.984 kB / 0.7655 GB, free: 99.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004144/0.6894, allocations: 1.101 MB / 0.7666 GB, free: 99.08 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/0.6962, allocations: 2.617 MB / 0.7691 GB, free: 97.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6962, allocations: 4.5 kB / 0.7691 GB, free: 97.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.6967, allocations: 113.5 kB / 0.7693 GB, free: 97.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/0.6972, allocations: 132.1 kB / 0.7694 GB, free: 97.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.6972, allocations: 25.06 kB / 0.7694 GB, free: 97.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004577/0.7018, allocations: 2.621 MB / 0.772 GB, free: 94.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.7018, allocations: 11.97 kB / 0.772 GB, free: 94.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004961/0.7068, allocations: 1.698 MB / 0.7736 GB, free: 93.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004981/0.7073, allocations: 308.9 kB / 0.7739 GB, free: 93.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.7075, allocations: 15.88 kB / 0.7739 GB, free: 93.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.7083, allocations: 63.44 kB / 0.774 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7084, allocations: 60.11 kB / 0.7741 GB, free: 93.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.7085, allocations: 27.73 kB / 0.7741 GB, free: 93.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001053/0.7095, allocations: 0.8844 MB / 0.775 GB, free: 93.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7096, allocations: 96 / 0.775 GB, free: 93.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001704/0.7113, allocations: 0.7189 MB / 0.7757 GB, free: 92.98 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007515/0.712, allocations: 471.4 kB / 0.7761 GB, free: 92.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.7144, allocations: 1.117 MB / 0.7772 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7144, allocations: 4 kB / 0.7772 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.7158, allocations: 0.5652 MB / 0.7778 GB, free: 91.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00318/0.719, allocations: 0.7925 MB / 0.7785 GB, free: 91.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.7218, allocations: 2.275 MB / 0.7807 GB, free: 88.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.7223, allocations: 1.179 MB / 0.7819 GB, free: 87.74 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000899/0.7232, allocations: 310.1 kB / 0.7822 GB, free: 87.45 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.7234, allocations: 107.4 kB / 0.7823 GB, free: 87.34 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.7234, allocations: 0 / 0.7823 GB, free: 87.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.0427/0.7661, allocations: 32.38 MB / 0.8139 GB, free: 55.34 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)