Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 92.14 kB / 16.67 MB, free: 6.594 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.001271/0.001271, allocations: 182 kB / 17.58 MB, free: 6.188 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.353/1.353, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7481/0.7481, allocations: 115.5 MB / 408.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.000372, allocations: 11.98 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4196, allocations: 77.52 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06455/0.4842, allocations: 73.45 MB / 0.6323 GB, free: 9.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02091/0.5052, allocations: 15.04 MB / 0.647 GB, free: 10.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003343/0.5086, allocations: 59.62 kB / 0.6471 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.5114, allocations: 0.6721 MB / 0.6477 GB, free: 10 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007977/0.5194, allocations: 2.386 MB / 0.65 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.5237, allocations: 1.276 MB / 0.6513 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008774/0.5325, allocations: 5.552 MB / 0.6567 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.5356, allocations: 1.151 MB / 0.6578 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.54, allocations: 1.334 MB / 0.6591 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00284/0.5429, allocations: 1.155 MB / 0.6603 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005178/0.5435, allocations: 56 kB / 0.6603 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/0.5469, allocations: 1.251 MB / 0.6615 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006276/0.5476, allocations: 286.6 kB / 0.6618 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001832/0.5494, allocations: 0.8022 MB / 0.6626 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003394/0.5528, allocations: 2.174 MB / 0.6647 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5529, allocations: 0 / 0.6647 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.729e-06/0.5529, allocations: 0 / 0.6647 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.465e-05/0.553, allocations: 3.938 kB / 0.6647 GB, free: 8.516 MB / 0.4981 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.004381/0.5574, allocations: 1.791 MB / 0.6665 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5574, allocations: 11.97 kB / 0.6665 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.5585, allocations: 242.9 kB / 0.6667 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.5618, allocations: 1.486 MB / 0.6682 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.062e-05/0.5619, allocations: 74 kB / 0.6682 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002483/0.5621, allocations: 100 kB / 0.6683 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.5646, allocations: 1.12 MB / 0.6694 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.89e-05/0.5647, allocations: 0 / 0.6694 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.5648, allocations: 47.98 kB / 0.6695 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.5649, allocations: 39.91 kB / 0.6695 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.5672, allocations: 0.9291 MB / 0.6704 GB, free: 2.531 MB / 0.4981 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.007313/0.5745, allocations: 4.921 MB / 0.6752 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.5761, allocations: 0.6506 MB / 0.6759 GB, free: 12.66 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008022/0.5769, allocations: 374.3 kB / 0.6762 GB, free: 12.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00071/0.5776, allocations: 0.8316 MB / 0.677 GB, free: 11.28 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.5777, allocations: 39.12 kB / 0.6771 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=62): time 2.434e-06/0.5777, allocations: 0 / 0.6771 GB, free: 11.23 MB / 0.5138 GB Notification: Performance of matching and sorting (n=62): time 0.005367/0.5831, allocations: 1.533 MB / 0.6786 GB, free: 9.676 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.5831, allocations: 59.97 kB / 0.6786 GB, free: 9.605 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.5853, allocations: 1.206 MB / 0.6798 GB, free: 8.383 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.5854, allocations: 41.7 kB / 0.6798 GB, free: 8.336 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005775/0.586, allocations: 0.6065 MB / 0.6804 GB, free: 7.723 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.5862, allocations: 212.9 kB / 0.6806 GB, free: 7.512 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5864, allocations: 61.69 kB / 0.6807 GB, free: 7.445 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5865, allocations: 337.9 kB / 0.681 GB, free: 7.109 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.5872, allocations: 305.8 kB / 0.6813 GB, free: 6.812 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009248/0.5882, allocations: 0.5038 MB / 0.6818 GB, free: 6.23 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.5897, allocations: 0.7548 MB / 0.6825 GB, free: 5.43 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.5898, allocations: 4 kB / 0.6825 GB, free: 5.426 MB / 0.5138 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005111/0.5949, allocations: 1.402 MB / 0.6839 GB, free: 4.012 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.5951, allocations: 189.5 kB / 0.6841 GB, free: 3.781 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5951, allocations: 4 kB / 0.6841 GB, free: 3.777 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007564/0.5958, allocations: 166.2 kB / 0.6842 GB, free: 3.613 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006402/0.5965, allocations: 167.7 kB / 0.6844 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/0.5974, allocations: 0.728 MB / 0.6851 GB, free: 2.695 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.5988, allocations: 167.1 kB / 0.6853 GB, free: 2.531 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.5989, allocations: 31.98 kB / 0.6853 GB, free: 2.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.5989, allocations: 11.94 kB / 0.6853 GB, free: 2.488 MB / 0.5138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004755/0.6037, allocations: 1.249 MB / 0.6865 GB, free: 1.234 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.6037, allocations: 0 / 0.6865 GB, free: 1.234 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.6044, allocations: 165.1 kB / 0.6867 GB, free: 1.07 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.6051, allocations: 163.8 kB / 0.6869 GB, free: 0.9102 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009118/0.606, allocations: 0.7292 MB / 0.6876 GB, free: 160 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.6075, allocations: 164.4 kB / 0.6877 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.6076, allocations: 28 kB / 0.6877 GB, free: 15.96 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0008089/0.6084, allocations: 424.4 kB / 0.6882 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000385/0.6088, allocations: 134.3 kB / 0.6883 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/0.6139, allocations: 1.398 MB / 0.6896 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.614, allocations: 12 kB / 0.6897 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.614, allocations: 0 / 0.6897 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004433/0.6184, allocations: 1.217 MB / 0.6908 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.6234, allocations: 2.341 MB / 0.6931 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.6235, allocations: 4 kB / 0.6931 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005044/0.624, allocations: 124.2 kB / 0.6933 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006497/0.6246, allocations: 160.7 kB / 0.6934 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.347e-05/0.6247, allocations: 16 kB / 0.6934 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008909/0.6256, allocations: 0.7224 MB / 0.6941 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6256, allocations: 4 kB / 0.6941 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.6288, allocations: 1.462 MB / 0.6956 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008636/0.6297, allocations: 339 kB / 0.6959 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.63, allocations: 16 kB / 0.6959 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.6312, allocations: 91.91 kB / 0.696 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.6313, allocations: 56.25 kB / 0.696 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.6314, allocations: 39.84 kB / 0.6961 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001389/0.6328, allocations: 0.8701 MB / 0.6969 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6328, allocations: 0 / 0.6969 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002106/0.635, allocations: 0.7057 MB / 0.6976 GB, free: 5.566 MB / 0.5294 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/0.6361, allocations: 457.7 kB / 0.6981 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.6391, allocations: 1.18 MB / 0.6992 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6391, allocations: 0 / 0.6992 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.6401, allocations: 419.3 kB / 0.6996 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/0.645, allocations: 0.7894 MB / 0.7004 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/0.6502, allocations: 2.869 MB / 0.7032 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009906/0.6512, allocations: 1.169 MB / 0.7043 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/0.6517, allocations: 115.4 kB / 0.7044 GB, free: 14.51 MB / 0.545 GB Notification: Performance of SimCode: time 1.001e-06/0.6517, allocations: 0 / 0.7044 GB, free: 14.51 MB / 0.545 GB Notification: Performance of Templates: time 0.04801/0.6997, allocations: 30.73 MB / 0.7344 GB, free: 15.95 MB / 0.5763 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)