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_etaCar.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_etaCar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.405/1.405, allocations: 252 MB / 267 MB, free: 10.95 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.00112/0.00112, allocations: 169.9 kB / 326.6 MB, free: 2.203 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.846/1.846, allocations: 205.4 MB / 0.5776 GB, free: 20.27 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.000932/0.000932, allocations: 102.2 kB / 0.6823 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000338/0.0003381, allocations: 10.84 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2319, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.05031/0.2823, allocations: 69.47 MB / 0.9681 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.3007, allocations: 14.03 MB / 0.9818 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/0.3034, allocations: 55.62 kB / 0.9819 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.3057, allocations: 0.5588 MB / 0.9824 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.3128, allocations: 1.97 MB / 0.9844 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.3165, allocations: 0.9491 MB / 0.9853 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007675/0.3242, allocations: 4.762 MB / 0.9899 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001999/0.3262, allocations: 1.009 MB / 0.9909 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002952/0.3292, allocations: 1.271 MB / 0.9922 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002144/0.3313, allocations: 1.077 MB / 0.9932 GB, free: 344 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002692/0.3316, allocations: 56 kB / 0.9933 GB, free: 288 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002801/0.3344, allocations: 0.9159 MB / 0.9942 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003513/0.3348, allocations: 274.7 kB / 0.9944 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007626/0.3356, allocations: 356.9 kB / 0.9948 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004576/0.3402, allocations: 2.073 MB / 0.9968 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.3403, allocations: 0 / 0.9968 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3403, allocations: 4 kB / 0.9968 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 8.215e-05/0.3404, allocations: 0 / 0.9968 GB, free: 12.66 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.004853/0.3452, allocations: 1.799 MB / 0.9986 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/0.3453, allocations: 8.031 kB / 0.9986 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003762/0.3457, allocations: 151.9 kB / 0.9987 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.347, allocations: 237.9 kB / 0.9989 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00422/0.3513, allocations: 1.419 MB / 1 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.3514, allocations: 82 kB / 1 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.3517, allocations: 104 kB / 1.001 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.3549, allocations: 1.104 MB / 1.002 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.355, allocations: 0 / 1.002 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.3552, allocations: 48 kB / 1.002 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-05/0.3552, allocations: 31.89 kB / 1.002 GB, free: 7.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.3583, allocations: 0.9212 MB / 1.003 GB, free: 6.598 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.009277/0.3676, allocations: 4.907 MB / 1.007 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.369, allocations: 0.6396 MB / 1.008 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009812/0.37, allocations: 366.3 kB / 1.008 GB, free: 404 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008268/0.3709, allocations: 0.8238 MB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.3709, allocations: 43.08 kB / 1.009 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 3.748e-06/0.371, allocations: 4 kB / 1.009 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.009919/0.3809, allocations: 1.892 MB / 1.011 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.381, allocations: 55.97 kB / 1.011 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002699/0.3837, allocations: 1.194 MB / 1.012 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.3839, allocations: 37.7 kB / 1.012 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/0.3847, allocations: 0.6065 MB / 1.013 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.3851, allocations: 216.8 kB / 1.013 GB, free: 11.26 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.3852, allocations: 16 kB / 1.013 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.3854, allocations: 330 kB / 1.013 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.3865, allocations: 297.8 kB / 1.014 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/0.3878, allocations: 0.5123 MB / 1.014 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.389, allocations: 355 kB / 1.015 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.3891, allocations: 3.938 kB / 1.015 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006863/0.3959, allocations: 1.394 MB / 1.016 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002366/0.3962, allocations: 208.4 kB / 1.016 GB, free: 8.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.3963, allocations: 4 kB / 1.016 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008415/0.3971, allocations: 140.7 kB / 1.016 GB, free: 7.875 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.3981, allocations: 163.8 kB / 1.016 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.3994, allocations: 0.7201 MB / 1.017 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.4014, allocations: 175 kB / 1.017 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.4016, allocations: 31.98 kB / 1.017 GB, free: 6.766 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4017, allocations: 4 kB / 1.017 GB, free: 6.762 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006344/0.408, allocations: 1.257 MB / 1.019 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.4081, allocations: 4 kB / 1.019 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007468/0.4088, allocations: 141.1 kB / 1.019 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009826/0.4098, allocations: 171.7 kB / 1.019 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.4111, allocations: 0.7084 MB / 1.02 GB, free: 4.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/0.413, allocations: 163.2 kB / 1.02 GB, free: 4.293 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.4132, allocations: 28 kB / 1.02 GB, free: 4.266 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001194/0.4144, allocations: 432.8 kB / 1.02 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005546/0.415, allocations: 134.3 kB / 1.02 GB, free: 3.699 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/0.4216, allocations: 1.396 MB / 1.022 GB, free: 2.293 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.4217, allocations: 8 kB / 1.022 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.4218, allocations: 4 kB / 1.022 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005896/0.4277, allocations: 1.228 MB / 1.023 GB, free: 1.016 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009858/0.4376, allocations: 2.715 MB / 1.025 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.4376, allocations: 7.953 kB / 1.025 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/0.4384, allocations: 128.2 kB / 1.026 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/0.4391, allocations: 136.7 kB / 1.026 GB, free: 13.92 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/0.4392, allocations: 24 kB / 1.026 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005462/0.4447, allocations: 2.481 MB / 1.028 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4447, allocations: 4 kB / 1.028 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005867/0.4506, allocations: 1.852 MB / 1.03 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009211/0.4516, allocations: 334.9 kB / 1.03 GB, free: 8.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/0.4519, allocations: 16 kB / 1.03 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.453, allocations: 103.8 kB / 1.03 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.4532, allocations: 56.31 kB / 1.03 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.621e-05/0.4532, allocations: 27.98 kB / 1.03 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001598/0.4548, allocations: 0.8621 MB / 1.031 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.11e-07/0.4549, allocations: 0 / 1.031 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002596/0.4575, allocations: 0.7018 MB / 1.032 GB, free: 7.227 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.007575/0.4651, allocations: 2.714 MB / 1.035 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003224/0.4683, allocations: 1.16 MB / 1.036 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.4684, allocations: 0 / 1.036 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.4702, allocations: 0.5956 MB / 1.036 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/0.4746, allocations: 0.767 MB / 1.037 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02271/0.4974, allocations: 8.338 MB / 1.045 GB, free: 9.195 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/0.4985, allocations: 1.168 MB / 1.046 GB, free: 8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001713/0.5002, allocations: 307 kB / 1.047 GB, free: 7.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/0.5011, allocations: 0.5071 MB / 1.047 GB, free: 7.188 MB / 0.698 GB Notification: Performance of SimCode: time 9.81e-07/0.5011, allocations: 0 / 1.047 GB, free: 7.188 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5677/1.069, allocations: 42.19 MB / 1.088 GB, free: 131.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/1.069, allocations: 265.7 kB / 1.089 GB, free: 131.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.442/4.511, allocations: 64 / 1.089 GB, free: 131.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)