Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001292/0.001292, allocations: 112.2 kB / 16.42 MB, free: 6.473 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.001111/0.001111, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.308/1.308, allocations: 222.9 MB / 241.1 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.002102/0.002102, allocations: 290.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9539/0.9539, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 103.8 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4021, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07449/0.4767, allocations: 75.21 MB / 0.8405 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02021/0.4969, allocations: 15.15 MB / 0.8553 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.499, allocations: 67.62 kB / 0.8554 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.5014, allocations: 0.8579 MB / 0.8562 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006606/0.508, allocations: 2.72 MB / 0.8589 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.5114, allocations: 1.398 MB / 0.8602 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00522/0.5166, allocations: 4.404 MB / 0.8645 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.5191, allocations: 1.445 MB / 0.866 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.5225, allocations: 1.687 MB / 0.8676 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.5245, allocations: 1.214 MB / 0.8688 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004141/0.5249, allocations: 164 kB / 0.8689 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.5281, allocations: 1.419 MB / 0.8703 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005186/0.5286, allocations: 398.6 kB / 0.8707 GB, free: 9.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.53, allocations: 0.9099 MB / 0.8716 GB, free: 8.516 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004208/0.5342, allocations: 2.885 MB / 0.8744 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.5342, allocations: 4 kB / 0.8744 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5342, allocations: 0 / 0.8744 GB, free: 5.621 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.976e-05/0.5343, 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.004378/0.5387, allocations: 2.091 MB / 0.8765 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.5387, allocations: 8.031 kB / 0.8765 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009297/0.5396, allocations: 238.7 kB / 0.8767 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/0.5425, allocations: 1.517 MB / 0.8782 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.5426, allocations: 77.98 kB / 0.8783 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.5427, allocations: 104 kB / 0.8784 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.5449, allocations: 1.104 MB / 0.8794 GB, free: 340 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.545, allocations: 4 kB / 0.8794 GB, free: 336 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5451, allocations: 36 kB / 0.8795 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.5451, allocations: 31.94 kB / 0.8795 GB, free: 268 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.5472, allocations: 0.8939 MB / 0.8804 GB, free: 15.36 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.006407/0.5536, allocations: 4.907 MB / 0.8852 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.5551, allocations: 0.6163 MB / 0.8858 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007624/0.5558, allocations: 362.7 kB / 0.8861 GB, free: 9.188 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/0.5565, allocations: 0.8238 MB / 0.8869 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5565, allocations: 47.12 kB / 0.887 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 2.364e-06/0.5565, allocations: 0 / 0.887 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.005105/0.5616, allocations: 1.412 MB / 0.8883 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.5617, allocations: 59.97 kB / 0.8884 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.5636, allocations: 1.222 MB / 0.8896 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/0.5637, allocations: 41.7 kB / 0.8896 GB, free: 5.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005493/0.5642, allocations: 0.6066 MB / 0.8902 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/0.5644, allocations: 216.8 kB / 0.8904 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.5647, allocations: 154.6 kB / 0.8906 GB, free: 4.348 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5648, allocations: 330 kB / 0.8909 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.5655, allocations: 292.7 kB / 0.8912 GB, free: 3.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009025/0.5665, allocations: 0.4904 MB / 0.8917 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.568, allocations: 0.7119 MB / 0.8923 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.568, allocations: 3.938 kB / 0.8924 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00503/0.5731, allocations: 1.273 MB / 0.8936 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5731, allocations: 4 kB / 0.8936 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5731, allocations: 4 kB / 0.8936 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/0.5738, allocations: 152.8 kB / 0.8937 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006375/0.5745, allocations: 151.8 kB / 0.8939 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008926/0.5754, allocations: 0.7144 MB / 0.8946 GB, free: 76 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.5764, allocations: 123.1 kB / 0.8947 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.543e-05/0.5765, allocations: 39.92 kB / 0.8947 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00112/0.5777, allocations: 0.5448 MB / 0.8953 GB, free: 15.37 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008761/0.5786, allocations: 499.8 kB / 0.8958 GB, free: 14.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001478/0.58, allocations: 0.7043 MB / 0.8964 GB, free: 14.06 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.635e-06/0.5801, allocations: 0 / 0.8964 GB, free: 14.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004975/0.585, allocations: 1.261 MB / 0.8977 GB, free: 12.79 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5851, allocations: 4 kB / 0.8977 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.5851, allocations: 4 kB / 0.8977 GB, free: 12.78 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006174/0.5857, allocations: 157 kB / 0.8978 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/0.5863, allocations: 159.8 kB / 0.898 GB, free: 12.46 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008594/0.5872, allocations: 0.7123 MB / 0.8987 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.5883, allocations: 95.45 kB / 0.8988 GB, free: 11.63 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.5884, allocations: 40.05 kB / 0.8988 GB, free: 11.59 MB / 0.67 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.000229/0.5886, allocations: 228 kB / 0.899 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/0.5889, allocations: 130.4 kB / 0.8991 GB, free: 11.23 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.5939, allocations: 1.26 MB / 0.9004 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004368/0.5982, allocations: 1.088 MB / 0.9014 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5983, allocations: 3.984 kB / 0.9014 GB, free: 8.836 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/0.5989, allocations: 303.1 kB / 0.9017 GB, free: 8.52 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.5992, allocations: 12 kB / 0.9017 GB, free: 8.508 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008352/0.6, allocations: 63.83 kB / 0.9018 GB, free: 8.445 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6002, allocations: 36.5 kB / 0.9018 GB, free: 8.406 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002898/0.6031, allocations: 0.9794 MB / 0.9028 GB, free: 7.418 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002628/0.6057, allocations: 1.344 MB / 0.9041 GB, free: 6.059 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007195/0.6064, allocations: 344.2 kB / 0.9044 GB, free: 5.723 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001333/0.6078, allocations: 0.8577 MB / 0.9053 GB, free: 4.863 MB / 0.67 GB Notification: Performance of Backend: time 4.6e-07/0.6078, allocations: 0 / 0.9053 GB, free: 4.863 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.6117, allocations: 1.395 MB / 0.9066 GB, free: 3.473 MB / 0.67 GB Notification: Performance of SimCode: time 0.005713/0.6174, allocations: 3.168 MB / 0.9097 GB, free: 276 kB / 0.67 GB Notification: Performance of Templates: time 0.05345/0.6709, allocations: 33.93 MB / 0.9429 GB, free: 14.7 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)