Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 97.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008183/0.0008185, allocations: 180 kB / 16.92 MB, free: 6.922 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.212/1.212, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6245/0.6245, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002672/0.0002672, allocations: 12.28 kB / 495.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.115, allocations: 77.53 MB / 0.56 GB, free: 8.938 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.2732/0.3882, allocations: 73.44 MB / 0.6318 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4055, allocations: 15.05 MB / 0.6465 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001721/0.4072, allocations: 56.84 kB / 0.6465 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.409, allocations: 0.676 MB / 0.6472 GB, free: 9.609 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005298/0.4143, allocations: 2.379 MB / 0.6495 GB, free: 7.695 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.417, allocations: 1.274 MB / 0.6507 GB, free: 6.73 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005237/0.4222, allocations: 5.564 MB / 0.6562 GB, free: 3.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001436/0.4237, allocations: 1.162 MB / 0.6573 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00204/0.4257, allocations: 1.321 MB / 0.6586 GB, free: 1.762 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.4269, allocations: 1.147 MB / 0.6597 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.4271, allocations: 56 kB / 0.6598 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.4293, allocations: 1.247 MB / 0.661 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.4296, allocations: 286.6 kB / 0.6613 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006673/0.4303, allocations: 0.7944 MB / 0.662 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.4328, allocations: 2.722 MB / 0.6647 GB, free: 11.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.4329, allocations: 0 / 0.6647 GB, free: 11.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4329, allocations: 0 / 0.6647 GB, free: 11.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.4329, allocations: 0 / 0.6647 GB, free: 11.49 MB / 494.1 MB 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.002809/0.4357, allocations: 1.78 MB / 0.6664 GB, free: 9.645 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.4357, allocations: 12.03 kB / 0.6664 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001561/0.4359, allocations: 148.1 kB / 0.6666 GB, free: 9.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/0.4366, allocations: 238.9 kB / 0.6668 GB, free: 9.246 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.4386, allocations: 1.497 MB / 0.6683 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.29e-05/0.4387, allocations: 81.98 kB / 0.6684 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/0.4388, allocations: 100 kB / 0.6685 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.4406, allocations: 1.116 MB / 0.6695 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.4406, allocations: 0 / 0.6695 GB, free: 6.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.368e-05/0.4407, allocations: 40 kB / 0.6696 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.4407, allocations: 27.98 kB / 0.6696 GB, free: 6.297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001774/0.4425, allocations: 0.929 MB / 0.6705 GB, free: 5.371 MB / 494.1 MB 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.004863/0.4474, allocations: 4.92 MB / 0.6753 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.4487, allocations: 0.6363 MB / 0.6759 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006908/0.4494, allocations: 374.2 kB / 0.6763 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005195/0.45, allocations: 0.8277 MB / 0.6771 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.45, allocations: 47.11 kB / 0.6771 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 1.693e-06/0.45, allocations: 0 / 0.6771 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.006932/0.457, allocations: 1.889 MB / 0.679 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.457, allocations: 59.97 kB / 0.679 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4584, allocations: 1.214 MB / 0.6802 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.4584, allocations: 41.69 kB / 0.6803 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.4589, allocations: 0.6104 MB / 0.6809 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.459, allocations: 209 kB / 0.6811 GB, free: 10 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.07e-05/0.4591, allocations: 65.67 kB / 0.6811 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.4592, allocations: 334 kB / 0.6815 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006477/0.4599, allocations: 301.8 kB / 0.6817 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.4607, allocations: 0.5125 MB / 0.6822 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.4621, allocations: 0.7634 MB / 0.683 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4621, allocations: 0 / 0.683 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004614/0.4667, allocations: 1.402 MB / 0.6844 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.994e-05/0.4668, allocations: 198.2 kB / 0.6845 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4669, allocations: 4 kB / 0.6845 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005403/0.4674, allocations: 163.9 kB / 0.6847 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.468, allocations: 159.8 kB / 0.6849 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007586/0.4688, allocations: 0.7123 MB / 0.6856 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4698, allocations: 171.8 kB / 0.6857 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.853e-05/0.4699, allocations: 31.98 kB / 0.6857 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.841e-06/0.4699, allocations: 10.34 kB / 0.6858 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004428/0.4743, allocations: 1.253 MB / 0.687 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.4743, allocations: 4 kB / 0.687 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.4748, allocations: 153 kB / 0.6871 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.4753, allocations: 159.8 kB / 0.6873 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/0.4761, allocations: 0.72 MB / 0.688 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000933/0.477, allocations: 159.2 kB / 0.6881 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.195e-05/0.4771, allocations: 31.98 kB / 0.6882 GB, free: 2.469 MB / 0.4981 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.0005327/0.4776, allocations: 426.4 kB / 0.6886 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.4778, allocations: 138.2 kB / 0.6887 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004703/0.4825, allocations: 1.403 MB / 0.6901 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4825, allocations: 4 kB / 0.6901 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4825, allocations: 0 / 0.6901 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004252/0.4868, allocations: 1.24 MB / 0.6913 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006209/0.493, allocations: 2.739 MB / 0.694 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.493, allocations: 4 kB / 0.694 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.4935, allocations: 128.2 kB / 0.6941 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/0.4939, allocations: 132.8 kB / 0.6942 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-05/0.494, allocations: 19.98 kB / 0.6942 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/0.4986, allocations: 2.487 MB / 0.6967 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4986, allocations: 4.062 kB / 0.6967 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00515/0.5038, allocations: 1.852 MB / 0.6985 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004663/0.5042, allocations: 331 kB / 0.6988 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.5044, allocations: 20 kB / 0.6988 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008696/0.5053, allocations: 103.8 kB / 0.6989 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5054, allocations: 56.25 kB / 0.699 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.5055, allocations: 35.97 kB / 0.699 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001108/0.5066, allocations: 0.8662 MB / 0.6998 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5066, allocations: 0 / 0.6998 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001688/0.5083, allocations: 0.7057 MB / 0.7005 GB, free: 5.395 MB / 0.5137 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.006131/0.5144, allocations: 2.743 MB / 0.7032 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.5169, allocations: 1.164 MB / 0.7044 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5169, allocations: 192 / 0.7044 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.5183, allocations: 0.607 MB / 0.7049 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/0.5221, allocations: 0.7959 MB / 0.7057 GB, free: 28 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/0.545, allocations: 11.21 MB / 0.7167 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.5457, allocations: 1.175 MB / 0.7178 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001251/0.547, allocations: 310.9 kB / 0.7181 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/0.5477, allocations: 0.5227 MB / 0.7186 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of SimCode: time 1.162e-06/0.5477, allocations: 0 / 0.7186 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.713/3.261, allocations: 42.5 MB / 0.7601 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/3.261, allocations: 270.7 kB / 0.7604 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/5.838, allocations: 0 / 0.7604 GB, free: 7.922 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)