Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.352/2.352, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001356/0.001356, allocations: 176.9 kB / 496.1 MB, free: 12.87 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.777/1.777, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.001041/0.001041, allocations: 95.89 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.021e-05/5.061e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3864, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.46/6.846, allocations: 2.166 GB / 3.385 GB, free: 99.54 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/6.846, allocations: 80.58 kB / 3.385 GB, free: 99.46 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.359/10.21, allocations: 0.795 GB / 4.18 GB, free: 205 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/10.21, allocations: 0 / 4.18 GB, free: 205 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001694/10.21, allocations: 31.98 kB / 4.18 GB, free: 205 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005862/10.21, allocations: 1.571 MB / 4.182 GB, free: 203.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/10.21, allocations: 12.03 kB / 4.182 GB, free: 203.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003895/10.21, allocations: 110.5 kB / 4.182 GB, free: 203.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002637/10.21, allocations: 442.1 kB / 4.183 GB, free: 202.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/10.22, allocations: 1.031 MB / 4.184 GB, free: 201.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000654/10.22, allocations: 193.8 kB / 4.184 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002843/10.22, allocations: 72 kB / 4.184 GB, free: 201.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/10.22, allocations: 0.9169 MB / 4.185 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/10.22, allocations: 0 / 4.185 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/10.22, allocations: 28 kB / 4.185 GB, free: 200.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/10.22, allocations: 49.91 kB / 4.185 GB, free: 200.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/10.22, allocations: 0.8083 MB / 4.186 GB, free: 199.6 MB / 1.167 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.007586/10.23, allocations: 4.234 MB / 4.19 GB, free: 195.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008483/10.23, allocations: 0.5439 MB / 4.19 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004792/10.23, allocations: 343.5 kB / 4.191 GB, free: 194.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/10.23, allocations: 0.6408 MB / 4.191 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/10.23, allocations: 465.7 kB / 4.192 GB, free: 193 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.755e-06/10.23, allocations: 0 / 4.192 GB, free: 193 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.001657/10.23, allocations: 0.7009 MB / 4.192 GB, free: 192.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/10.24, allocations: 85.67 kB / 4.192 GB, free: 192.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/10.24, allocations: 0.7257 MB / 4.193 GB, free: 191.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/10.24, allocations: 37.7 kB / 4.193 GB, free: 191.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/10.24, allocations: 424.3 kB / 4.194 GB, free: 190.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/10.24, allocations: 201.1 kB / 4.194 GB, free: 190.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/10.24, allocations: 12 kB / 4.194 GB, free: 190.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/10.24, allocations: 326 kB / 4.194 GB, free: 190.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/10.24, allocations: 269 kB / 4.194 GB, free: 190.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/10.24, allocations: 408.7 kB / 4.195 GB, free: 189.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/10.24, allocations: 320.9 kB / 4.195 GB, free: 189.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/10.24, allocations: 0 / 4.195 GB, free: 189.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001352/10.24, allocations: 0.7884 MB / 4.196 GB, free: 188.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002111/10.24, allocations: 0.7305 MB / 4.196 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/10.24, allocations: 4 kB / 4.196 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/10.24, allocations: 4 kB / 4.196 GB, free: 187.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/10.24, allocations: 247.6 kB / 4.197 GB, free: 187.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005668/10.24, allocations: 1.196 MB / 4.198 GB, free: 186.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/10.24, allocations: 191.2 kB / 4.198 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/10.24, allocations: 39.97 kB / 4.198 GB, free: 186.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/10.24, allocations: 4.109 kB / 4.198 GB, free: 186.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001107/10.24, allocations: 0.6862 MB / 4.199 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/10.24, allocations: 0 / 4.199 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/10.24, allocations: 8 kB / 4.199 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/10.25, allocations: 223.9 kB / 4.199 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/10.25, allocations: 8 kB / 4.199 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/10.25, allocations: 187.3 kB / 4.199 GB, free: 184.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/10.25, allocations: 35.92 kB / 4.199 GB, free: 184.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002448/10.25, allocations: 149.7 kB / 4.199 GB, free: 184.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/10.25, allocations: 98.78 kB / 4.199 GB, free: 184.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/10.25, allocations: 0.8364 MB / 4.2 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/10.25, allocations: 8 kB / 4.2 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/10.25, allocations: 0 / 4.2 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/10.25, allocations: 3.984 kB / 4.2 GB, free: 183.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003466/10.25, allocations: 2.04 MB / 4.202 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/10.25, allocations: 4 kB / 4.202 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/10.25, allocations: 231.8 kB / 4.202 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/10.25, allocations: 4 kB / 4.202 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.356e-05/10.25, allocations: 27.97 kB / 4.203 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004378/10.25, allocations: 1.188 MB / 4.204 GB, free: 180.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/10.25, allocations: 4 kB / 4.204 GB, free: 180.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/10.26, allocations: 1.05 MB / 4.205 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/10.26, allocations: 295.6 kB / 4.205 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/10.26, allocations: 12 kB / 4.205 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/10.26, allocations: 171.7 kB / 4.205 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/10.26, allocations: 64.3 kB / 4.205 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.331e-05/10.26, allocations: 31.97 kB / 4.205 GB, free: 178.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008186/10.26, allocations: 0.559 MB / 4.206 GB, free: 177.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/10.26, allocations: 0 / 4.206 GB, free: 177.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002383/10.26, allocations: 0.6359 MB / 4.206 GB, free: 177.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004152/10.27, allocations: 3.947 MB / 4.21 GB, free: 173.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002369/10.27, allocations: 1.209 MB / 4.211 GB, free: 171.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/10.27, allocations: 3.938 kB / 4.211 GB, free: 171.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007941/10.27, allocations: 427.6 kB / 4.212 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/10.27, allocations: 452.5 kB / 4.212 GB, free: 171 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003992/10.28, allocations: 1.566 MB / 4.214 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005457/10.28, allocations: 1.064 MB / 4.215 GB, free: 168.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001817/10.28, allocations: 366.2 kB / 4.215 GB, free: 167.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/10.28, allocations: 355.2 kB / 4.216 GB, free: 167.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.393e-06/10.28, allocations: 0 / 4.216 GB, free: 167.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08348/10.36, allocations: 55.47 MB / 4.27 GB, free: 112.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/10.36, allocations: 236 kB / 4.27 GB, free: 112.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/14.26, allocations: 4 kB / 4.27 GB, free: 112.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat