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.402/2.402, 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.001389/0.001389, allocations: 184 kB / 0.4901 GB, free: 2.258 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.56/1.56, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001033/0.001034, allocations: 99.14 kB / 0.9396 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003522, allocations: 7.125 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3273, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.487, allocations: 425.6 MB / 1.645 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/1.488, allocations: 95.97 kB / 1.645 GB, free: 4.164 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.977/3.464, allocations: 0.5455 GB / 2.191 GB, free: 133.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.338e-06/3.464, allocations: 0 / 2.191 GB, free: 133.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003629/3.465, allocations: 39.92 kB / 2.191 GB, free: 133.4 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.007996/3.473, allocations: 2.002 MB / 2.193 GB, free: 131.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/3.473, allocations: 8.031 kB / 2.193 GB, free: 131.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006451/3.473, allocations: 144 kB / 2.193 GB, free: 131.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/3.475, allocations: 237.9 kB / 2.193 GB, free: 131 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006315/3.481, allocations: 1.724 MB / 2.195 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/3.481, allocations: 82.39 kB / 2.195 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004839/3.482, allocations: 104 kB / 2.195 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003389/3.485, allocations: 1.096 MB / 2.196 GB, free: 127.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.306e-05/3.485, allocations: 7.906 kB / 2.196 GB, free: 127.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/3.486, allocations: 39.98 kB / 2.196 GB, free: 127.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-05/3.486, allocations: 42 kB / 2.196 GB, free: 127.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/3.488, allocations: 0.9017 MB / 2.197 GB, free: 126.9 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.008953/3.497, allocations: 4.719 MB / 2.201 GB, free: 121.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/3.499, allocations: 0.6 MB / 2.202 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/3.499, allocations: 0.8316 MB / 2.203 GB, free: 120.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/3.499, allocations: 43.12 kB / 2.203 GB, free: 120.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 4.138e-06/3.499, allocations: 7.984 kB / 2.203 GB, free: 120.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.007469/3.507, allocations: 1.83 MB / 2.205 GB, free: 118.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/3.507, allocations: 59.97 kB / 2.205 GB, free: 118.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/3.508, allocations: 1.11 MB / 2.206 GB, free: 117.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001538/3.509, allocations: 45.7 kB / 2.206 GB, free: 117.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004464/3.509, allocations: 0.6259 MB / 2.206 GB, free: 116.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/3.509, allocations: 201 kB / 2.207 GB, free: 116.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/3.509, allocations: 12 kB / 2.207 GB, free: 116.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.603e-05/3.509, allocations: 341.8 kB / 2.207 GB, free: 115.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005778/3.51, allocations: 273.1 kB / 2.207 GB, free: 115.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/3.511, allocations: 0.4967 MB / 2.208 GB, free: 115.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/3.511, allocations: 338.8 kB / 2.208 GB, free: 114.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/3.511, allocations: 4 kB / 2.208 GB, free: 114.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004628/3.516, allocations: 1.341 MB / 2.209 GB, free: 113.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003648/3.516, allocations: 1.423 MB / 2.211 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/3.516, allocations: 4 kB / 2.211 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/3.517, allocations: 144.7 kB / 2.211 GB, free: 111.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/3.518, allocations: 167.8 kB / 2.211 GB, free: 111.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007175/3.518, allocations: 0.7006 MB / 2.212 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/3.52, allocations: 159.2 kB / 2.212 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/3.52, allocations: 35.92 kB / 2.212 GB, free: 110.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/3.52, allocations: 4 kB / 2.212 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004127/3.524, allocations: 1.197 MB / 2.213 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/3.524, allocations: 4 kB / 2.213 GB, free: 109.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004928/3.525, allocations: 144.8 kB / 2.213 GB, free: 109.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/3.525, allocations: 163.7 kB / 2.213 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006703/3.526, allocations: 0.7006 MB / 2.214 GB, free: 108.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/3.528, allocations: 143.2 kB / 2.214 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.208e-05/3.528, allocations: 39.98 kB / 2.214 GB, free: 108.2 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 (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.0009237/3.529, allocations: 425.7 kB / 2.215 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/3.529, allocations: 134.3 kB / 2.215 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/3.533, allocations: 1.321 MB / 2.216 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/3.533, allocations: 7.984 kB / 2.216 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/3.533, allocations: 0 / 2.216 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003894/3.537, allocations: 1.209 MB / 2.217 GB, free: 105.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007099/3.544, allocations: 2.663 MB / 2.22 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/3.544, allocations: 4 kB / 2.22 GB, free: 102.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/3.545, allocations: 124.2 kB / 2.22 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000477/3.545, allocations: 136.7 kB / 2.22 GB, free: 102.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/3.545, allocations: 27.92 kB / 2.22 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/3.55, allocations: 2.509 MB / 2.223 GB, free: 99.39 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/3.55, allocations: 4 kB / 2.223 GB, free: 99.39 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005314/3.555, allocations: 1.987 MB / 2.225 GB, free: 97.21 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009675/3.556, allocations: 335.1 kB / 2.225 GB, free: 96.86 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/3.556, allocations: 20.09 kB / 2.225 GB, free: 96.84 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009139/3.557, allocations: 87.77 kB / 2.225 GB, free: 96.75 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/3.557, allocations: 48.38 kB / 2.225 GB, free: 96.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/3.557, allocations: 27.98 kB / 2.225 GB, free: 96.68 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00129/3.559, allocations: 0.9013 MB / 2.226 GB, free: 95.78 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/3.559, allocations: 0 / 2.226 GB, free: 95.78 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002236/3.561, allocations: 0.7876 MB / 2.227 GB, free: 94.99 MB / 1.167 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 () * Number of clocked 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.006654/3.568, allocations: 3.976 MB / 2.231 GB, free: 90.91 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002343/3.57, allocations: 1.089 MB / 2.232 GB, free: 89.83 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/3.57, allocations: 8.062 kB / 2.232 GB, free: 89.82 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/3.571, allocations: 0.5836 MB / 2.232 GB, free: 89.22 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003915/3.575, allocations: 0.7509 MB / 2.233 GB, free: 88.48 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/3.593, allocations: 10.6 MB / 2.243 GB, free: 77.47 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006551/3.594, allocations: 1.192 MB / 2.244 GB, free: 76.25 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001652/3.595, allocations: 299.2 kB / 2.245 GB, free: 75.95 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006484/3.596, allocations: 0.5071 MB / 2.245 GB, free: 75.45 MB / 1.167 GB Notification: Performance of SimCode: time 1.653e-06/3.596, allocations: 0 / 2.245 GB, free: 75.45 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07308/3.669, allocations: 46.98 MB / 2.291 GB, free: 28.96 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/3.669, allocations: 253.9 kB / 2.291 GB, free: 28.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/7.406, allocations: 0 / 2.291 GB, free: 28.71 MB / 1.167 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