Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",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.344/2.344, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001112/0.001112, allocations: 188 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.805/1.805, allocations: 221.3 MB / 0.7915 GB, free: 5.375 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.0009255/0.0009256, allocations: 87.95 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.449e-05/4.453e-05, allocations: 10.56 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.337, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/1.552, allocations: 151.2 MB / 1.366 GB, free: 2.836 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.552, allocations: 90.55 kB / 1.367 GB, free: 2.781 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008014/1.56, allocations: 2.406 MB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.224e-06/1.56, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.56, allocations: 0 / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004122/1.561, allocations: 338.8 kB / 1.369 GB, free: 176 kB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/1.561, allocations: 8.031 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.409e-05/1.561, allocations: 30.56 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/1.561, allocations: 0 / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/1.561, allocations: 171 kB / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/1.561, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/1.561, allocations: 0 / 1.369 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/1.561, allocations: 37.81 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.561, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/1.561, allocations: 4 kB / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.561, allocations: 0 / 1.369 GB, free: 15.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.69e-05/1.562, allocations: 7.938 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002456/1.562, allocations: 165.1 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.562, allocations: 34.45 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/1.562, allocations: 17.05 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.563, allocations: 0.5503 MB / 1.37 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/1.563, allocations: 34.19 kB / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 2.755e-06/1.563, allocations: 0 / 1.37 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001705/1.563, allocations: 61.77 kB / 1.37 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/1.564, allocations: 51.41 kB / 1.37 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/1.564, allocations: 89 kB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/1.564, allocations: 25.7 kB / 1.37 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/1.564, allocations: 84.14 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/1.564, allocations: 11.52 kB / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.564, allocations: 0 / 1.371 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.564, allocations: 314.8 kB / 1.371 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/1.564, allocations: 5.969 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.395e-05/1.564, allocations: 7.25 kB / 1.371 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.059e-05/1.564, allocations: 4 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.564, allocations: 4.125 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.344e-05/1.564, allocations: 49.38 kB / 1.371 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/1.564, allocations: 4 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.564, allocations: 3.984 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/1.564, allocations: 0 / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.675e-05/1.564, allocations: 4 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.564, allocations: 3.984 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.75e-05/1.564, allocations: 4 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/1.564, allocations: 0 / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/1.564, allocations: 108.9 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/1.564, allocations: 4 kB / 1.371 GB, free: 14.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/1.564, allocations: 59.91 kB / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/1.565, allocations: 0 / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.565, allocations: 0 / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.565, allocations: 0 / 1.371 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/1.565, allocations: 161 kB / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.565, allocations: 0 / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/1.565, allocations: 4 kB / 1.371 GB, free: 13.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.867e-06/1.565, allocations: 4 kB / 1.371 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/1.565, allocations: 4 kB / 1.371 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.565, allocations: 0 / 1.371 GB, free: 13.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.565, allocations: 7.922 kB / 1.371 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.856e-05/1.565, allocations: 60.89 kB / 1.371 GB, free: 13.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/1.565, allocations: 88.98 kB / 1.371 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/1.565, allocations: 0 / 1.371 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/1.565, allocations: 4 kB / 1.371 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/1.565, allocations: 7.938 kB / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/1.565, allocations: 0 / 1.371 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.453e-05/1.565, allocations: 82.78 kB / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.565, allocations: 0 / 1.372 GB, free: 13.53 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002458/1.565, allocations: 23.98 kB / 1.372 GB, free: 13.51 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005828/1.566, allocations: 0.6403 MB / 1.372 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.685e-05/1.566, allocations: 19.5 kB / 1.372 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.566, allocations: 0 / 1.372 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.538e-05/1.566, allocations: 4 kB / 1.372 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/1.566, allocations: 8.922 kB / 1.372 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/1.567, allocations: 102.5 kB / 1.372 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/1.567, allocations: 0.677 MB / 1.373 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.569e-05/1.567, allocations: 4 kB / 1.373 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.567, allocations: 14.62 kB / 1.373 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/1.567, allocations: 0 / 1.373 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01499/1.582, allocations: 1.468 MB / 1.374 GB, free: 10.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.582, allocations: 183.1 kB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/3.436, allocations: 0 / 1.375 GB, free: 10.45 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat does not exist to compare? outputFormat=mat