Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_latest_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.0007889/0.0007891, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.0008205/0.0008204, allocations: 168.7 kB / 15.95 MB, free: 204 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.345/1.345, allocations: 223.2 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.418/2.418, allocations: 409.4 MB / 0.684 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004839, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.6761, allocations: 146.8 MB / 0.9811 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06175/0.7379, allocations: 69.49 MB / 1.049 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.7562, allocations: 14.17 MB / 1.063 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002515/0.7588, allocations: 59.62 kB / 1.063 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.7606, allocations: 0.5666 MB / 1.063 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005614/0.7663, allocations: 1.997 MB / 1.065 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.7692, allocations: 0.9656 MB / 1.066 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.005515/0.7747, allocations: 4.805 MB / 1.071 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00188/0.7766, allocations: 1.021 MB / 1.072 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.7794, allocations: 1.283 MB / 1.073 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/0.7814, allocations: 1.077 MB / 1.074 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.7816, allocations: 60 kB / 1.074 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002538/0.7842, allocations: 0.916 MB / 1.075 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.7846, allocations: 274.7 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006146/0.7852, allocations: 356.9 kB / 1.076 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.7877, allocations: 2.073 MB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.7877, allocations: 7.938 kB / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7877, allocations: 0 / 1.078 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.444e-05/0.7878, allocations: 0 / 1.078 GB, free: 2.871 MB / 0.8262 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.003272/0.791, allocations: 1.799 MB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7911, allocations: 8.031 kB / 1.08 GB, free: 1 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002199/0.7913, allocations: 147.9 kB / 1.08 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007644/0.7921, allocations: 241.9 kB / 1.08 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.7946, allocations: 1.447 MB / 1.081 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.408e-05/0.7947, allocations: 78 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.7948, allocations: 103.9 kB / 1.082 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.7968, allocations: 1.116 MB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.7968, allocations: 0 / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.7969, allocations: 40 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.797, allocations: 35.92 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.7988, allocations: 0.929 MB / 1.084 GB, free: 12.78 MB / 0.8419 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.005881/0.8047, allocations: 4.907 MB / 1.088 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.8061, allocations: 0.6315 MB / 1.089 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006535/0.8067, allocations: 370.3 kB / 1.089 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/0.8073, allocations: 0.8277 MB / 1.09 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.8074, allocations: 39.12 kB / 1.09 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.8074, allocations: 0 / 1.09 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=61): time 0.006466/0.8138, allocations: 1.888 MB / 1.092 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.8139, allocations: 59.97 kB / 1.092 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.8155, allocations: 1.202 MB / 1.093 GB, free: 2.316 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.8156, allocations: 37.7 kB / 1.093 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.8161, allocations: 0.6104 MB / 1.094 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.8163, allocations: 212.9 kB / 1.094 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.8163, allocations: 12 kB / 1.094 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.8164, allocations: 337.9 kB / 1.095 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.817, allocations: 297.8 kB / 1.095 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.8178, allocations: 0.5007 MB / 1.095 GB, free: 232 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.8185, allocations: 355.1 kB / 1.096 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.8185, allocations: 4 kB / 1.096 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004171/0.8227, allocations: 1.394 MB / 1.097 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.8228, allocations: 201.9 kB / 1.097 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.8228, allocations: 8 kB / 1.097 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005376/0.8234, allocations: 140.7 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006037/0.824, allocations: 163.8 kB / 1.098 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000775/0.8248, allocations: 0.7279 MB / 1.098 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.8259, allocations: 176.4 kB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.826, allocations: 31.98 kB / 1.098 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.826, allocations: 4 kB / 1.098 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003853/0.8299, allocations: 1.246 MB / 1.1 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.8299, allocations: 8.031 kB / 1.1 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004479/0.8304, allocations: 140.8 kB / 1.1 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.8309, allocations: 167.7 kB / 1.1 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007259/0.8317, allocations: 0.7201 MB / 1.101 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.8328, allocations: 155.2 kB / 1.101 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/0.8329, allocations: 35.98 kB / 1.101 GB, free: 10.45 MB / 0.8575 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.0006003/0.8335, allocations: 420.8 kB / 1.101 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/0.8337, allocations: 130.4 kB / 1.101 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004246/0.838, allocations: 1.4 MB / 1.103 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.838, allocations: 15.95 kB / 1.103 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.838, allocations: 0 / 1.103 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00376/0.8418, allocations: 1.228 MB / 1.104 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006312/0.8481, allocations: 2.739 MB / 1.107 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8481, allocations: 448 / 1.107 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.8486, allocations: 127.8 kB / 1.107 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000461/0.8491, allocations: 136.7 kB / 1.107 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.339e-05/0.8492, allocations: 19.98 kB / 1.107 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004453/0.8536, allocations: 2.482 MB / 1.109 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.8537, allocations: 4 kB / 1.109 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.8587, allocations: 1.844 MB / 1.111 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.8594, allocations: 339 kB / 1.111 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002482/0.8597, allocations: 23.94 kB / 1.111 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.8606, allocations: 91.81 kB / 1.112 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.8608, allocations: 56.48 kB / 1.112 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.8609, allocations: 35.92 kB / 1.112 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001344/0.8622, allocations: 0.8545 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8622, allocations: 0 / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002054/0.8643, allocations: 0.7135 MB / 1.113 GB, free: 13.41 MB / 0.8731 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.005894/0.8702, allocations: 2.712 MB / 1.116 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002662/0.8729, allocations: 1.157 MB / 1.117 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.8729, allocations: 4 kB / 1.117 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/0.8744, allocations: 0.5956 MB / 1.118 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/0.8783, allocations: 0.7558 MB / 1.118 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/0.8992, allocations: 8.352 MB / 1.126 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.9001, allocations: 1.183 MB / 1.128 GB, free: 14.16 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001479/0.9016, allocations: 310.9 kB / 1.128 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007611/0.9024, allocations: 0.5109 MB / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of SimCode: time 5.61e-07/0.9024, allocations: 0 / 1.128 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07058/0.973, allocations: 42.13 MB / 1.17 GB, free: 3.762 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.9733, allocations: 266.7 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.957/3.931, allocations: 0 / 1.17 GB, free: 3.395 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat does not exist to compare? outputFormat=mat