Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001079/0.001079, allocations: 173.1 kB / 498.1 MB, free: 5.68 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.583/1.583, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009582/0.000958, allocations: 88.33 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 15.59 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2994, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.933/5.232, allocations: 2.186 GB / 3.409 GB, free: 244.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/5.233, allocations: 91.53 kB / 3.409 GB, free: 244.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.858/8.09, allocations: 0.955 GB / 4.364 GB, free: 181.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.883e-06/8.09, allocations: 0 / 4.364 GB, free: 181.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002166/8.091, allocations: 43.98 kB / 4.364 GB, free: 181.4 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007433/8.098, allocations: 2.383 MB / 4.366 GB, free: 178.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/8.098, allocations: 12.03 kB / 4.366 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004627/8.099, allocations: 152.2 kB / 4.367 GB, free: 178.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/8.102, allocations: 0.5481 MB / 4.367 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/8.106, allocations: 1.375 MB / 4.368 GB, free: 176.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006334/8.106, allocations: 222.3 kB / 4.369 GB, free: 176.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/8.107, allocations: 112 kB / 4.369 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/8.109, allocations: 1.367 MB / 4.37 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/8.109, allocations: 7.938 kB / 4.37 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/8.109, allocations: 43.97 kB / 4.37 GB, free: 175 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-05/8.109, allocations: 49.94 kB / 4.37 GB, free: 174.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/8.112, allocations: 1.358 MB / 4.372 GB, free: 173.6 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.008437/8.121, allocations: 5.511 MB / 4.377 GB, free: 167.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/8.123, allocations: 1.14 MB / 4.378 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/8.124, allocations: 0.7591 MB / 4.379 GB, free: 165.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/8.125, allocations: 0.6684 MB / 4.379 GB, free: 165 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.096e-06/8.125, allocations: 0 / 4.379 GB, free: 165 MB / 1.167 GB Notification: Performance of matching and sorting (n=82): time 0.004096/8.129, allocations: 1.733 MB / 4.381 GB, free: 163.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/8.129, allocations: 119.5 kB / 4.381 GB, free: 163.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/8.131, allocations: 1.146 MB / 4.382 GB, free: 162 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000162/8.131, allocations: 49.7 kB / 4.382 GB, free: 161.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/8.132, allocations: 0.6314 MB / 4.383 GB, free: 161.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/8.132, allocations: 287.9 kB / 4.383 GB, free: 161 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-05/8.132, allocations: 23.94 kB / 4.383 GB, free: 161 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/8.132, allocations: 341.9 kB / 4.384 GB, free: 160.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/8.133, allocations: 0.553 MB / 4.384 GB, free: 160.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/8.135, allocations: 0.8482 MB / 4.385 GB, free: 159.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/8.136, allocations: 0.6293 MB / 4.386 GB, free: 158.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/8.136, allocations: 0 / 4.386 GB, free: 158.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003211/8.139, allocations: 1.563 MB / 4.387 GB, free: 156.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/8.14, allocations: 1.909 MB / 4.389 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/8.14, allocations: 11.98 kB / 4.389 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.016e-05/8.14, allocations: 12 kB / 4.389 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/8.141, allocations: 351.5 kB / 4.389 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004888/8.142, allocations: 1.196 MB / 4.391 GB, free: 153.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/8.144, allocations: 250.7 kB / 4.391 GB, free: 153.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/8.144, allocations: 55.95 kB / 4.391 GB, free: 153 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/8.144, allocations: 8 kB / 4.391 GB, free: 153 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002809/8.147, allocations: 1.419 MB / 4.392 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/8.147, allocations: 7.938 kB / 4.392 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/8.147, allocations: 12 kB / 4.392 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/8.148, allocations: 331.8 kB / 4.393 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/8.148, allocations: 11.94 kB / 4.393 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/8.15, allocations: 230.8 kB / 4.393 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/8.15, allocations: 59.97 kB / 4.393 GB, free: 150.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 129 * 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.0007466/8.151, allocations: 410.4 kB / 4.393 GB, free: 150.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/8.151, allocations: 154.1 kB / 4.393 GB, free: 150.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003043/8.154, allocations: 1.439 MB / 4.395 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/8.154, allocations: 8 kB / 4.395 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/8.154, allocations: 4 kB / 4.395 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/8.154, allocations: 3.984 kB / 4.395 GB, free: 148.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/8.159, allocations: 2.97 MB / 4.398 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/8.159, allocations: 4 kB / 4.398 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/8.16, allocations: 251.8 kB / 4.398 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/8.16, allocations: 12 kB / 4.398 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.252e-05/8.161, allocations: 39.92 kB / 4.398 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003665/8.161, allocations: 1.188 MB / 4.399 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/8.161, allocations: 4 kB / 4.399 GB, free: 144.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/8.165, allocations: 2.421 MB / 4.401 GB, free: 141.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/8.166, allocations: 374.8 kB / 4.402 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/8.166, allocations: 27.95 kB / 4.402 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/8.168, allocations: 151.7 kB / 4.402 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/8.168, allocations: 68.56 kB / 4.402 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.679e-05/8.168, allocations: 43.97 kB / 4.402 GB, free: 141.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001108/8.169, allocations: 0.8783 MB / 4.403 GB, free: 140.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/8.169, allocations: 0 / 4.403 GB, free: 140.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002894/8.172, allocations: 0.9988 MB / 4.404 GB, free: 139.2 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: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.007553/8.18, allocations: 5.889 MB / 4.41 GB, free: 133.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004686/8.184, allocations: 2.194 MB / 4.412 GB, free: 130.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/8.184, allocations: 4 kB / 4.412 GB, free: 130.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/8.186, allocations: 0.6802 MB / 4.413 GB, free: 130.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/8.189, allocations: 0.6717 MB / 4.413 GB, free: 129.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/8.195, allocations: 7.169 MB / 4.42 GB, free: 122.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/8.196, allocations: 1.258 MB / 4.421 GB, free: 120.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001741/8.198, allocations: 423.6 kB / 4.422 GB, free: 120.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/8.198, allocations: 0.5774 MB / 4.422 GB, free: 119.9 MB / 1.167 GB Notification: Performance of SimCode: time 6.71e-07/8.198, allocations: 0 / 4.422 GB, free: 119.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08398/8.282, allocations: 67.35 MB / 4.488 GB, free: 53.09 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/8.283, allocations: 267.2 kB / 4.488 GB, free: 52.74 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.522/12.8, allocations: 4.375 kB / 4.488 GB, free: 52.74 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat