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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.645/2.645, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 183.3 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.1 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 103.3 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004104, allocations: 9.594 kB / 1.09 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3413, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.624, allocations: 431.4 MB / 1.651 GB, free: 10.7 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.625, allocations: 98.69 kB / 1.651 GB, free: 10.65 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.63/5.254, allocations: 0.878 GB / 2.529 GB, free: 216.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.294e-06/5.254, allocations: 0 / 2.529 GB, free: 216.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002923/5.255, allocations: 38.69 kB / 2.529 GB, free: 216.6 MB / 1.167 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.00731/5.262, allocations: 2.023 MB / 2.531 GB, free: 215.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/5.262, allocations: 11.09 kB / 2.531 GB, free: 215.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006237/5.263, allocations: 141.6 kB / 2.531 GB, free: 215.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/5.264, allocations: 239.1 kB / 2.531 GB, free: 215 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/5.269, allocations: 1.73 MB / 2.533 GB, free: 213.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/5.269, allocations: 72.11 kB / 2.533 GB, free: 213.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000435/5.27, allocations: 107.9 kB / 2.533 GB, free: 213.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/5.273, allocations: 1.102 MB / 2.534 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/5.273, allocations: 0 / 2.534 GB, free: 212.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/5.273, allocations: 40 kB / 2.534 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.539e-05/5.273, allocations: 41.88 kB / 2.534 GB, free: 212.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/5.275, allocations: 0.9108 MB / 2.535 GB, free: 211.3 MB / 1.167 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.008993/5.284, allocations: 4.73 MB / 2.54 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/5.286, allocations: 0.6107 MB / 2.54 GB, free: 205.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005602/5.286, allocations: 0.8324 MB / 2.541 GB, free: 204.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/5.286, allocations: 39.12 kB / 2.541 GB, free: 204.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.917e-06/5.286, allocations: 0 / 2.541 GB, free: 204.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.007683/5.294, allocations: 1.848 MB / 2.543 GB, free: 202.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/5.294, allocations: 63.97 kB / 2.543 GB, free: 202.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/5.297, allocations: 1.114 MB / 2.544 GB, free: 201.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002076/5.297, allocations: 41.7 kB / 2.544 GB, free: 201.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007367/5.298, allocations: 0.6296 MB / 2.545 GB, free: 201.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/5.298, allocations: 202.3 kB / 2.545 GB, free: 200.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/5.298, allocations: 12 kB / 2.545 GB, free: 200.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001185/5.298, allocations: 344.8 kB / 2.545 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007273/5.299, allocations: 267.9 kB / 2.545 GB, free: 200.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009208/5.3, allocations: 0.5011 MB / 2.546 GB, free: 199.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/5.301, allocations: 335.1 kB / 2.546 GB, free: 199.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/5.301, allocations: 0 / 2.546 GB, free: 199.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004974/5.306, allocations: 1.343 MB / 2.548 GB, free: 198 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004435/5.306, allocations: 1.428 MB / 2.549 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/5.306, allocations: 4 kB / 2.549 GB, free: 196.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/5.307, allocations: 150.1 kB / 2.549 GB, free: 196.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000639/5.308, allocations: 158.2 kB / 2.549 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008252/5.309, allocations: 0.7143 MB / 2.55 GB, free: 195.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/5.31, allocations: 164.3 kB / 2.55 GB, free: 195.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/5.31, allocations: 35.78 kB / 2.55 GB, free: 195.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/5.31, allocations: 4 kB / 2.55 GB, free: 195.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004306/5.315, allocations: 1.199 MB / 2.551 GB, free: 194.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/5.315, allocations: 4 kB / 2.551 GB, free: 194.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005442/5.315, allocations: 150.4 kB / 2.551 GB, free: 194 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/5.316, allocations: 159.5 kB / 2.552 GB, free: 193.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008123/5.317, allocations: 0.7117 MB / 2.552 GB, free: 193.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/5.319, allocations: 152.2 kB / 2.552 GB, free: 193 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/5.319, allocations: 35.98 kB / 2.552 GB, free: 192.9 MB / 1.167 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 (72): * Single equations (assignments): 71 * 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.001244/5.32, allocations: 419.3 kB / 2.553 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006226/5.321, allocations: 134.4 kB / 2.553 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/5.326, allocations: 1.33 MB / 2.554 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-05/5.326, allocations: 7.938 kB / 2.554 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/5.326, allocations: 2.312 kB / 2.554 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/5.33, allocations: 1.216 MB / 2.555 GB, free: 189.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008408/5.338, allocations: 2.656 MB / 2.558 GB, free: 187.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/5.338, allocations: 7.938 kB / 2.558 GB, free: 187.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/5.339, allocations: 115.9 kB / 2.558 GB, free: 187 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005096/5.34, allocations: 143.7 kB / 2.558 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/5.34, allocations: 20 kB / 2.558 GB, free: 186.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/5.344, allocations: 2.548 MB / 2.561 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/5.344, allocations: 7.938 kB / 2.561 GB, free: 184.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005506/5.35, allocations: 1.992 MB / 2.563 GB, free: 182.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/5.351, allocations: 331.1 kB / 2.563 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/5.351, allocations: 16 kB / 2.563 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/5.353, allocations: 83.83 kB / 2.563 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/5.353, allocations: 64.25 kB / 2.563 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/5.353, allocations: 27.98 kB / 2.563 GB, free: 181.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001886/5.355, allocations: 0.8937 MB / 2.564 GB, free: 180.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/5.355, allocations: 0 / 2.564 GB, free: 180.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003658/5.359, allocations: 0.7954 MB / 2.565 GB, free: 179.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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.008298/5.367, allocations: 4.024 MB / 2.569 GB, free: 175.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003128/5.37, allocations: 1.089 MB / 2.57 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/5.37, allocations: 0 / 2.57 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/5.372, allocations: 0.584 MB / 2.57 GB, free: 174.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004301/5.376, allocations: 0.7563 MB / 2.571 GB, free: 173.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02204/5.398, allocations: 10.61 MB / 2.582 GB, free: 162.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009944/5.399, allocations: 1.202 MB / 2.583 GB, free: 161.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001851/5.401, allocations: 308.4 kB / 2.583 GB, free: 160.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/5.402, allocations: 0.5149 MB / 2.584 GB, free: 160.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.412e-06/5.402, allocations: 0 / 2.584 GB, free: 160.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08122/5.483, allocations: 47.58 MB / 2.63 GB, free: 114.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/5.484, allocations: 252.1 kB / 2.63 GB, free: 113.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.155/9.639, allocations: 0 / 2.63 GB, free: 113.8 MB / 1.167 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) 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