Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y",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.225/2.225, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001357/0.001357, allocations: 176.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009367/0.0009367, allocations: 87.95 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.513e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2488, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.407, allocations: 425.6 MB / 1.634 GB, free: 8.812 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.407, allocations: 87.94 kB / 1.635 GB, free: 8.727 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.526/3.934, allocations: 0.5438 GB / 2.178 GB, free: 246.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/3.934, allocations: 1.031 kB / 2.178 GB, free: 246.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002278/3.934, allocations: 43.62 kB / 2.178 GB, free: 246.1 MB / 1.151 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.005804/3.94, allocations: 1.715 MB / 2.18 GB, free: 245.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.142e-05/3.94, allocations: 11.77 kB / 2.18 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002999/3.94, allocations: 149 kB / 2.18 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/3.941, allocations: 232 kB / 2.18 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004701/3.946, allocations: 1.714 MB / 2.182 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/3.946, allocations: 76.89 kB / 2.182 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/3.946, allocations: 98.09 kB / 2.182 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/3.949, allocations: 1.01 MB / 2.183 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.68e-05/3.949, allocations: 5.188 kB / 2.183 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/3.949, allocations: 45.52 kB / 2.183 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-05/3.949, allocations: 38.58 kB / 2.183 GB, free: 245.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/3.951, allocations: 0.7541 MB / 2.184 GB, free: 245.1 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006745/3.957, allocations: 4.725 MB / 2.189 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/3.958, allocations: 0.529 MB / 2.189 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/3.959, allocations: 266.8 kB / 2.189 GB, free: 243.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005477/3.959, allocations: 0.8267 MB / 2.19 GB, free: 242.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/3.959, allocations: 44.7 kB / 2.19 GB, free: 242.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.405e-06/3.959, allocations: 1.031 kB / 2.19 GB, free: 242.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.004245/3.964, allocations: 1.03 MB / 2.191 GB, free: 242 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/3.964, allocations: 63.42 kB / 2.191 GB, free: 242 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/3.965, allocations: 1.091 MB / 2.192 GB, free: 241.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.998e-05/3.966, allocations: 40.89 kB / 2.192 GB, free: 241.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/3.966, allocations: 0.6276 MB / 2.193 GB, free: 241.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/3.966, allocations: 205.8 kB / 2.193 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/3.966, allocations: 15.25 kB / 2.193 GB, free: 241.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.136e-05/3.966, allocations: 329.7 kB / 2.194 GB, free: 241.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003456/3.967, allocations: 202.4 kB / 2.194 GB, free: 241.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/3.967, allocations: 436.8 kB / 2.194 GB, free: 241 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/3.968, allocations: 269.6 kB / 2.194 GB, free: 241 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/3.968, allocations: 1.125 kB / 2.194 GB, free: 241 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004371/3.972, allocations: 1.179 MB / 2.196 GB, free: 240.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004533/3.973, allocations: 1.425 MB / 2.197 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/3.973, allocations: 3.312 kB / 2.197 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/3.973, allocations: 112.7 kB / 2.197 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/3.974, allocations: 162.2 kB / 2.197 GB, free: 239.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006396/3.974, allocations: 0.6555 MB / 2.198 GB, free: 238.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/3.976, allocations: 170.1 kB / 2.198 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/3.976, allocations: 34.92 kB / 2.198 GB, free: 238.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/3.976, allocations: 4.438 kB / 2.198 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004061/3.98, allocations: 1.03 MB / 2.199 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/3.98, allocations: 3.969 kB / 2.199 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/3.981, allocations: 109.1 kB / 2.199 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/3.981, allocations: 160.6 kB / 2.199 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004915/3.982, allocations: 0.6535 MB / 2.2 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/3.983, allocations: 143.4 kB / 2.2 GB, free: 238.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/3.983, allocations: 38.14 kB / 2.2 GB, free: 238.3 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002315/3.984, allocations: 144.3 kB / 2.2 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/3.984, allocations: 135.8 kB / 2.2 GB, free: 238.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/3.988, allocations: 1.162 MB / 2.202 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.579e-05/3.988, allocations: 12.67 kB / 2.202 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/3.988, allocations: 5.172 kB / 2.202 GB, free: 238 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003984/3.992, allocations: 1.05 MB / 2.203 GB, free: 237.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007324/4, allocations: 2.501 MB / 2.205 GB, free: 237.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/4, allocations: 3.188 kB / 2.205 GB, free: 237.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/4, allocations: 127 kB / 2.205 GB, free: 237.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003489/4.001, allocations: 99.8 kB / 2.205 GB, free: 237.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/4.001, allocations: 21.14 kB / 2.205 GB, free: 237.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003538/4.004, allocations: 2.195 MB / 2.207 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/4.004, allocations: 3.594 kB / 2.207 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/4.009, allocations: 1.764 MB / 2.209 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/4.01, allocations: 334.3 kB / 2.21 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/4.011, allocations: 13.69 kB / 2.21 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/4.012, allocations: 82.5 kB / 2.21 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/4.012, allocations: 63.78 kB / 2.21 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.432e-05/4.012, allocations: 27.52 kB / 2.21 GB, free: 235.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001915/4.014, allocations: 0.8804 MB / 2.211 GB, free: 235 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/4.014, allocations: 3.844 kB / 2.211 GB, free: 235 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003663/4.018, allocations: 0.7903 MB / 2.211 GB, free: 235 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006661/4.025, allocations: 3.745 MB / 2.215 GB, free: 233.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002271/4.027, allocations: 0.9267 MB / 2.216 GB, free: 233 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/4.027, allocations: 3.938 kB / 2.216 GB, free: 233 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/4.028, allocations: 0.5125 MB / 2.216 GB, free: 232.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/4.032, allocations: 0.7577 MB / 2.217 GB, free: 232.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/4.038, allocations: 2.081 MB / 2.219 GB, free: 232.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007506/4.039, allocations: 1.204 MB / 2.22 GB, free: 231.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001743/4.04, allocations: 392 kB / 2.221 GB, free: 231.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/4.041, allocations: 498.7 kB / 2.221 GB, free: 231.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/4.041, allocations: 0 / 2.221 GB, free: 231.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07962/4.121, allocations: 49.19 MB / 2.269 GB, free: 230.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/4.121, allocations: 222 kB / 2.269 GB, free: 230 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.803/7.924, allocations: 4 kB / 2.269 GB, free: 230 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat does not exist to compare? outputFormat=mat