Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009964/0.0009966, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001114/0.001114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005861/0.0005863, allocations: 18.81 kB / 0.6738 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2493, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0708/0.3202, allocations: 69.48 MB / 0.8552 GB, free: 6.164 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01932/0.3395, allocations: 14.06 MB / 0.869 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.3431, allocations: 55.62 kB / 0.869 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.3461, allocations: 0.5744 MB / 0.8696 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009329/0.3554, allocations: 1.959 MB / 0.8715 GB, free: 5.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.3594, allocations: 0.9876 MB / 0.8725 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006749/0.3661, allocations: 4.77 MB / 0.8771 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.3684, allocations: 1.017 MB / 0.8781 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003053/0.3715, allocations: 1.283 MB / 0.8794 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002164/0.3737, allocations: 1.077 MB / 0.8804 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004138/0.3741, allocations: 59.98 kB / 0.8805 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.3769, allocations: 0.9199 MB / 0.8814 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004856/0.3774, allocations: 270.7 kB / 0.8816 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007174/0.3782, allocations: 356.9 kB / 0.882 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.381, allocations: 2.077 MB / 0.884 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.381, allocations: 0 / 0.884 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.743e-06/0.381, allocations: 0 / 0.884 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.432e-05/0.3811, allocations: 4 kB / 0.884 GB, free: 8.605 MB / 0.7012 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.003779/0.3849, allocations: 1.803 MB / 0.8858 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3849, allocations: 8.031 kB / 0.8858 GB, free: 6.73 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002916/0.3852, allocations: 144 kB / 0.8859 GB, free: 6.582 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009/0.3861, allocations: 245.9 kB / 0.8862 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.3887, allocations: 1.427 MB / 0.8875 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/0.3888, allocations: 74 kB / 0.8876 GB, free: 4.785 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.389, allocations: 107.9 kB / 0.8877 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002003/0.391, allocations: 1.108 MB / 0.8888 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/0.391, allocations: 4 kB / 0.8888 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-05/0.3911, allocations: 39.98 kB / 0.8888 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.3912, allocations: 27.98 kB / 0.8889 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.3931, allocations: 0.9329 MB / 0.8898 GB, free: 2.535 MB / 0.7012 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.006076/0.3992, allocations: 4.915 MB / 0.8946 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.4006, allocations: 0.639 MB / 0.8952 GB, free: 12.69 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007062/0.4013, allocations: 374.3 kB / 0.8956 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006204/0.4019, allocations: 0.8277 MB / 0.8964 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.448e-05/0.402, allocations: 43.06 kB / 0.8964 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.484e-06/0.402, allocations: 0 / 0.8964 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.006574/0.4086, allocations: 1.892 MB / 0.8983 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.4087, allocations: 55.97 kB / 0.8983 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/0.411, allocations: 1.194 MB / 0.8995 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/0.4111, allocations: 45.7 kB / 0.8995 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.4117, allocations: 0.6065 MB / 0.9001 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.412, allocations: 208.9 kB / 0.9003 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.412, allocations: 16 kB / 0.9003 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4121, allocations: 333.9 kB / 0.9006 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006777/0.4128, allocations: 297.8 kB / 0.9009 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009083/0.4137, allocations: 0.5053 MB / 0.9014 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007792/0.4145, allocations: 363 kB / 0.9018 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4145, allocations: 0 / 0.9018 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004341/0.4189, allocations: 1.398 MB / 0.9031 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.4191, allocations: 197.9 kB / 0.9033 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/0.4191, allocations: 8 kB / 0.9033 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005756/0.4197, allocations: 152.7 kB / 0.9035 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.4204, allocations: 163.8 kB / 0.9036 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007787/0.4212, allocations: 0.7084 MB / 0.9043 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.4224, allocations: 171.1 kB / 0.9045 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.4225, allocations: 35.98 kB / 0.9045 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.4225, allocations: 4 kB / 0.9045 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003893/0.4264, allocations: 1.253 MB / 0.9058 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4264, allocations: 4 kB / 0.9058 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004471/0.4269, allocations: 144.7 kB / 0.9059 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.4275, allocations: 171.8 kB / 0.9061 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000748/0.4282, allocations: 0.724 MB / 0.9068 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4295, allocations: 162.5 kB / 0.9069 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-05/0.4296, allocations: 31.98 kB / 0.907 GB, free: 188 kB / 0.7169 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.000695/0.4303, allocations: 417 kB / 0.9073 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/0.4306, allocations: 134.4 kB / 0.9075 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004297/0.4349, allocations: 1.4 MB / 0.9088 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4349, allocations: 4 kB / 0.9088 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.435, allocations: 3.984 kB / 0.9089 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003707/0.4387, allocations: 1.236 MB / 0.9101 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006296/0.445, allocations: 2.735 MB / 0.9127 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.445, allocations: 4 kB / 0.9127 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004683/0.4455, allocations: 115.9 kB / 0.9128 GB, free: 9.973 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.446, allocations: 140.8 kB / 0.913 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.446, allocations: 23.98 kB / 0.913 GB, free: 9.809 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/0.4505, allocations: 2.474 MB / 0.9154 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.4505, allocations: 7.938 kB / 0.9154 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/0.4554, allocations: 1.852 MB / 0.9172 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/0.4562, allocations: 331.1 kB / 0.9175 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/0.4565, allocations: 16.09 kB / 0.9176 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009829/0.4575, allocations: 95.84 kB / 0.9177 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4577, allocations: 64.25 kB / 0.9177 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.4578, allocations: 31.98 kB / 0.9177 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001455/0.4592, allocations: 0.8504 MB / 0.9186 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4592, allocations: 0 / 0.9186 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00233/0.4616, allocations: 0.7134 MB / 0.9193 GB, free: 3.145 MB / 0.7325 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.006034/0.4676, allocations: 2.714 MB / 0.9219 GB, free: 376 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.3987/0.8663, allocations: 1.151 MB / 0.923 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.8663, allocations: 0.9375 kB / 0.9231 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.868, allocations: 0.6 MB / 0.9236 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004575/0.8726, allocations: 0.7518 MB / 0.9244 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/0.8921, allocations: 8.344 MB / 0.9325 GB, free: 131 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.8929, allocations: 1.17 MB / 0.9337 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001627/0.8945, allocations: 309.9 kB / 0.934 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006376/0.8952, allocations: 0.5045 MB / 0.9344 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of SimCode: time 8.82e-07/0.8952, allocations: 0 / 0.9344 GB, free: 129.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0752/0.9704, allocations: 42.32 MB / 0.9758 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.9706, allocations: 257.9 kB / 0.976 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/3.976, allocations: 0 / 0.976 GB, free: 105.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: