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.001082/0.001082, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001743/0.001743, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 291.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.953/0.953, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 95.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3997, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07489/0.4747, allocations: 75.21 MB / 0.8405 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.495, allocations: 15.15 MB / 0.8553 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.4973, allocations: 63.62 kB / 0.8554 GB, free: 9.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.4997, allocations: 0.858 MB / 0.8562 GB, free: 8.289 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007221/0.5069, allocations: 2.724 MB / 0.8589 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.5105, allocations: 1.393 MB / 0.8602 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005612/0.5161, allocations: 4.408 MB / 0.8645 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/0.5188, allocations: 1.449 MB / 0.866 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.5228, allocations: 1.686 MB / 0.8676 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.5251, allocations: 1.214 MB / 0.8688 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004551/0.5256, allocations: 160 kB / 0.8689 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.529, allocations: 1.4 MB / 0.8703 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.5296, allocations: 398.6 kB / 0.8707 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001591/0.5312, allocations: 0.9021 MB / 0.8716 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.5363, allocations: 2.873 MB / 0.8744 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5363, allocations: 7.984 kB / 0.8744 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5363, allocations: 0 / 0.8744 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.519e-05/0.5364, allocations: 0 / 0.8744 GB, free: 5.621 MB / 0.6387 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.004622/0.541, allocations: 2.087 MB / 0.8764 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.541, allocations: 8.031 kB / 0.8764 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009601/0.542, allocations: 234.8 kB / 0.8766 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/0.545, allocations: 1.528 MB / 0.8781 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.5451, allocations: 74 kB / 0.8782 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.5453, allocations: 104 kB / 0.8783 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.5476, allocations: 1.104 MB / 0.8794 GB, free: 340 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.5476, allocations: 0 / 0.8794 GB, free: 340 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.5478, allocations: 36 kB / 0.8794 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.882e-05/0.5478, allocations: 32 kB / 0.8795 GB, free: 272 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5498, allocations: 0.89 MB / 0.8803 GB, free: 15.37 MB / 0.6544 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.006092/0.5559, allocations: 4.903 MB / 0.8851 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.5574, allocations: 0.6158 MB / 0.8857 GB, free: 9.559 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007465/0.5582, allocations: 350.8 kB / 0.886 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.5588, allocations: 0.8238 MB / 0.8869 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5589, allocations: 43.06 kB / 0.8869 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.856e-06/0.5589, allocations: 0 / 0.8869 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007593/0.5665, allocations: 1.689 MB / 0.8885 GB, free: 6.438 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.5665, allocations: 55.97 kB / 0.8886 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/0.5683, allocations: 1.23 MB / 0.8898 GB, free: 5.125 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.216e-05/0.5684, allocations: 37.7 kB / 0.8898 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005492/0.569, allocations: 0.6065 MB / 0.8904 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.5692, allocations: 220.9 kB / 0.8906 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002523/0.5694, allocations: 154.5 kB / 0.8908 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5696, allocations: 334 kB / 0.8911 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.5703, allocations: 292.6 kB / 0.8914 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008946/0.5712, allocations: 0.4958 MB / 0.8919 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.5728, allocations: 0.7166 MB / 0.8926 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5728, allocations: 3.938 kB / 0.8926 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00498/0.5778, allocations: 1.273 MB / 0.8938 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5778, allocations: 11.34 kB / 0.8938 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5778, allocations: 8 kB / 0.8938 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.5784, allocations: 136.7 kB / 0.894 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/0.5791, allocations: 159.7 kB / 0.8941 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009396/0.5801, allocations: 0.7045 MB / 0.8948 GB, free: 15.81 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.5811, allocations: 115 kB / 0.8949 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.5812, allocations: 35.98 kB / 0.8949 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001155/0.5824, allocations: 0.5527 MB / 0.8955 GB, free: 15.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008736/0.5833, allocations: 492.8 kB / 0.896 GB, free: 14.55 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001511/0.5848, allocations: 0.705 MB / 0.8966 GB, free: 13.8 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.5848, allocations: 8 kB / 0.8966 GB, free: 13.79 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005063/0.5899, allocations: 1.261 MB / 0.8979 GB, free: 12.52 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.5899, allocations: 8 kB / 0.8979 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5899, allocations: 4 kB / 0.8979 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005168/0.5904, allocations: 137 kB / 0.898 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.5911, allocations: 167.7 kB / 0.8982 GB, free: 12.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008447/0.5919, allocations: 0.7006 MB / 0.8989 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.5929, allocations: 99.36 kB / 0.899 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.593, allocations: 39.98 kB / 0.899 GB, free: 11.34 MB / 0.67 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.0002477/0.5933, allocations: 228.1 kB / 0.8992 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.5936, allocations: 134.4 kB / 0.8993 GB, free: 10.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004973/0.5986, allocations: 1.264 MB / 0.9006 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004424/0.603, allocations: 1.103 MB / 0.9017 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.603, allocations: 0 / 0.9017 GB, free: 8.562 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007042/0.6037, allocations: 299.2 kB / 0.9019 GB, free: 8.25 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.604, allocations: 15.94 kB / 0.902 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.6049, allocations: 55.88 kB / 0.902 GB, free: 8.18 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.605, allocations: 48.48 kB / 0.9021 GB, free: 8.133 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002855/0.6079, allocations: 0.9715 MB / 0.903 GB, free: 7.148 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002587/0.6105, allocations: 1.329 MB / 0.9043 GB, free: 5.809 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007092/0.6112, allocations: 328.3 kB / 0.9046 GB, free: 5.484 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001348/0.6126, allocations: 0.8577 MB / 0.9055 GB, free: 4.625 MB / 0.67 GB Notification: Performance of Backend: time 7.21e-07/0.6126, allocations: 0 / 0.9055 GB, free: 4.625 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004072/0.6166, allocations: 1.381 MB / 0.9068 GB, free: 3.246 MB / 0.67 GB Notification: Performance of SimCode: time 0.005875/0.6225, allocations: 3.145 MB / 0.9099 GB, free: 72 kB / 0.67 GB Notification: Performance of Templates: time 0.0542/0.6767, allocations: 33.63 MB / 0.9427 GB, free: 14.81 MB / 0.7169 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)