Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_9_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.001151/0.001151, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001438/0.001438, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.369/2.369, allocations: 390.3 MB / 0.6653 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003681, allocations: 8 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7716/0.772, allocations: 142.3 MB / 0.9536 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06153/0.8336, allocations: 63.02 MB / 1.015 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.8532, allocations: 12.98 MB / 1.028 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002588/0.8558, allocations: 51.62 kB / 1.028 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002611/0.8584, allocations: 0.7501 MB / 1.029 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007913/0.8664, allocations: 2.41 MB / 1.031 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004247/0.8706, allocations: 1.518 MB / 1.032 GB, free: 15.21 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004838/0.8755, allocations: 2.526 MB / 1.035 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.8769, allocations: 1.049 MB / 1.036 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.879, allocations: 1.168 MB / 1.037 GB, free: 10.44 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009785/0.88, allocations: 0.7817 MB / 1.038 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001219/0.8802, allocations: 52 kB / 1.038 GB, free: 9.602 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.8823, allocations: 0.8425 MB / 1.039 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.8825, allocations: 262.9 kB / 1.039 GB, free: 8.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00034/0.8829, allocations: 356.9 kB / 1.039 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.8849, allocations: 2.007 MB / 1.041 GB, free: 6.137 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8849, allocations: 0 / 1.041 GB, free: 6.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.413e-06/0.8849, allocations: 4 kB / 1.041 GB, free: 6.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.885, allocations: 0 / 1.041 GB, free: 6.133 MB / 0.795 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.00314/0.8881, allocations: 1.783 MB / 1.043 GB, free: 4.285 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.8882, allocations: 12.03 kB / 1.043 GB, free: 4.273 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.8883, allocations: 144 kB / 1.043 GB, free: 4.125 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/0.8891, allocations: 241.8 kB / 1.043 GB, free: 3.887 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.8913, allocations: 1.377 MB / 1.045 GB, free: 2.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/0.8913, allocations: 77.98 kB / 1.045 GB, free: 2.379 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.8915, allocations: 100 kB / 1.045 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8934, allocations: 1.112 MB / 1.046 GB, free: 1.133 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.8934, allocations: 3.938 kB / 1.046 GB, free: 1.129 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.8935, allocations: 43.95 kB / 1.046 GB, free: 1.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/0.8935, allocations: 24 kB / 1.046 GB, free: 1.062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.8954, allocations: 0.9251 MB / 1.047 GB, free: 144 kB / 0.795 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.005753/0.9011, allocations: 4.947 MB / 1.052 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.9025, allocations: 0.6408 MB / 1.052 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000587/0.9031, allocations: 0.8238 MB / 1.053 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.9032, allocations: 47.06 kB / 1.053 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=61): time 2.474e-06/0.9032, allocations: 0 / 1.053 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=61): time 0.007232/0.9104, allocations: 1.893 MB / 1.055 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.9105, allocations: 59.95 kB / 1.055 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.9121, allocations: 1.245 MB / 1.056 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.9123, allocations: 41.7 kB / 1.056 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.9128, allocations: 0.6026 MB / 1.057 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.913, allocations: 212.9 kB / 1.057 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.9131, allocations: 16 kB / 1.057 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9132, allocations: 333.9 kB / 1.058 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.9139, allocations: 301.8 kB / 1.058 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007828/0.9147, allocations: 0.4968 MB / 1.058 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.9154, allocations: 359 kB / 1.059 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.9154, allocations: 4 kB / 1.059 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004658/0.9201, allocations: 1.398 MB / 1.06 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004511/0.9205, allocations: 1.423 MB / 1.061 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.9206, allocations: 4 kB / 1.061 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.9212, allocations: 144.8 kB / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.9218, allocations: 167.8 kB / 1.062 GB, free: 272 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008295/0.9226, allocations: 0.7239 MB / 1.062 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.9239, allocations: 163 kB / 1.063 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-05/0.924, allocations: 39.98 kB / 1.063 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.924, allocations: 4 kB / 1.063 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004393/0.9284, allocations: 1.245 MB / 1.064 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.9284, allocations: 4 kB / 1.064 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005118/0.929, allocations: 149.1 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/0.9296, allocations: 163.8 kB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.9304, allocations: 0.72 MB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.9316, allocations: 161.3 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.9317, allocations: 39.98 kB / 1.065 GB, free: 12.81 MB / 0.8262 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.0006361/0.9323, allocations: 416.9 kB / 1.065 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.9326, allocations: 138.3 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004614/0.9372, allocations: 1.4 MB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.9372, allocations: 11.95 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.9372, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004166/0.9414, allocations: 1.228 MB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006711/0.9482, allocations: 2.77 MB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.9482, allocations: 4 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.9487, allocations: 120.3 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004903/0.9492, allocations: 144.6 kB / 1.071 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.9493, allocations: 23.98 kB / 1.071 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004792/0.9541, allocations: 2.544 MB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.9541, allocations: 4 kB / 1.074 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005557/0.9597, allocations: 2.05 MB / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/0.9606, allocations: 343.2 kB / 1.076 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.9608, allocations: 19.94 kB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008773/0.9617, allocations: 103.4 kB / 1.076 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.9618, allocations: 60.27 kB / 1.076 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.203e-05/0.9619, allocations: 35.97 kB / 1.076 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001223/0.9631, allocations: 0.8936 MB / 1.077 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9631, allocations: 0 / 1.077 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001846/0.965, allocations: 0.7174 MB / 1.078 GB, free: 15.24 MB / 0.8419 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.006559/0.9715, allocations: 3.87 MB / 1.082 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.9741, allocations: 1.153 MB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/0.9741, allocations: 4 kB / 1.083 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/0.9756, allocations: 0.6034 MB / 1.083 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003465/0.9791, allocations: 0.7371 MB / 1.084 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00541/0.9845, allocations: 5.935 MB / 1.09 GB, free: 2.664 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.9852, allocations: 1.218 MB / 1.091 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001223/0.9864, allocations: 307 kB / 1.091 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000664/0.9871, allocations: 0.5071 MB / 1.092 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of SimCode: time 7.72e-07/0.9871, allocations: 0 / 1.092 GB, free: 0.6016 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07203/1.059, allocations: 42.04 MB / 1.133 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/1.059, allocations: 263.2 kB / 1.133 GB, free: 6.746 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.716, allocations: 0 / 1.133 GB, free: 6.746 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat does not exist to compare? outputFormat=mat