Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.417/2.417, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001188/0.001188, allocations: 182.6 kB / 0.4901 GB, free: 2.27 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.62/1.62, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001205/0.001205, allocations: 100.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003693, allocations: 7.703 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3315, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.581, allocations: 435.6 MB / 1.655 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.581, allocations: 93.81 kB / 1.655 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.953/5.535, allocations: 1.071 GB / 2.726 GB, free: 33.45 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/5.535, allocations: 0 / 2.726 GB, free: 33.45 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002568/5.535, allocations: 35.98 kB / 2.726 GB, free: 33.41 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005308/5.54, allocations: 1.723 MB / 2.728 GB, free: 31.62 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/5.54, allocations: 8.031 kB / 2.728 GB, free: 31.62 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004048/5.541, allocations: 122.7 kB / 2.728 GB, free: 31.49 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/5.543, allocations: 442 kB / 2.728 GB, free: 31.05 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003883/5.547, allocations: 1.309 MB / 2.729 GB, free: 29.69 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003671/5.548, allocations: 130.6 kB / 2.73 GB, free: 29.56 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/5.548, allocations: 80 kB / 2.73 GB, free: 29.48 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/5.55, allocations: 1.01 MB / 2.731 GB, free: 28.43 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/5.55, allocations: 0 / 2.731 GB, free: 28.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/5.55, allocations: 32 kB / 2.731 GB, free: 28.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/5.55, allocations: 29.98 kB / 2.731 GB, free: 28.37 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/5.553, allocations: 0.9016 MB / 2.732 GB, free: 27.46 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.008434/5.561, allocations: 4.754 MB / 2.736 GB, free: 22.39 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/5.565, allocations: 0.8894 MB / 2.737 GB, free: 21.49 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000653/5.565, allocations: 0.9064 MB / 2.738 GB, free: 20.38 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/5.565, allocations: 42.48 kB / 2.738 GB, free: 20.33 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 6.022e-06/5.565, allocations: 0 / 2.738 GB, free: 20.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.00819/5.574, allocations: 2.028 MB / 2.74 GB, free: 18.27 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/5.574, allocations: 59.41 kB / 2.74 GB, free: 18.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001966/5.576, allocations: 0.9483 MB / 2.741 GB, free: 17.24 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/5.576, allocations: 37.7 kB / 2.741 GB, free: 17.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/5.576, allocations: 0.5356 MB / 2.742 GB, free: 16.66 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/5.576, allocations: 153.8 kB / 2.742 GB, free: 16.51 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/5.576, allocations: 8 kB / 2.742 GB, free: 16.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.389e-05/5.576, allocations: 329.9 kB / 2.742 GB, free: 16.17 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/5.577, allocations: 304.9 kB / 2.742 GB, free: 15.88 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009709/5.578, allocations: 0.5425 MB / 2.743 GB, free: 15.22 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008648/5.579, allocations: 357.3 kB / 2.743 GB, free: 14.88 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/5.579, allocations: 0 / 2.743 GB, free: 14.88 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003994/5.583, allocations: 1.219 MB / 2.744 GB, free: 13.64 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004107/5.584, allocations: 1.585 MB / 2.746 GB, free: 11.95 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/5.584, allocations: 7.984 kB / 2.746 GB, free: 11.94 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/5.585, allocations: 357.7 kB / 2.746 GB, free: 11.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/5.585, allocations: 119.9 kB / 2.746 GB, free: 11.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/5.587, allocations: 0.9686 MB / 2.747 GB, free: 10.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/5.589, allocations: 199.2 kB / 2.747 GB, free: 10.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/5.589, allocations: 31.98 kB / 2.748 GB, free: 10.25 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/5.589, allocations: 4 kB / 2.748 GB, free: 10.25 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00351/5.592, allocations: 1.101 MB / 2.749 GB, free: 9.141 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/5.592, allocations: 4 kB / 2.749 GB, free: 9.137 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/5.594, allocations: 353 kB / 2.749 GB, free: 8.789 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/5.594, allocations: 119.8 kB / 2.749 GB, free: 8.672 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/5.595, allocations: 0.9682 MB / 2.75 GB, free: 7.68 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/5.597, allocations: 171.3 kB / 2.75 GB, free: 7.512 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/5.597, allocations: 35.94 kB / 2.75 GB, free: 7.477 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0007991/5.598, allocations: 353.2 kB / 2.751 GB, free: 7.121 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/5.598, allocations: 110.7 kB / 2.751 GB, free: 7.012 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/5.601, allocations: 1.005 MB / 2.752 GB, free: 5.992 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/5.601, allocations: 4 kB / 2.752 GB, free: 5.988 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/5.601, allocations: 0 / 2.752 GB, free: 5.988 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/5.601, allocations: 11.94 kB / 2.752 GB, free: 5.977 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005528/5.606, allocations: 2.231 MB / 2.754 GB, free: 3.664 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/5.607, allocations: 0 / 2.754 GB, free: 3.664 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/5.607, allocations: 72.14 kB / 2.754 GB, free: 3.594 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/5.608, allocations: 365.9 kB / 2.754 GB, free: 3.234 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.958e-05/5.608, allocations: 15.98 kB / 2.754 GB, free: 3.219 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/5.609, allocations: 1.005 MB / 2.755 GB, free: 2.188 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/5.609, allocations: 0 / 2.755 GB, free: 2.188 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/5.613, allocations: 1.387 MB / 2.757 GB, free: 0.7148 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007709/5.614, allocations: 283.5 kB / 2.757 GB, free: 428 kB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/5.614, allocations: 12 kB / 2.757 GB, free: 416 kB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/5.615, allocations: 119.8 kB / 2.757 GB, free: 296 kB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/5.615, allocations: 39.84 kB / 2.757 GB, free: 256 kB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.78e-05/5.615, allocations: 27.98 kB / 2.757 GB, free: 228 kB / 1.167 GB Notification: Performance of sorting global known variables: time 0.8696/6.485, allocations: 0.7404 MB / 2.758 GB, free: 245.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.01e-07/6.485, allocations: 0 / 2.758 GB, free: 245.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002763/6.488, allocations: 0.6227 MB / 2.758 GB, free: 245.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (32): * Single equations (assignments): 27 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005738/6.494, allocations: 3.038 MB / 2.761 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003746/6.497, allocations: 1.166 MB / 2.762 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.064e-06/6.497, allocations: 4.188 kB / 2.762 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/6.499, allocations: 386.1 kB / 2.763 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/6.502, allocations: 0.491 MB / 2.763 GB, free: 243.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/6.521, allocations: 9.613 MB / 2.773 GB, free: 239.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008634/6.522, allocations: 1.086 MB / 2.774 GB, free: 238.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00148/6.523, allocations: 218.2 kB / 2.774 GB, free: 238.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005785/6.524, allocations: 409.1 kB / 2.774 GB, free: 238.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.373e-06/6.524, allocations: 0.5312 kB / 2.774 GB, free: 238.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08761/6.611, allocations: 38.3 MB / 2.812 GB, free: 238 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/6.612, allocations: 257.1 kB / 2.812 GB, free: 237.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.776/10.39, allocations: 0 / 2.812 GB, free: 237.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat does not exist to compare? outputFormat=mat