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.35/2.35, allocations: 390.5 MB / 398 MB, free: 10.95 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.001056/0.001056, allocations: 180.8 kB / 491.2 MB, free: 1.566 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.488/1.488, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0008577/0.0008577, allocations: 103.6 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.591e-05/1.592e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2628, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.474, allocations: 424.9 MB / 1.627 GB, free: 5.832 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.475, allocations: 91.19 kB / 1.627 GB, free: 5.785 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/3.438, allocations: 0.5412 GB / 2.169 GB, free: 8.523 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.974e-06/3.438, allocations: 0 / 2.169 GB, free: 8.523 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002715/3.439, allocations: 39.98 kB / 2.169 GB, free: 8.484 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.005387/3.444, allocations: 1.711 MB / 2.17 GB, free: 6.707 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/3.444, allocations: 12.03 kB / 2.17 GB, free: 6.695 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/3.446, allocations: 237.9 kB / 2.171 GB, free: 6.461 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005512/3.451, allocations: 1.704 MB / 2.172 GB, free: 4.703 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/3.451, allocations: 35.95 kB / 2.172 GB, free: 4.668 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/3.452, allocations: 67.94 kB / 2.172 GB, free: 4.602 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002082/3.454, allocations: 0.6913 MB / 2.173 GB, free: 3.91 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/3.456, allocations: 0.8779 MB / 2.174 GB, free: 3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/3.456, allocations: 4 kB / 2.174 GB, free: 2.996 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/3.456, allocations: 0 / 2.174 GB, free: 2.996 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.257e-05/3.456, allocations: 45.92 kB / 2.174 GB, free: 2.949 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.008627/3.465, allocations: 4.509 MB / 2.178 GB, free: 14.21 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/3.466, allocations: 499.5 kB / 2.179 GB, free: 13.72 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005255/3.467, allocations: 246.5 kB / 2.179 GB, free: 13.47 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008887/3.468, allocations: 0.8277 MB / 2.18 GB, free: 12.46 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/3.468, allocations: 39.12 kB / 2.18 GB, free: 12.41 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.496e-06/3.468, allocations: 0 / 2.18 GB, free: 12.41 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.006265/3.474, allocations: 0.99 MB / 2.181 GB, free: 11.41 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/3.474, allocations: 67.97 kB / 2.181 GB, free: 11.34 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/3.476, allocations: 0.8831 MB / 2.182 GB, free: 10.44 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/3.476, allocations: 29.7 kB / 2.182 GB, free: 10.41 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007607/3.477, allocations: 0.6323 MB / 2.182 GB, free: 9.766 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000305/3.477, allocations: 193.1 kB / 2.183 GB, free: 9.574 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/3.478, allocations: 0 / 2.183 GB, free: 9.574 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001747/3.478, allocations: 334 kB / 2.183 GB, free: 9.242 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/3.478, allocations: 189.5 kB / 2.183 GB, free: 9.055 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/3.479, allocations: 416.5 kB / 2.183 GB, free: 8.555 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/3.48, allocations: 278.7 kB / 2.184 GB, free: 8.285 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/3.48, allocations: 7.953 kB / 2.184 GB, free: 8.277 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006479/3.487, allocations: 1.123 MB / 2.185 GB, free: 7.141 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007745/3.487, allocations: 1.415 MB / 2.186 GB, free: 5.625 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/3.488, allocations: 4 kB / 2.186 GB, free: 5.621 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/3.488, allocations: 116.6 kB / 2.186 GB, free: 5.504 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/3.489, allocations: 159.8 kB / 2.187 GB, free: 5.348 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001683/3.491, allocations: 0.7397 MB / 2.187 GB, free: 4.582 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/3.493, allocations: 123.3 kB / 2.187 GB, free: 4.461 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/3.493, allocations: 31.98 kB / 2.187 GB, free: 4.43 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/3.493, allocations: 4 kB / 2.187 GB, free: 4.426 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0061/3.499, allocations: 0.9819 MB / 2.188 GB, free: 3.438 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/3.499, allocations: 4 kB / 2.188 GB, free: 3.434 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005354/3.5, allocations: 108.9 kB / 2.188 GB, free: 3.324 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/3.501, allocations: 155.8 kB / 2.189 GB, free: 3.172 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/3.502, allocations: 0.7513 MB / 2.189 GB, free: 2.395 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/3.504, allocations: 99.52 kB / 2.189 GB, free: 2.297 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/3.504, allocations: 35.98 kB / 2.189 GB, free: 2.262 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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.0003817/3.505, allocations: 132.8 kB / 2.19 GB, free: 2.125 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005665/3.51, allocations: 0.9938 MB / 2.191 GB, free: 1.121 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/3.511, allocations: 118.6 kB / 2.191 GB, free: 1.004 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.863/4.374, allocations: 1.104 MB / 2.192 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.261e-05/4.374, allocations: 7.922 kB / 2.192 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/4.374, allocations: 0 / 2.192 GB, free: 255.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00449/4.378, allocations: 1.023 MB / 2.193 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007143/4.386, allocations: 2.318 MB / 2.195 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/4.386, allocations: 3 kB / 2.195 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005657/4.386, allocations: 124.1 kB / 2.195 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/4.387, allocations: 98.61 kB / 2.195 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/4.387, allocations: 12.95 kB / 2.195 GB, free: 254.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/4.39, allocations: 2.125 MB / 2.197 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/4.39, allocations: 4.391 kB / 2.197 GB, free: 253.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00528/4.396, allocations: 1.675 MB / 2.199 GB, free: 252.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008061/4.397, allocations: 313.9 kB / 2.199 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/4.397, allocations: 5.703 kB / 2.199 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/4.397, allocations: 61.62 kB / 2.199 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/4.398, allocations: 61.86 kB / 2.199 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/4.398, allocations: 29.92 kB / 2.199 GB, free: 252.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00127/4.399, allocations: 0.6827 MB / 2.2 GB, free: 252.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/4.399, allocations: 0 / 2.2 GB, free: 252.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00312/4.402, allocations: 0.7841 MB / 2.201 GB, free: 252.6 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 () * 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.006845/4.409, allocations: 3.678 MB / 2.204 GB, free: 250.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002959/4.412, allocations: 1.02 MB / 2.205 GB, free: 250.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/4.412, allocations: 4.031 kB / 2.205 GB, free: 250.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/4.413, allocations: 497.3 kB / 2.206 GB, free: 250.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003111/4.416, allocations: 0.5609 MB / 2.206 GB, free: 250.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/4.421, allocations: 1.987 MB / 2.208 GB, free: 250 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009098/4.422, allocations: 1.201 MB / 2.21 GB, free: 249.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001763/4.424, allocations: 329.2 kB / 2.21 GB, free: 249.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000573/4.425, allocations: 478.3 kB / 2.21 GB, free: 249.2 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/4.425, allocations: 0 / 2.21 GB, free: 249.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08401/4.509, allocations: 38.26 MB / 2.248 GB, free: 248.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/4.509, allocations: 165 kB / 2.248 GB, free: 248.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.342/7.851, allocations: 0 / 2.248 GB, free: 248.6 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