Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.409/2.409, allocations: 390.5 MB / 398 MB, free: 10.99 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.001247/0.001247, allocations: 175.7 kB / 491.2 MB, free: 1.598 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.643/1.643, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008848/0.0008849, allocations: 91.59 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.353e-05, allocations: 5.797 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.035/6.354, allocations: 2.186 GB / 3.399 GB, free: 113.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/6.354, allocations: 88.58 kB / 3.399 GB, free: 113.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/10, allocations: 0.9453 GB / 4.344 GB, free: 30.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.262e-06/10, allocations: 0 / 4.344 GB, free: 30.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001638/10, allocations: 43.98 kB / 4.344 GB, free: 30.93 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.006304/10.01, allocations: 2.089 MB / 4.346 GB, free: 28.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/10.01, allocations: 12.03 kB / 4.346 GB, free: 28.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/10.01, allocations: 0.5481 MB / 4.347 GB, free: 28.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/10.01, allocations: 1.36 MB / 4.348 GB, free: 26.82 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005963/10.01, allocations: 173.9 kB / 4.348 GB, free: 26.65 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/10.01, allocations: 83.89 kB / 4.348 GB, free: 26.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001702/10.02, allocations: 0.9295 MB / 4.349 GB, free: 25.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/10.02, allocations: 1.067 MB / 4.35 GB, free: 24.53 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/10.02, allocations: 4 kB / 4.35 GB, free: 24.53 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/10.02, allocations: 0 / 4.35 GB, free: 24.53 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/10.02, allocations: 45.98 kB / 4.35 GB, free: 24.48 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.01016/10.03, allocations: 5.302 MB / 4.356 GB, free: 18.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/10.03, allocations: 0.7435 MB / 4.356 GB, free: 18.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000505/10.03, allocations: 400.7 kB / 4.357 GB, free: 17.75 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/10.03, allocations: 0.7476 MB / 4.357 GB, free: 16.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008071/10.03, allocations: 492.4 kB / 4.358 GB, free: 16.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=81): time 5.32e-06/10.03, allocations: 4 kB / 4.358 GB, free: 16.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=81): time 0.002503/10.03, allocations: 0.9476 MB / 4.359 GB, free: 15.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/10.03, allocations: 111.6 kB / 4.359 GB, free: 15.27 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/10.04, allocations: 0.9034 MB / 4.36 GB, free: 14.35 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/10.04, allocations: 29.64 kB / 4.36 GB, free: 14.32 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/10.04, allocations: 0.6534 MB / 4.36 GB, free: 13.65 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/10.04, allocations: 264 kB / 4.361 GB, free: 13.39 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.467e-05/10.04, allocations: 8 kB / 4.361 GB, free: 13.38 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001196/10.04, allocations: 345.9 kB / 4.361 GB, free: 13.04 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/10.04, allocations: 378.5 kB / 4.361 GB, free: 12.67 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/10.04, allocations: 0.6682 MB / 4.362 GB, free: 11.89 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/10.04, allocations: 0.4902 MB / 4.363 GB, free: 11.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/10.04, allocations: 4 kB / 4.363 GB, free: 11.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002155/10.04, allocations: 1.202 MB / 4.364 GB, free: 10.18 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006805/10.04, allocations: 2.058 MB / 4.366 GB, free: 7.98 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/10.04, allocations: 4.109 kB / 4.366 GB, free: 7.977 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.349e-05/10.04, allocations: 19.94 kB / 4.366 GB, free: 7.957 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/10.04, allocations: 355.4 kB / 4.366 GB, free: 7.609 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005616/10.04, allocations: 1.207 MB / 4.367 GB, free: 6.355 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/10.05, allocations: 195.1 kB / 4.367 GB, free: 6.164 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/10.05, allocations: 63.95 kB / 4.368 GB, free: 6.102 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/10.05, allocations: 4 kB / 4.368 GB, free: 6.098 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/10.05, allocations: 1.03 MB / 4.369 GB, free: 5.066 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/10.05, allocations: 4 kB / 4.369 GB, free: 5.062 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/10.05, allocations: 12 kB / 4.369 GB, free: 5.051 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/10.05, allocations: 336.2 kB / 4.369 GB, free: 4.723 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/10.05, allocations: 8 kB / 4.369 GB, free: 4.715 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/10.05, allocations: 191.1 kB / 4.369 GB, free: 4.527 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/10.05, allocations: 51.97 kB / 4.369 GB, free: 4.477 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 128 * 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.0003066/10.05, allocations: 136.7 kB / 4.369 GB, free: 4.336 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001632/10.05, allocations: 0.9124 MB / 4.37 GB, free: 3.418 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/10.05, allocations: 138.3 kB / 4.37 GB, free: 3.281 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/10.06, allocations: 1.097 MB / 4.371 GB, free: 2.176 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/10.06, allocations: 15.95 kB / 4.371 GB, free: 2.16 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/10.06, allocations: 0 / 4.371 GB, free: 2.16 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/10.06, allocations: 3.984 kB / 4.371 GB, free: 2.156 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/10.06, allocations: 2.509 MB / 4.374 GB, free: 15.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/10.06, allocations: 4 kB / 4.374 GB, free: 15.55 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/10.06, allocations: 252.1 kB / 4.374 GB, free: 15.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/10.06, allocations: 11.98 kB / 4.374 GB, free: 15.29 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/10.06, allocations: 19.92 kB / 4.374 GB, free: 15.27 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006193/10.06, allocations: 1.199 MB / 4.375 GB, free: 14.02 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/10.06, allocations: 4 kB / 4.375 GB, free: 14.02 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/10.06, allocations: 1.904 MB / 4.377 GB, free: 11.95 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007483/10.06, allocations: 363 kB / 4.377 GB, free: 11.57 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/10.07, allocations: 4 kB / 4.377 GB, free: 11.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/10.07, allocations: 139.8 kB / 4.378 GB, free: 11.43 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/10.07, allocations: 72.77 kB / 4.378 GB, free: 11.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/10.07, allocations: 47.97 kB / 4.378 GB, free: 11.31 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001036/10.07, allocations: 0.6667 MB / 4.378 GB, free: 10.64 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.41e-07/10.07, allocations: 0 / 4.378 GB, free: 10.64 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00316/10.07, allocations: 0.9279 MB / 4.379 GB, free: 9.715 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.007562/10.08, allocations: 5.576 MB / 4.385 GB, free: 3.941 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003394/10.08, allocations: 1.668 MB / 4.386 GB, free: 2.254 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/10.08, allocations: 0 / 4.386 GB, free: 2.254 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009481/10.08, allocations: 0.4989 MB / 4.387 GB, free: 1.754 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/10.09, allocations: 0.504 MB / 4.387 GB, free: 1.254 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8227/10.91, allocations: 2.319 MB / 4.39 GB, free: 210.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/10.91, allocations: 1.265 MB / 4.391 GB, free: 209.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.003667/10.91, allocations: 445.2 kB / 4.391 GB, free: 209.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/10.92, allocations: 0.5563 MB / 4.392 GB, free: 209.3 MB / 1.167 GB Notification: Performance of SimCode: time 2.374e-06/10.92, allocations: 0 / 4.392 GB, free: 209.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/11.04, allocations: 49.91 MB / 4.441 GB, free: 208.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/11.04, allocations: 204.7 kB / 4.441 GB, free: 208.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.243/15.29, allocations: 2.875 kB / 4.441 GB, free: 208.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat