Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.458/2.458, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001518/0.001518, allocations: 184 kB / 0.4901 GB, free: 2.238 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.757/1.757, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009703/0.0009702, allocations: 98.64 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003784, allocations: 14.2 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3179, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.328/1.646, allocations: 435.4 MB / 1.654 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.646, allocations: 94.23 kB / 1.655 GB, free: 10.7 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.302/3.948, allocations: 0.6515 GB / 2.306 GB, free: 14.18 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.984e-06/3.948, allocations: 0 / 2.306 GB, free: 14.18 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000227/3.948, allocations: 31.98 kB / 2.306 GB, free: 14.15 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.005292/3.953, allocations: 1.719 MB / 2.308 GB, free: 12.37 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/3.953, allocations: 8.031 kB / 2.308 GB, free: 12.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004271/3.954, allocations: 122.7 kB / 2.308 GB, free: 12.23 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002478/3.956, allocations: 442 kB / 2.308 GB, free: 11.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/3.96, allocations: 1.312 MB / 2.31 GB, free: 10.43 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004001/3.961, allocations: 134.1 kB / 2.31 GB, free: 10.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/3.961, allocations: 83.95 kB / 2.31 GB, free: 10.21 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/3.964, allocations: 0.9981 MB / 2.311 GB, free: 9.172 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/3.964, allocations: 0 / 2.311 GB, free: 9.172 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/3.964, allocations: 36 kB / 2.311 GB, free: 9.137 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/3.964, allocations: 33.98 kB / 2.311 GB, free: 9.102 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/3.966, allocations: 0.8977 MB / 2.312 GB, free: 8.203 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.007551/3.974, allocations: 4.723 MB / 2.316 GB, free: 3.152 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/3.977, allocations: 0.8827 MB / 2.317 GB, free: 2.262 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005484/3.978, allocations: 0.9025 MB / 2.318 GB, free: 1.156 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/3.978, allocations: 38.56 kB / 2.318 GB, free: 1.109 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 3.426e-06/3.978, allocations: 0 / 2.318 GB, free: 1.109 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.8643/4.842, allocations: 2.009 MB / 2.32 GB, free: 252.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/4.842, allocations: 58.31 kB / 2.32 GB, free: 252.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/4.844, allocations: 0.9511 MB / 2.321 GB, free: 252.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/4.844, allocations: 35.27 kB / 2.321 GB, free: 252.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/4.845, allocations: 0.5349 MB / 2.322 GB, free: 252.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/4.845, allocations: 151.8 kB / 2.322 GB, free: 252.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/4.845, allocations: 11.75 kB / 2.322 GB, free: 252.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/4.845, allocations: 323.9 kB / 2.322 GB, free: 251.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/4.846, allocations: 300.7 kB / 2.322 GB, free: 251.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/4.847, allocations: 0.5392 MB / 2.323 GB, free: 251.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/4.848, allocations: 347.7 kB / 2.323 GB, free: 251.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/4.848, allocations: 1.375 kB / 2.323 GB, free: 251.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.004368/4.852, allocations: 1.22 MB / 2.324 GB, free: 251.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.000452/4.852, allocations: 1.67 MB / 2.326 GB, free: 249.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/4.852, allocations: 9.375 kB / 2.326 GB, free: 249.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/4.854, allocations: 355.5 kB / 2.326 GB, free: 249.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/4.855, allocations: 117.8 kB / 2.327 GB, free: 249.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/4.856, allocations: 0.9742 MB / 2.327 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/4.858, allocations: 197.9 kB / 2.328 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/4.858, allocations: 31.12 kB / 2.328 GB, free: 249.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/4.858, allocations: 3.625 kB / 2.328 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004189/4.862, allocations: 1.099 MB / 2.329 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/4.862, allocations: 7.969 kB / 2.329 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/4.864, allocations: 352 kB / 2.329 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/4.864, allocations: 122.4 kB / 2.329 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/4.866, allocations: 0.961 MB / 2.33 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/4.867, allocations: 174.2 kB / 2.33 GB, free: 248.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.533e-05/4.867, allocations: 33.16 kB / 2.33 GB, free: 248.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0007638/4.868, allocations: 347.9 kB / 2.331 GB, free: 248.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/4.868, allocations: 107 kB / 2.331 GB, free: 248.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004129/4.872, allocations: 1.158 MB / 2.332 GB, free: 248.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/4.872, allocations: 10.41 kB / 2.332 GB, free: 248.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/4.872, allocations: 0.75 kB / 2.332 GB, free: 248.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/4.872, allocations: 8.562 kB / 2.332 GB, free: 248.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/4.878, allocations: 2.23 MB / 2.334 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/4.878, allocations: 2.844 kB / 2.334 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003013/4.879, allocations: 61.45 kB / 2.334 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/4.88, allocations: 366.1 kB / 2.335 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/4.88, allocations: 11.88 kB / 2.335 GB, free: 247.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/4.882, allocations: 1.003 MB / 2.336 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/4.882, allocations: 5.547 kB / 2.336 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/4.886, allocations: 1.357 MB / 2.337 GB, free: 247 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/4.887, allocations: 279.7 kB / 2.337 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/4.887, allocations: 20.09 kB / 2.337 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/4.888, allocations: 112.1 kB / 2.337 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/4.888, allocations: 38.52 kB / 2.337 GB, free: 246.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-05/4.888, allocations: 23.92 kB / 2.337 GB, free: 246.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001485/4.889, allocations: 0.7474 MB / 2.338 GB, free: 246.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/4.889, allocations: 0 / 2.338 GB, free: 246.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002259/4.892, allocations: 0.6154 MB / 2.339 GB, free: 246.7 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 (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005895/4.898, allocations: 3.047 MB / 2.342 GB, free: 245.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004117/4.902, allocations: 1.143 MB / 2.343 GB, free: 245.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/4.902, allocations: 0.9688 kB / 2.343 GB, free: 245.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001255/4.903, allocations: 381.9 kB / 2.343 GB, free: 245.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003149/4.906, allocations: 499.2 kB / 2.344 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/4.925, allocations: 9.74 MB / 2.353 GB, free: 240.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/4.926, allocations: 1.083 MB / 2.354 GB, free: 239.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001384/4.927, allocations: 210.2 kB / 2.354 GB, free: 239.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/4.928, allocations: 408.3 kB / 2.355 GB, free: 239.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.253e-06/4.928, allocations: 3.875 kB / 2.355 GB, free: 239.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07257/5, allocations: 38.22 MB / 2.392 GB, free: 238.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/5.001, allocations: 251.3 kB / 2.392 GB, free: 238.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.682/8.683, allocations: 6.969 kB / 2.392 GB, free: 238.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat does not exist to compare? outputFormat=mat