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.001073/0.001073, allocations: 111.6 kB / 16.42 MB, free: 6.457 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.001014/0.001014, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 286.7 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.9414/0.9414, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 99.84 kB / 0.6821 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3905, allocations: 86.97 MB / 0.7671 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06913/0.4597, allocations: 75.21 MB / 0.8405 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.479, allocations: 15.16 MB / 0.8553 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002167/0.4812, allocations: 63.62 kB / 0.8554 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.4833, allocations: 0.8307 MB / 0.8562 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.4898, allocations: 2.591 MB / 0.8587 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003277/0.4931, allocations: 1.394 MB / 0.8601 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005731/0.4988, allocations: 4.39 MB / 0.8644 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.5007, allocations: 1.453 MB / 0.8658 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/0.5042, allocations: 1.671 MB / 0.8674 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.506, allocations: 1.217 MB / 0.8686 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.5063, allocations: 164 kB / 0.8688 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.509, allocations: 1.4 MB / 0.8701 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.5094, allocations: 398.6 kB / 0.8705 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008867/0.5103, allocations: 0.9021 MB / 0.8714 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003577/0.5139, allocations: 2.873 MB / 0.8742 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5139, allocations: 4 kB / 0.8742 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5139, allocations: 4 kB / 0.8742 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.5139, allocations: 0 / 0.8742 GB, free: 5.684 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.003565/0.5175, allocations: 2.087 MB / 0.8762 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5175, allocations: 8.031 kB / 0.8763 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008244/0.5184, allocations: 230.8 kB / 0.8765 GB, free: 3.293 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.5208, allocations: 1.521 MB / 0.878 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.5208, allocations: 85.98 kB / 0.878 GB, free: 1.633 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.521, allocations: 100 kB / 0.8781 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.523, allocations: 1.1 MB / 0.8792 GB, free: 412 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.523, allocations: 0 / 0.8792 GB, free: 412 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.148e-05/0.5231, allocations: 43.94 kB / 0.8793 GB, free: 368 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.339e-05/0.5232, allocations: 28 kB / 0.8793 GB, free: 340 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.5251, allocations: 0.8978 MB / 0.8802 GB, free: 15.43 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.005812/0.5309, allocations: 4.899 MB / 0.8849 GB, free: 10.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5324, allocations: 0.608 MB / 0.8855 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007202/0.5331, allocations: 350.8 kB / 0.8859 GB, free: 9.285 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.5338, allocations: 0.8238 MB / 0.8867 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.5338, allocations: 47.06 kB / 0.8867 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=61): time 2.835e-06/0.5338, allocations: 0 / 0.8867 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=61): time 0.007677/0.5415, allocations: 1.689 MB / 0.8884 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5416, allocations: 63.97 kB / 0.8884 GB, free: 6.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/0.5433, allocations: 1.226 MB / 0.8896 GB, free: 5.188 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.5434, allocations: 45.7 kB / 0.8897 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.5439, allocations: 0.6026 MB / 0.8903 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.5441, allocations: 212.9 kB / 0.8905 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.5443, allocations: 158.5 kB / 0.8906 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5445, allocations: 334 kB / 0.8909 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.5452, allocations: 292.6 kB / 0.8912 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000871/0.546, allocations: 0.489 MB / 0.8917 GB, free: 2.973 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.5475, allocations: 0.7166 MB / 0.8924 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-05/0.5476, allocations: 15.88 kB / 0.8924 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005049/0.5526, allocations: 1.265 MB / 0.8936 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5527, allocations: 6.969 kB / 0.8936 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.5527, allocations: 4 kB / 0.8937 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.5533, allocations: 141.1 kB / 0.8938 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.5539, allocations: 155.7 kB / 0.8939 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009065/0.5548, allocations: 0.7084 MB / 0.8946 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.556, allocations: 123 kB / 0.8947 GB, free: 15.76 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.5561, allocations: 31.98 kB / 0.8948 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00115/0.5572, allocations: 0.5527 MB / 0.8953 GB, free: 15.17 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008607/0.5581, allocations: 0.4884 MB / 0.8958 GB, free: 14.61 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/0.5596, allocations: 0.705 MB / 0.8965 GB, free: 13.86 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.5596, allocations: 4 kB / 0.8965 GB, free: 13.85 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005105/0.5647, allocations: 1.269 MB / 0.8977 GB, free: 12.57 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5647, allocations: 4 kB / 0.8977 GB, free: 12.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5647, allocations: 4 kB / 0.8977 GB, free: 12.56 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005157/0.5653, allocations: 137.1 kB / 0.8979 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006124/0.5659, allocations: 159.7 kB / 0.898 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008949/0.5668, allocations: 0.7125 MB / 0.8987 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.568, allocations: 99.36 kB / 0.8988 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.5681, allocations: 27.98 kB / 0.8988 GB, free: 11.41 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.0003369/0.5685, allocations: 236.1 kB / 0.8991 GB, free: 11.17 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/0.5689, allocations: 134.3 kB / 0.8992 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/0.5739, allocations: 1.261 MB / 0.9004 GB, free: 9.758 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004389/0.5783, allocations: 1.099 MB / 0.9015 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5784, allocations: 0 / 0.9015 GB, free: 8.629 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006513/0.579, allocations: 303.2 kB / 0.9018 GB, free: 8.312 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002812/0.5793, allocations: 12 kB / 0.9018 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008911/0.5802, allocations: 63.8 kB / 0.9019 GB, free: 8.238 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.5803, allocations: 48.5 kB / 0.9019 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002772/0.5831, allocations: 0.9637 MB / 0.9028 GB, free: 7.215 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002526/0.5857, allocations: 1.323 MB / 0.9041 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006818/0.5863, allocations: 328.3 kB / 0.9044 GB, free: 5.555 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001353/0.5877, allocations: 0.8616 MB / 0.9053 GB, free: 4.691 MB / 0.67 GB Notification: Performance of Backend: time 7.01e-07/0.5877, allocations: 0 / 0.9053 GB, free: 4.691 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004626/0.5924, allocations: 1.382 MB / 0.9066 GB, free: 3.312 MB / 0.67 GB Notification: Performance of SimCode: time 0.006104/0.5985, allocations: 3.144 MB / 0.9097 GB, free: 136 kB / 0.67 GB Notification: Performance of Templates: time 0.0506/0.6491, allocations: 33.63 MB / 0.9425 GB, free: 14.88 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)