Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007467/0.0007468, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.005035/0.005035, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001673/0.001673, allocations: 281.7 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9494/0.9494, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 16.84 kB / 0.5986 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06579/0.2276, allocations: 73.46 MB / 0.7569 GB, free: 5.391 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.3377/0.5654, allocations: 15.02 MB / 0.7715 GB, free: 29.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.5679, allocations: 59 kB / 0.7716 GB, free: 29.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.5699, allocations: 0.6749 MB / 0.7722 GB, free: 29.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007598/0.5775, allocations: 2.385 MB / 0.7746 GB, free: 29.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.5814, allocations: 1.268 MB / 0.7758 GB, free: 29.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.007522/0.5889, allocations: 5.57 MB / 0.7813 GB, free: 29.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.5914, allocations: 1.158 MB / 0.7824 GB, free: 29.36 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003684/0.5951, allocations: 1.325 MB / 0.7837 GB, free: 29.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.5973, allocations: 1.155 MB / 0.7848 GB, free: 28.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.5976, allocations: 56.59 kB / 0.7849 GB, free: 28.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.6007, allocations: 1.235 MB / 0.7861 GB, free: 28.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.6011, allocations: 287.6 kB / 0.7863 GB, free: 28.78 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001054/0.6021, allocations: 0.8019 MB / 0.7871 GB, free: 28.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003902/0.606, allocations: 2.713 MB / 0.7898 GB, free: 28.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6061, allocations: 1.75 kB / 0.7898 GB, free: 28.13 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6061, allocations: 4 kB / 0.7898 GB, free: 28.13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.992e-05/0.6061, allocations: 0 / 0.7898 GB, free: 28.13 MB / 0.545 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.003206/0.6093, allocations: 1.783 MB / 0.7915 GB, free: 27.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.6094, allocations: 13.53 kB / 0.7915 GB, free: 27.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007794/0.6102, allocations: 238.2 kB / 0.7918 GB, free: 27.01 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.6127, allocations: 1.49 MB / 0.7932 GB, free: 26.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-05/0.6128, allocations: 75.31 kB / 0.7933 GB, free: 26.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.613, allocations: 104.8 kB / 0.7934 GB, free: 26.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.6152, allocations: 1.122 MB / 0.7945 GB, free: 26.43 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.6152, allocations: 5.312 kB / 0.7945 GB, free: 26.43 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-05/0.6153, allocations: 38.81 kB / 0.7945 GB, free: 26.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.6154, allocations: 29.8 kB / 0.7946 GB, free: 26.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.6172, allocations: 0.9397 MB / 0.7955 GB, free: 26.09 MB / 0.545 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.005269/0.6225, allocations: 4.911 MB / 0.8003 GB, free: 22.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.6239, allocations: 0.642 MB / 0.8009 GB, free: 22.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.6246, allocations: 375.1 kB / 0.8012 GB, free: 21.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000458/0.6251, allocations: 0.8228 MB / 0.8021 GB, free: 20.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.6252, allocations: 39.81 kB / 0.8021 GB, free: 20.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.595e-06/0.6252, allocations: 7.875 kB / 0.8021 GB, free: 20.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.008123/0.6333, allocations: 1.907 MB / 0.804 GB, free: 19.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.6334, allocations: 57.44 kB / 0.804 GB, free: 19.87 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.6353, allocations: 1.21 MB / 0.8052 GB, free: 19.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/0.6354, allocations: 43.2 kB / 0.8052 GB, free: 19.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003984/0.6358, allocations: 0.5997 MB / 0.8058 GB, free: 18.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.636, allocations: 215.1 kB / 0.806 GB, free: 18.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.6361, allocations: 66.31 kB / 0.8061 GB, free: 18.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.032e-05/0.6362, allocations: 332.7 kB / 0.8064 GB, free: 18.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006805/0.6368, allocations: 302.3 kB / 0.8067 GB, free: 17.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.6376, allocations: 0.5118 MB / 0.8072 GB, free: 17.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.639, allocations: 0.7464 MB / 0.8079 GB, free: 17.1 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.086e-06/0.6391, allocations: 7.281 kB / 0.8079 GB, free: 17.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004746/0.6438, allocations: 1.411 MB / 0.8093 GB, free: 16.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/0.6439, allocations: 200.4 kB / 0.8095 GB, free: 16.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6439, allocations: 3.312 kB / 0.8095 GB, free: 16.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000586/0.6445, allocations: 144.7 kB / 0.8096 GB, free: 16.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.6452, allocations: 170.9 kB / 0.8098 GB, free: 16.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007375/0.6459, allocations: 0.7168 MB / 0.8105 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.6474, allocations: 170.8 kB / 0.8107 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.6475, allocations: 29.3 kB / 0.8107 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.346e-06/0.6475, allocations: 3.344 kB / 0.8107 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004333/0.6518, allocations: 1.259 MB / 0.8119 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.6519, allocations: 3.406 kB / 0.8119 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.6524, allocations: 145 kB / 0.8121 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.6529, allocations: 167 kB / 0.8122 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006719/0.6536, allocations: 0.712 MB / 0.8129 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.6551, allocations: 158 kB / 0.8131 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/0.6552, allocations: 41.95 kB / 0.8131 GB, free: 14 MB / 0.545 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.0007741/0.6559, allocations: 427 kB / 0.8135 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.6562, allocations: 133.9 kB / 0.8137 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004488/0.6607, allocations: 1.41 MB / 0.815 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.6607, allocations: 13.02 kB / 0.815 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6607, allocations: 0 / 0.815 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004096/0.6648, allocations: 1.234 MB / 0.8162 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006867/0.6717, allocations: 2.733 MB / 0.8189 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.6717, allocations: 7.281 kB / 0.8189 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.6722, allocations: 118 kB / 0.819 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.6726, allocations: 142.2 kB / 0.8192 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.6727, allocations: 22 kB / 0.8192 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/0.6769, allocations: 2.488 MB / 0.8216 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.677, allocations: 9.562 kB / 0.8216 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005192/0.6821, allocations: 1.851 MB / 0.8234 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.6828, allocations: 329.7 kB / 0.8238 GB, free: 6.965 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.683, allocations: 18.81 kB / 0.8238 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000885/0.6839, allocations: 99.34 kB / 0.8239 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.684, allocations: 58.05 kB / 0.8239 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.6841, allocations: 32.17 kB / 0.824 GB, free: 6.859 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001078/0.6852, allocations: 0.8702 MB / 0.8248 GB, free: 6.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6852, allocations: 0 / 0.8248 GB, free: 6.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001742/0.6869, allocations: 0.7086 MB / 0.8255 GB, free: 6.23 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.0007872/0.6877, allocations: 461.9 kB / 0.8259 GB, free: 5.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.69, allocations: 1.165 MB / 0.8271 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.69, allocations: 8.062 kB / 0.8271 GB, free: 4.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00136/0.6914, allocations: 0.5953 MB / 0.8277 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/0.6954, allocations: 0.7903 MB / 0.8284 GB, free: 3.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003448/0.6989, allocations: 2.821 MB / 0.8312 GB, free: 492 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.6996, allocations: 1.183 MB / 0.8323 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001271/0.7009, allocations: 314.3 kB / 0.8326 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/0.7012, allocations: 103.4 kB / 0.8327 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.7012, allocations: 7.938 kB / 0.8327 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.05369/0.7549, allocations: 31.96 MB / 0.864 GB, free: 15.42 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)