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.001313/0.001313, allocations: 110.8 kB / 16.42 MB, free: 6.496 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.001067/0.001067, allocations: 188.3 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.297/1.297, 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.002082/0.002082, allocations: 290.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9204/0.9204, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 91.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4134, allocations: 86.97 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06945/0.4829, allocations: 75.21 MB / 0.8405 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.5022, allocations: 15.15 MB / 0.8553 GB, free: 9.211 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.5045, allocations: 63.62 kB / 0.8554 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.5065, allocations: 0.8306 MB / 0.8562 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006284/0.5128, allocations: 2.593 MB / 0.8587 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.516, allocations: 1.39 MB / 0.8601 GB, free: 4.328 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00515/0.5212, allocations: 4.404 MB / 0.8644 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.5232, allocations: 1.441 MB / 0.8658 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003365/0.5266, allocations: 1.685 MB / 0.8674 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.5281, allocations: 1.214 MB / 0.8686 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002303/0.5284, allocations: 167.9 kB / 0.8688 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.5312, allocations: 1.415 MB / 0.8702 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.5316, allocations: 402.6 kB / 0.8705 GB, free: 9.562 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008452/0.5324, allocations: 0.9021 MB / 0.8714 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.5359, allocations: 2.885 MB / 0.8742 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.536, allocations: 0 / 0.8742 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of FrontEnd: time 8.91e-07/0.536, allocations: 0 / 0.8742 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.536, allocations: 0 / 0.8742 GB, free: 5.766 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.00346/0.5394, allocations: 2.095 MB / 0.8763 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5395, allocations: 12.03 kB / 0.8763 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.5403, allocations: 230.8 kB / 0.8765 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/0.5426, allocations: 1.525 MB / 0.878 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.5427, allocations: 82 kB / 0.8781 GB, free: 1.703 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.5428, allocations: 100 kB / 0.8782 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.5448, allocations: 1.104 MB / 0.8793 GB, free: 480 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.5449, allocations: 4 kB / 0.8793 GB, free: 476 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.545, allocations: 39.98 kB / 0.8793 GB, free: 436 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.545, allocations: 24 kB / 0.8793 GB, free: 412 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.5469, allocations: 0.8978 MB / 0.8802 GB, free: 15.5 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.005529/0.5525, allocations: 4.911 MB / 0.885 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/0.5539, allocations: 0.6164 MB / 0.8856 GB, free: 9.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007502/0.5547, allocations: 354.7 kB / 0.8859 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/0.5554, allocations: 0.8277 MB / 0.8867 GB, free: 8.316 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.5554, allocations: 55.05 kB / 0.8868 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=62): time 2.765e-06/0.5554, allocations: 0 / 0.8868 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=62): time 0.005042/0.5605, allocations: 1.397 MB / 0.8882 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.5606, allocations: 63.97 kB / 0.8882 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.5622, allocations: 1.218 MB / 0.8894 GB, free: 5.523 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.309e-05/0.5623, allocations: 49.64 kB / 0.8895 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005002/0.5628, allocations: 0.5988 MB / 0.89 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.563, allocations: 216.8 kB / 0.8903 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.5632, allocations: 154.5 kB / 0.8904 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5633, allocations: 337.9 kB / 0.8907 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006848/0.564, allocations: 296.6 kB / 0.891 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/0.5649, allocations: 498.2 kB / 0.8915 GB, free: 3.309 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00145/0.5664, allocations: 0.708 MB / 0.8922 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.5664, allocations: 3.938 kB / 0.8922 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004843/0.5712, allocations: 1.277 MB / 0.8934 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5713, allocations: 8 kB / 0.8934 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5713, allocations: 4 kB / 0.8934 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/0.5719, allocations: 153.1 kB / 0.8936 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.5726, allocations: 155.8 kB / 0.8937 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009233/0.5735, allocations: 0.7162 MB / 0.8944 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.5744, allocations: 111.1 kB / 0.8945 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.696e-05/0.5745, allocations: 39.92 kB / 0.8946 GB, free: 52 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001086/0.5756, allocations: 0.5566 MB / 0.8951 GB, free: 15.49 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009265/0.5766, allocations: 491.8 kB / 0.8956 GB, free: 14.94 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00148/0.578, allocations: 0.7004 MB / 0.8963 GB, free: 14.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.5781, allocations: 0 / 0.8963 GB, free: 14.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004788/0.5829, allocations: 1.265 MB / 0.8975 GB, free: 12.92 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5829, allocations: 8 kB / 0.8975 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5829, allocations: 4 kB / 0.8975 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005795/0.5835, allocations: 152.7 kB / 0.8977 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.5841, allocations: 155.8 kB / 0.8978 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008278/0.5849, allocations: 0.7123 MB / 0.8985 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009626/0.5859, allocations: 99.52 kB / 0.8986 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.586, allocations: 35.98 kB / 0.8986 GB, free: 11.73 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.000242/0.5862, allocations: 224.1 kB / 0.8988 GB, free: 11.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.5865, allocations: 130.4 kB / 0.899 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005008/0.5915, allocations: 1.268 MB / 0.9002 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004323/0.5958, allocations: 1.088 MB / 0.9013 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.5958, allocations: 0 / 0.9013 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.5964, allocations: 307.1 kB / 0.9016 GB, free: 8.652 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.5966, allocations: 15.94 kB / 0.9016 GB, free: 8.637 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.5974, allocations: 55.84 kB / 0.9016 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5975, allocations: 40.5 kB / 0.9017 GB, free: 8.539 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002863/0.6004, allocations: 0.9755 MB / 0.9026 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002576/0.603, allocations: 1.344 MB / 0.9039 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006965/0.6037, allocations: 332.3 kB / 0.9043 GB, free: 5.871 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001261/0.605, allocations: 0.8616 MB / 0.9051 GB, free: 5.008 MB / 0.67 GB Notification: Performance of Backend: time 3.4e-07/0.605, allocations: 0 / 0.9051 GB, free: 5.008 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.6088, allocations: 1.396 MB / 0.9065 GB, free: 3.617 MB / 0.67 GB Notification: Performance of SimCode: time 0.005487/0.6143, allocations: 3.171 MB / 0.9096 GB, free: 416 kB / 0.67 GB Notification: Performance of Templates: time 0.05226/0.6665, allocations: 33.93 MB / 0.9427 GB, free: 14.84 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)