Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001542, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.28/2.28, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003039/0.0003039, allocations: 12 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5901/0.5904, allocations: 142.3 MB / 0.9539 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001117/0.5916, allocations: 1.007 MB / 0.9549 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009203/0.5925, allocations: 0.6884 MB / 0.9555 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.466e-05/0.5925, allocations: 0 / 0.9555 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.125e-05/0.5926, allocations: 3.984 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.969e-05/0.5926, allocations: 4.875 kB / 0.9555 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.5929, allocations: 78.03 kB / 0.9556 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.214e-05/0.593, allocations: 15.97 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.936e-05/0.593, allocations: 5.266 kB / 0.9556 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.593, allocations: 6.938 kB / 0.9556 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.5931, allocations: 11.77 kB / 0.9556 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.5931, allocations: 1.562 kB / 0.9556 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.5934, allocations: 147.8 kB / 0.9558 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.5934, allocations: 7.984 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.697e-05/0.5934, allocations: 28.48 kB / 0.9558 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.5936, allocations: 64.86 kB / 0.9559 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5936, allocations: 11.92 kB / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5936, allocations: 0 / 0.9559 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.5936, allocations: 1.125 kB / 0.9559 GB, free: 6.5 MB / 0.7169 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.0001988/0.5938, allocations: 330.2 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5938, allocations: 10.06 kB / 0.9562 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.113e-05/0.5939, allocations: 34.55 kB / 0.9563 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.778e-05/0.5939, allocations: 5.016 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.617e-05/0.5939, allocations: 160.3 kB / 0.9564 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.594, allocations: 1.031 kB / 0.9564 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.594, allocations: 5.094 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.004e-05/0.594, allocations: 38.62 kB / 0.9565 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.5941, allocations: 3.938 kB / 0.9565 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.512e-06/0.5941, allocations: 3.938 kB / 0.9565 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.5941, allocations: 5.141 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.746e-05/0.5941, allocations: 13.36 kB / 0.9565 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.39e-05/0.5942, allocations: 154 kB / 0.9566 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.499e-05/0.5943, allocations: 37.58 kB / 0.9567 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.5943, allocations: 13.33 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002045/0.5964, allocations: 1.029 MB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.5964, allocations: 31.81 kB / 0.9577 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5964, allocations: 0 / 0.9577 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001242/0.5965, allocations: 50.59 kB / 0.9578 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.5966, allocations: 60.5 kB / 0.9578 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.5966, allocations: 100.1 kB / 0.9579 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.5966, allocations: 25.7 kB / 0.9579 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.278e-05/0.5966, allocations: 81.3 kB / 0.958 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.5967, allocations: 13 kB / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-06/0.5967, allocations: 0 / 0.958 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.897e-05/0.5967, allocations: 312.1 kB / 0.9583 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.5967, allocations: 3.406 kB / 0.9583 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.11e-05/0.5967, allocations: 10.11 kB / 0.9583 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.7e-05/0.5968, allocations: 8.469 kB / 0.9583 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5968, allocations: 0 / 0.9583 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.114e-05/0.5968, allocations: 44.95 kB / 0.9584 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5969, allocations: 8.297 kB / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.5969, allocations: 1.062 kB / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.5969, allocations: 0 / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.403e-05/0.5969, allocations: 4.938 kB / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.5969, allocations: 0 / 0.9584 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.523e-05/0.597, allocations: 5.75 kB / 0.9584 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.597, allocations: 11.95 kB / 0.9584 GB, free: 4.117 MB / 0.7169 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 () * Number of clocked 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 3.953e-05/0.597, allocations: 108.9 kB / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-06/0.597, allocations: 0 / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.5971, allocations: 60.97 kB / 0.9586 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5972, allocations: 5.484 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5972, allocations: 0 / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5972, allocations: 1.406 kB / 0.9586 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.725e-05/0.5972, allocations: 148.6 kB / 0.9587 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5972, allocations: 13.39 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.5973, allocations: 3.562 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5973, allocations: 1.75 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.5973, allocations: 0 / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.5973, allocations: 0 / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5973, allocations: 1.906 kB / 0.9587 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.34e-05/0.5974, allocations: 76.33 kB / 0.9588 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.5974, allocations: 82.92 kB / 0.9589 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.5974, allocations: 4 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/0.5974, allocations: 0 / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.347e-05/0.5974, allocations: 5.797 kB / 0.9589 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.5974, allocations: 5.812 kB / 0.9589 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.489e-05/0.5975, allocations: 77.03 kB / 0.959 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5975, allocations: 0 / 0.959 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002236/0.5977, allocations: 31.31 kB / 0.959 GB, free: 3.465 MB / 0.7169 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 () * Number of clocked 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.0003354/0.598, allocations: 0.6367 MB / 0.9596 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.164e-05/0.5981, allocations: 13.61 kB / 0.9597 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5981, allocations: 3.938 kB / 0.9597 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.276e-05/0.5981, allocations: 9.5 kB / 0.9597 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.5983, allocations: 13.39 kB / 0.9597 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002856/0.5986, allocations: 144.6 kB / 0.9598 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.5987, allocations: 0.6758 MB / 0.9605 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.5987, allocations: 6.844 kB / 0.9605 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.5988, allocations: 9.562 kB / 0.9605 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.5988, allocations: 4 kB / 0.9605 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009609/0.6084, allocations: 1.564 MB / 0.962 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.6086, allocations: 219.4 kB / 0.9622 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.151, allocations: 3.938 kB / 0.9622 GB, free: 0.9922 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat does not exist to compare? outputFormat=mat