Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001194, allocations: 165.8 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205 MB / 0.576 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007042/0.0007042, allocations: 90.25 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 14.58 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06292/0.2756, allocations: 74.44 MB / 0.9689 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.3068, allocations: 15.06 MB / 0.9836 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.3103, allocations: 55.62 kB / 0.9837 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003574/0.3139, allocations: 0.676 MB / 0.9843 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.008969/0.3229, allocations: 2.357 MB / 0.9866 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.3265, allocations: 1.247 MB / 0.9878 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.00647/0.3329, allocations: 5.515 MB / 0.9932 GB, free: 432 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.3347, allocations: 1.124 MB / 0.9943 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.3374, allocations: 1.357 MB / 0.9956 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.3391, allocations: 1.155 MB / 0.9968 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/0.3393, allocations: 52 kB / 0.9968 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004576/0.3439, allocations: 1.251 MB / 0.998 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.3445, allocations: 290.6 kB / 0.9983 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/0.3461, allocations: 0.7771 MB / 0.9991 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.005978/0.3521, allocations: 2.714 MB / 1.002 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.3521, allocations: 0 / 1.002 GB, free: 7.648 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.364e-06/0.3522, allocations: 3.938 kB / 1.002 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.62e-05/0.3522, allocations: 4 kB / 1.002 GB, free: 7.641 MB / 0.6511 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.005775/0.358, allocations: 1.787 MB / 1.003 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.3581, allocations: 16.03 kB / 1.004 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003266/0.3584, allocations: 152.1 kB / 1.004 GB, free: 5.613 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3599, allocations: 242.8 kB / 1.004 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004342/0.3642, allocations: 1.477 MB / 1.005 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3644, allocations: 74 kB / 1.005 GB, free: 3.77 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002556/0.3646, allocations: 104 kB / 1.005 GB, free: 3.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003631/0.3683, allocations: 1.116 MB / 1.007 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.3684, allocations: 3.984 kB / 1.007 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.3685, allocations: 40 kB / 1.007 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/0.3686, allocations: 28 kB / 1.007 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/0.3718, allocations: 0.9368 MB / 1.008 GB, free: 1.508 MB / 0.6511 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.008793/0.3806, allocations: 4.915 MB / 1.012 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.3821, allocations: 0.6513 MB / 1.013 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/0.3828, allocations: 372.9 kB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007397/0.3836, allocations: 0.8316 MB / 1.014 GB, free: 10.26 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3836, allocations: 43.06 kB / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=62): time 3.637e-06/0.3836, allocations: 3.938 kB / 1.014 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=62): time 0.004853/0.3885, allocations: 1.526 MB / 1.016 GB, free: 8.648 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3885, allocations: 59.97 kB / 1.016 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.3901, allocations: 1.214 MB / 1.017 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.3902, allocations: 37.7 kB / 1.017 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.3907, allocations: 0.5987 MB / 1.018 GB, free: 6.699 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.391, allocations: 220.8 kB / 1.018 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.3911, allocations: 69.67 kB / 1.018 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3912, allocations: 333.9 kB / 1.018 GB, free: 6.074 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.3918, allocations: 313.8 kB / 1.018 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.3927, allocations: 0.5076 MB / 1.019 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001361/0.394, allocations: 0.7472 MB / 1.02 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.394, allocations: 0 / 1.02 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004482/0.3985, allocations: 1.402 MB / 1.021 GB, free: 2.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.3987, allocations: 185.4 kB / 1.021 GB, free: 2.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3987, allocations: 4 kB / 1.021 GB, free: 2.746 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007195/0.3994, allocations: 164.7 kB / 1.021 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.4, allocations: 167.7 kB / 1.022 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008261/0.4009, allocations: 0.728 MB / 1.022 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.4021, allocations: 171 kB / 1.022 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/0.4022, allocations: 35.98 kB / 1.022 GB, free: 1.461 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.4022, allocations: 4 kB / 1.022 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004153/0.4064, allocations: 1.245 MB / 1.024 GB, free: 212 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4064, allocations: 4 kB / 1.024 GB, free: 208 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005776/0.407, allocations: 173.1 kB / 1.024 GB, free: 32 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.4076, allocations: 167.8 kB / 1.024 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007686/0.4083, allocations: 0.7279 MB / 1.025 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4095, allocations: 163.7 kB / 1.025 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/0.4096, allocations: 31.98 kB / 1.025 GB, free: 14.92 MB / 0.6823 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.0006201/0.4102, allocations: 416.9 kB / 1.025 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.4104, allocations: 134.4 kB / 1.025 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004366/0.4148, allocations: 1.389 MB / 1.027 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/0.4149, allocations: 11.98 kB / 1.027 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.4149, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003846/0.4187, allocations: 1.221 MB / 1.028 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.4229, allocations: 2.349 MB / 1.03 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.4229, allocations: 4 kB / 1.03 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.4234, allocations: 119.8 kB / 1.03 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005688/0.424, allocations: 156.8 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.424, allocations: 19.98 kB / 1.031 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007873/0.4248, allocations: 0.7265 MB / 1.031 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.4249, allocations: 8 kB / 1.031 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002785/0.4276, allocations: 1.462 MB / 1.033 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005519/0.4282, allocations: 311.1 kB / 1.033 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001716/0.4284, allocations: 16.06 kB / 1.033 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/0.4292, allocations: 91.81 kB / 1.033 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4293, allocations: 52.31 kB / 1.033 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.4294, allocations: 35.97 kB / 1.033 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001129/0.4305, allocations: 0.866 MB / 1.034 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4306, allocations: 3.938 kB / 1.034 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001667/0.4322, allocations: 0.7057 MB / 1.035 GB, free: 4.559 MB / 0.6823 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003633/0.4359, allocations: 2.342 MB / 1.037 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002605/0.4385, allocations: 1.18 MB / 1.038 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.4385, allocations: 0 / 1.038 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009218/0.4394, allocations: 415.2 kB / 1.039 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004263/0.4437, allocations: 0.7982 MB / 1.039 GB, free: 15.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/0.4678, allocations: 11.16 MB / 1.05 GB, free: 4.121 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/0.4686, allocations: 1.173 MB / 1.051 GB, free: 2.922 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001412/0.4701, allocations: 303.1 kB / 1.052 GB, free: 2.621 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000674/0.4707, allocations: 0.5188 MB / 1.052 GB, free: 2.102 MB / 0.698 GB Notification: Performance of SimCode: time 6.31e-07/0.4707, allocations: 0 / 1.052 GB, free: 2.102 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5701/1.041, allocations: 42.5 MB / 1.094 GB, free: 130.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.041, allocations: 291.4 kB / 1.094 GB, free: 129.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/4.699, allocations: 0 / 1.094 GB, free: 129.9 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)