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.0009112/0.0009112, allocations: 96.97 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 171.5 kB / 16.56 MB, free: 6.387 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6553/0.6553, allocations: 113.8 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003019, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 77.15 MB / 0.5568 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.311/0.4392, allocations: 62.93 MB / 0.6183 GB, free: 468 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01932/0.4585, allocations: 13 MB / 0.631 GB, free: 7.223 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.4614, allocations: 54.91 kB / 0.631 GB, free: 7.199 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002291/0.4637, allocations: 0.7422 MB / 0.6318 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007385/0.4711, allocations: 2.418 MB / 0.6341 GB, free: 4.938 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004519/0.4757, allocations: 1.519 MB / 0.6356 GB, free: 3.934 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004654/0.4803, allocations: 2.533 MB / 0.6381 GB, free: 2.258 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.4821, allocations: 1.04 MB / 0.6391 GB, free: 1.625 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002682/0.4848, allocations: 1.167 MB / 0.6402 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.4862, allocations: 0.7779 MB / 0.641 GB, free: 460 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001623/0.4864, allocations: 53.88 kB / 0.641 GB, free: 460 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002427/0.4888, allocations: 0.8398 MB / 0.6419 GB, free: 104 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003418/0.4892, allocations: 263.6 kB / 0.6421 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.4897, allocations: 360.7 kB / 0.6425 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.4921, allocations: 2.011 MB / 0.6444 GB, free: 14.31 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.4921, allocations: 0 / 0.6444 GB, free: 14.31 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.4921, allocations: 3.984 kB / 0.6444 GB, free: 14.3 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.192e-05/0.4922, allocations: 0 / 0.6444 GB, free: 14.3 MB / 478.1 MB 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.003255/0.4954, allocations: 1.785 MB / 0.6462 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.4955, allocations: 11.5 kB / 0.6462 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.4962, allocations: 243.6 kB / 0.6464 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.4986, allocations: 1.373 MB / 0.6478 GB, free: 11.74 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.4987, allocations: 75.91 kB / 0.6478 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.4988, allocations: 110.3 kB / 0.6479 GB, free: 11.67 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.5007, allocations: 1.109 MB / 0.649 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.5008, allocations: 0.875 kB / 0.649 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.855e-05/0.5009, allocations: 47.58 kB / 0.6491 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/0.5009, allocations: 26.73 kB / 0.6491 GB, free: 10.94 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.5027, allocations: 0.9228 MB / 0.65 GB, free: 10.46 MB / 478.1 MB 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.005868/0.5086, allocations: 4.947 MB / 0.6548 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.51, allocations: 0.6361 MB / 0.6554 GB, free: 4.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.5106, allocations: 0.8277 MB / 0.6562 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.5107, allocations: 47.08 kB / 0.6563 GB, free: 3.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.747e-06/0.5107, allocations: 0 / 0.6563 GB, free: 3.516 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.007005/0.5177, allocations: 1.889 MB / 0.6581 GB, free: 1.602 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.5177, allocations: 55.97 kB / 0.6582 GB, free: 1.535 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.5193, allocations: 1.245 MB / 0.6594 GB, free: 280 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.763e-05/0.5193, allocations: 37.7 kB / 0.6594 GB, free: 236 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005113/0.5199, allocations: 0.6027 MB / 0.66 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.52, allocations: 220.7 kB / 0.6602 GB, free: 15.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5201, allocations: 12 kB / 0.6602 GB, free: 15.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5202, allocations: 330 kB / 0.6606 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000659/0.5209, allocations: 301.8 kB / 0.6609 GB, free: 14.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.5217, allocations: 0.5007 MB / 0.6613 GB, free: 14.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007065/0.5224, allocations: 355 kB / 0.6617 GB, free: 13.85 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.5224, allocations: 4 kB / 0.6617 GB, free: 13.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004529/0.527, allocations: 1.41 MB / 0.6631 GB, free: 12.42 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004935/0.5275, allocations: 1.419 MB / 0.6644 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5275, allocations: 4 kB / 0.6644 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.528, allocations: 144.7 kB / 0.6646 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.5287, allocations: 175.7 kB / 0.6648 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008175/0.5295, allocations: 0.7123 MB / 0.6655 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.5307, allocations: 174.9 kB / 0.6656 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.5308, allocations: 35.98 kB / 0.6657 GB, free: 9.648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.5308, allocations: 4 kB / 0.6657 GB, free: 9.645 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004393/0.5352, allocations: 1.249 MB / 0.6669 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5352, allocations: 4 kB / 0.6669 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.5357, allocations: 146.4 kB / 0.667 GB, free: 8.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005977/0.5363, allocations: 163.7 kB / 0.6672 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000786/0.5371, allocations: 0.7201 MB / 0.6679 GB, free: 7.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.5381, allocations: 163.9 kB / 0.668 GB, free: 7.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.849e-05/0.5382, allocations: 31.98 kB / 0.6681 GB, free: 7.145 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.000559/0.5387, allocations: 417 kB / 0.6685 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.5389, allocations: 138.4 kB / 0.6686 GB, free: 6.59 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.5436, allocations: 1.4 MB / 0.67 GB, free: 5.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.5436, allocations: 11.98 kB / 0.67 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5436, allocations: 0 / 0.67 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004159/0.5478, allocations: 1.224 MB / 0.6712 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006704/0.5545, allocations: 2.758 MB / 0.6739 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.5545, allocations: 4 kB / 0.6739 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/0.555, allocations: 124.2 kB / 0.674 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004856/0.5555, allocations: 142.1 kB / 0.6741 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.656e-05/0.5556, allocations: 19.98 kB / 0.6741 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005081/0.5607, allocations: 2.548 MB / 0.6766 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5607, allocations: 7.938 kB / 0.6766 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005612/0.5663, allocations: 2.05 MB / 0.6786 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007409/0.5671, allocations: 355 kB / 0.679 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.5673, allocations: 19.98 kB / 0.679 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/0.5683, allocations: 91.83 kB / 0.6791 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5684, allocations: 64.25 kB / 0.6791 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.5685, allocations: 27.98 kB / 0.6792 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001309/0.5698, allocations: 0.9052 MB / 0.6801 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5698, allocations: 0 / 0.6801 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001965/0.5718, allocations: 0.7174 MB / 0.6808 GB, free: 9.582 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007987/0.5726, allocations: 452.6 kB / 0.6812 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002558/0.5752, allocations: 1.157 MB / 0.6823 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5752, allocations: 0 / 0.6823 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.5767, allocations: 0.6033 MB / 0.6829 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/0.5799, allocations: 0.7516 MB / 0.6836 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.5838, allocations: 2.766 MB / 0.6863 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.5846, allocations: 1.21 MB / 0.6875 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001178/0.5858, allocations: 310.9 kB / 0.6878 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.5861, allocations: 103.4 kB / 0.6879 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.5861, allocations: 0 / 0.6879 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of Templates: time 0.04502/0.6311, allocations: 30.02 MB / 0.7172 GB, free: 4.48 MB / 0.5294 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)