Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 98.34 kB / 16.02 MB, free: 80 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.0008958/0.0008959, allocations: 181.8 kB / 16.92 MB, free: 6.754 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.436/1.436, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7716/0.7716, allocations: 126.2 MB / 418.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005664/0.0005663, allocations: 17.64 kB / 0.4972 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/0.516, allocations: 80.07 MB / 0.5754 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.0808/0.5969, allocations: 73.61 MB / 0.6473 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02143/0.6184, allocations: 12.74 MB / 0.6597 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.6216, allocations: 59.62 kB / 0.6598 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.6244, allocations: 0.672 MB / 0.6604 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008328/0.6327, allocations: 2.29 MB / 0.6627 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004281/0.637, allocations: 1.272 MB / 0.6639 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00843/0.6455, allocations: 5.578 MB / 0.6694 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.6483, allocations: 1.159 MB / 0.6705 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.6524, allocations: 1.334 MB / 0.6718 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.6551, allocations: 1.139 MB / 0.6729 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005349/0.6557, allocations: 60 kB / 0.673 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003962/0.6596, allocations: 1.239 MB / 0.6742 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007098/0.6604, allocations: 294.5 kB / 0.6745 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.6627, allocations: 0.8139 MB / 0.6753 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006045/0.6687, allocations: 2.759 MB / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.6688, allocations: 0 / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6688, allocations: 0 / 0.678 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.456e-05/0.6689, allocations: 0 / 0.678 GB, free: 15.02 MB / 0.5137 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.004929/0.6738, allocations: 1.807 MB / 0.6797 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6739, allocations: 8.031 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.675, allocations: 242.8 kB / 0.68 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.6785, allocations: 1.509 MB / 0.6814 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.754e-05/0.6786, allocations: 85.94 kB / 0.6815 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.6788, allocations: 100 kB / 0.6816 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.6814, allocations: 1.116 MB / 0.6827 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-05/0.6814, allocations: 3.984 kB / 0.6827 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.6815, allocations: 44 kB / 0.6827 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.6816, allocations: 28 kB / 0.6828 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.6838, allocations: 0.9329 MB / 0.6837 GB, free: 8.996 MB / 0.5137 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.007337/0.6912, allocations: 4.951 MB / 0.6885 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001502/0.6927, allocations: 0.6296 MB / 0.6891 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.6934, allocations: 363.3 kB / 0.6895 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006075/0.6941, allocations: 0.8277 MB / 0.6903 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.6941, allocations: 43.06 kB / 0.6903 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.6941, allocations: 0 / 0.6903 GB, free: 1.703 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.008195/0.7023, allocations: 1.931 MB / 0.6922 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.7024, allocations: 59.97 kB / 0.6923 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/0.7046, allocations: 1.243 MB / 0.6935 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.7048, allocations: 41.7 kB / 0.6935 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005875/0.7054, allocations: 0.6106 MB / 0.6941 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.7056, allocations: 212.9 kB / 0.6943 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.7058, allocations: 61.69 kB / 0.6944 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.7059, allocations: 337.9 kB / 0.6947 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.7067, allocations: 301.8 kB / 0.695 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009096/0.7076, allocations: 0.5033 MB / 0.6955 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.7091, allocations: 0.7402 MB / 0.6962 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.7092, allocations: 4 kB / 0.6962 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005259/0.7144, allocations: 1.402 MB / 0.6976 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/0.7146, allocations: 202.4 kB / 0.6978 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.7146, allocations: 4 kB / 0.6978 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/0.7153, allocations: 160.7 kB / 0.6979 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.716, allocations: 175.7 kB / 0.6981 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009604/0.717, allocations: 0.7162 MB / 0.6988 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.7183, allocations: 163 kB / 0.699 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.7184, allocations: 39.98 kB / 0.699 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.7184, allocations: 4 kB / 0.699 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004698/0.7231, allocations: 1.245 MB / 0.7002 GB, free: 7.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7231, allocations: 8.312 kB / 0.7002 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/0.7237, allocations: 156.7 kB / 0.7004 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.7243, allocations: 167.7 kB / 0.7005 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008853/0.7252, allocations: 0.7162 MB / 0.7012 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.7266, allocations: 155.2 kB / 0.7014 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.7267, allocations: 31.98 kB / 0.7014 GB, free: 6.027 MB / 0.5294 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.000873/0.7276, allocations: 428.8 kB / 0.7018 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.7278, allocations: 138.3 kB / 0.7019 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005101/0.733, allocations: 1.393 MB / 0.7033 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.733, allocations: 11.98 kB / 0.7033 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.733, allocations: 0 / 0.7033 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004459/0.7375, allocations: 1.224 MB / 0.7045 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/0.7448, allocations: 2.728 MB / 0.7072 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.7448, allocations: 4 kB / 0.7072 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004976/0.7453, allocations: 115.9 kB / 0.7073 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.7459, allocations: 157.1 kB / 0.7074 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.746, allocations: 19.98 kB / 0.7075 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.7512, allocations: 2.485 MB / 0.7099 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.7513, allocations: 4 kB / 0.7099 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00614/0.7574, allocations: 1.84 MB / 0.7117 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.7585, allocations: 339 kB / 0.712 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/0.7587, allocations: 20 kB / 0.712 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.7597, allocations: 99.91 kB / 0.7121 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.7599, allocations: 60.23 kB / 0.7122 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.76, allocations: 31.98 kB / 0.7122 GB, free: 10.55 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001446/0.7614, allocations: 0.8903 MB / 0.7131 GB, free: 9.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7614, allocations: 0 / 0.7131 GB, free: 9.66 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002079/0.7635, allocations: 0.7213 MB / 0.7138 GB, free: 8.938 MB / 0.545 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.001021/0.7645, allocations: 476.9 kB / 0.7142 GB, free: 8.477 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.7673, allocations: 1.157 MB / 0.7154 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7673, allocations: 0 / 0.7154 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.7689, allocations: 0.5917 MB / 0.716 GB, free: 6.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/0.7733, allocations: 0.8107 MB / 0.7167 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/0.7779, allocations: 2.844 MB / 0.7195 GB, free: 3.008 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/0.7788, allocations: 1.183 MB / 0.7207 GB, free: 1.793 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001324/0.7801, allocations: 309.5 kB / 0.721 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.7804, allocations: 111.4 kB / 0.7211 GB, free: 1.391 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.7804, allocations: 4 kB / 0.7211 GB, free: 1.387 MB / 0.545 GB Notification: Performance of Templates: time 0.05908/0.8395, allocations: 33 MB / 0.7533 GB, free: 0.7852 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)