Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.302/2.302, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001351/0.00135, allocations: 178.5 kB / 0.4901 GB, free: 2.324 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.575/1.575, 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.001059/0.001059, allocations: 92.03 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003624, allocations: 14.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3416, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.189/1.531, allocations: 435.3 MB / 1.654 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/1.531, allocations: 102.2 kB / 1.654 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.077/3.608, allocations: 0.6516 GB / 2.306 GB, free: 14.19 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.194e-06/3.608, allocations: 0 / 2.306 GB, free: 14.19 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000227/3.608, allocations: 35.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.00568/3.614, allocations: 1.723 MB / 2.308 GB, free: 12.36 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/3.614, allocations: 8.031 kB / 2.308 GB, free: 12.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003968/3.614, allocations: 126.7 kB / 2.308 GB, free: 12.22 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002371/3.617, allocations: 442 kB / 2.308 GB, free: 11.79 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/3.621, allocations: 1.32 MB / 2.31 GB, free: 10.41 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/3.621, allocations: 134.1 kB / 2.31 GB, free: 10.28 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/3.621, allocations: 83.95 kB / 2.31 GB, free: 10.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002399/3.624, allocations: 0.9943 MB / 2.311 GB, free: 9.16 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/3.624, allocations: 7.938 kB / 2.311 GB, free: 9.152 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/3.624, allocations: 32 kB / 2.311 GB, free: 9.121 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/3.624, allocations: 30 kB / 2.311 GB, free: 9.09 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/3.626, allocations: 0.8861 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.007155/3.633, allocations: 4.725 MB / 2.316 GB, free: 3.148 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/3.637, allocations: 0.8754 MB / 2.317 GB, free: 2.266 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005185/3.637, allocations: 0.9025 MB / 2.318 GB, free: 1.16 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/3.637, allocations: 38.5 kB / 2.318 GB, free: 1.113 MB / 1.167 GB Notification: Performance of pre-optimization done (n=42): time 3.637e-06/3.637, allocations: 4 kB / 2.318 GB, free: 1.109 MB / 1.167 GB Notification: Performance of matching and sorting (n=42): time 0.7829/4.42, allocations: 2.009 MB / 2.32 GB, free: 252.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/4.42, allocations: 58.47 kB / 2.32 GB, free: 252.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/4.422, allocations: 0.9521 MB / 2.321 GB, free: 252.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/4.422, allocations: 41.61 kB / 2.321 GB, free: 252.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000429/4.423, allocations: 0.5255 MB / 2.322 GB, free: 252.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/4.423, allocations: 146 kB / 2.322 GB, free: 252 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/4.423, allocations: 11.19 kB / 2.322 GB, free: 252 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.295e-05/4.423, allocations: 328.2 kB / 2.322 GB, free: 251.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008102/4.424, allocations: 307 kB / 2.322 GB, free: 251.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009445/4.425, allocations: 0.5384 MB / 2.323 GB, free: 251.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/4.425, allocations: 337.2 kB / 2.323 GB, free: 251.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/4.425, allocations: 0 / 2.323 GB, free: 251.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002776/4.428, allocations: 1.001 MB / 2.324 GB, free: 251.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003924/4.429, allocations: 1.674 MB / 2.326 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/4.429, allocations: 4.375 kB / 2.326 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/4.43, allocations: 353.7 kB / 2.326 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/4.431, allocations: 124.5 kB / 2.326 GB, free: 249.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/4.432, allocations: 0.9773 MB / 2.327 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/4.434, allocations: 199.7 kB / 2.327 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.877e-05/4.434, allocations: 31.23 kB / 2.327 GB, free: 249.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/4.434, allocations: 4.438 kB / 2.327 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002528/4.437, allocations: 0.8752 MB / 2.328 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/4.437, allocations: 8.125 kB / 2.328 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/4.438, allocations: 353.2 kB / 2.329 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/4.439, allocations: 120.5 kB / 2.329 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/4.44, allocations: 0.9704 MB / 2.33 GB, free: 248.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/4.442, allocations: 165.9 kB / 2.33 GB, free: 248.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/4.442, allocations: 37.59 kB / 2.33 GB, free: 248.5 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.0007914/4.443, allocations: 350.7 kB / 2.33 GB, free: 248.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/4.443, allocations: 108.6 kB / 2.33 GB, free: 248.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/4.445, allocations: 0.9708 MB / 2.331 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/4.445, allocations: 6.266 kB / 2.331 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/4.445, allocations: 5.141 kB / 2.331 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/4.445, allocations: 2.578 kB / 2.331 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005895/4.451, allocations: 2.225 MB / 2.333 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/4.451, allocations: 5.875 kB / 2.333 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/4.452, allocations: 62.59 kB / 2.334 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/4.453, allocations: 364.5 kB / 2.334 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/4.453, allocations: 18.17 kB / 2.334 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00156/4.455, allocations: 0.9988 MB / 2.335 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/4.455, allocations: 6.062 kB / 2.335 GB, free: 247.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003948/4.459, allocations: 1.34 MB / 2.336 GB, free: 246.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/4.459, allocations: 279.6 kB / 2.336 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/4.46, allocations: 13.09 kB / 2.336 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009569/4.46, allocations: 114.4 kB / 2.337 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/4.461, allocations: 34.84 kB / 2.337 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.833e-05/4.461, allocations: 22.17 kB / 2.337 GB, free: 246.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001428/4.462, allocations: 0.7492 MB / 2.337 GB, free: 246.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/4.462, allocations: 4.359 kB / 2.337 GB, free: 246.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002209/4.464, allocations: 0.6214 MB / 2.338 GB, free: 246.6 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.005468/4.47, allocations: 3.004 MB / 2.341 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0036/4.473, allocations: 1.123 MB / 2.342 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/4.473, allocations: 1.156 kB / 2.342 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/4.475, allocations: 379.9 kB / 2.342 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/4.477, allocations: 0.4917 MB / 2.343 GB, free: 245.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01703/4.494, allocations: 9.534 MB / 2.352 GB, free: 240.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/4.495, allocations: 1.086 MB / 2.353 GB, free: 239.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001317/4.496, allocations: 217.9 kB / 2.353 GB, free: 239.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/4.497, allocations: 412.7 kB / 2.354 GB, free: 239.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/4.497, allocations: 0 / 2.354 GB, free: 239.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/4.566, allocations: 38.25 MB / 2.391 GB, free: 238.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003239/4.566, allocations: 249.7 kB / 2.391 GB, free: 238.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/8.017, allocations: 5.594 kB / 2.391 GB, free: 238.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat does not exist to compare? outputFormat=mat