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.434/2.434, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.00118/0.00118, allocations: 168.9 kB / 496.1 MB, free: 12.89 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.71/1.71, 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.0009896/0.0009897, allocations: 99.59 kB / 0.9318 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.598e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.001/6.319, allocations: 2.187 GB / 3.406 GB, free: 99.62 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/6.32, allocations: 94.7 kB / 3.406 GB, free: 99.53 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.741/10.06, allocations: 0.9535 GB / 4.359 GB, free: 37.05 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.354e-06/10.06, allocations: 4 kB / 4.359 GB, free: 37.04 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001614/10.06, allocations: 39.98 kB / 4.36 GB, free: 37 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.00661/10.07, allocations: 2.093 MB / 4.362 GB, free: 34.86 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/10.07, allocations: 12.03 kB / 4.362 GB, free: 34.85 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/10.07, allocations: 148.2 kB / 4.362 GB, free: 34.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/10.07, allocations: 0.552 MB / 4.362 GB, free: 34.14 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/10.07, allocations: 1.36 MB / 4.364 GB, free: 32.73 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006116/10.08, allocations: 218.3 kB / 4.364 GB, free: 32.52 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/10.08, allocations: 116 kB / 4.364 GB, free: 32.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/10.08, allocations: 1.207 MB / 4.365 GB, free: 31.15 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/10.08, allocations: 0 / 4.365 GB, free: 31.15 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/10.08, allocations: 36 kB / 4.365 GB, free: 31.12 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.202e-05/10.08, allocations: 45.98 kB / 4.365 GB, free: 31.07 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/10.08, allocations: 1.031 MB / 4.366 GB, free: 30.04 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.009494/10.09, allocations: 5.544 MB / 4.372 GB, free: 24.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/10.09, allocations: 0.7762 MB / 4.372 GB, free: 23.41 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005295/10.09, allocations: 415.1 kB / 4.373 GB, free: 23 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008818/10.09, allocations: 0.7514 MB / 4.373 GB, free: 22.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007647/10.09, allocations: 0.5058 MB / 4.374 GB, free: 21.58 MB / 1.167 GB Notification: Performance of pre-optimization done (n=81): time 3.186e-06/10.09, allocations: 0 / 4.374 GB, free: 21.58 MB / 1.167 GB Notification: Performance of matching and sorting (n=81): time 0.001982/10.09, allocations: 0.9357 MB / 4.375 GB, free: 20.64 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/10.09, allocations: 119.5 kB / 4.375 GB, free: 20.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/10.1, allocations: 1.13 MB / 4.376 GB, free: 19.36 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00015/10.1, allocations: 53.7 kB / 4.376 GB, free: 19.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/10.1, allocations: 0.6391 MB / 4.377 GB, free: 18.65 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/10.1, allocations: 288 kB / 4.377 GB, free: 18.37 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.995e-05/10.1, allocations: 20 kB / 4.377 GB, free: 18.35 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.476e-05/10.1, allocations: 349.9 kB / 4.377 GB, free: 18 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/10.1, allocations: 398.5 kB / 4.378 GB, free: 17.61 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/10.1, allocations: 0.69 MB / 4.378 GB, free: 16.81 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/10.1, allocations: 488.5 kB / 4.379 GB, free: 16.33 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/10.1, allocations: 4 kB / 4.379 GB, free: 16.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002014/10.1, allocations: 1.243 MB / 4.38 GB, free: 15.07 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004342/10.1, allocations: 1.905 MB / 4.382 GB, free: 13.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/10.1, allocations: 4 kB / 4.382 GB, free: 13.05 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/10.1, allocations: 16 kB / 4.382 GB, free: 13.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/10.1, allocations: 347.5 kB / 4.382 GB, free: 12.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005411/10.1, allocations: 1.199 MB / 4.384 GB, free: 11.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/10.11, allocations: 250.8 kB / 4.384 GB, free: 11.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/10.11, allocations: 51.97 kB / 4.384 GB, free: 11.15 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/10.11, allocations: 4 kB / 4.384 GB, free: 11.15 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001699/10.11, allocations: 1.094 MB / 4.385 GB, free: 10.05 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/10.11, allocations: 4 kB / 4.385 GB, free: 10.04 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/10.11, allocations: 12 kB / 4.385 GB, free: 10.03 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/10.11, allocations: 332.2 kB / 4.385 GB, free: 9.707 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/10.11, allocations: 11.94 kB / 4.385 GB, free: 9.695 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/10.11, allocations: 230.8 kB / 4.385 GB, free: 9.469 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/10.11, allocations: 59.97 kB / 4.385 GB, free: 9.41 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 () * 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.0003548/10.11, allocations: 177.8 kB / 4.386 GB, free: 9.23 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003182/10.11, allocations: 158 kB / 4.386 GB, free: 9.074 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/10.11, allocations: 1.106 MB / 4.387 GB, free: 7.957 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/10.11, allocations: 8 kB / 4.387 GB, free: 7.949 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/10.11, allocations: 0 / 4.387 GB, free: 7.949 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/10.11, allocations: 7.969 kB / 4.387 GB, free: 7.941 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00397/10.12, allocations: 2.662 MB / 4.39 GB, free: 5.176 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/10.12, allocations: 7.938 kB / 4.39 GB, free: 5.168 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/10.12, allocations: 252.1 kB / 4.39 GB, free: 4.922 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/10.12, allocations: 8 kB / 4.39 GB, free: 4.914 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/10.12, allocations: 31.97 kB / 4.39 GB, free: 4.883 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004531/10.12, allocations: 1.192 MB / 4.391 GB, free: 3.645 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/10.12, allocations: 7.938 kB / 4.391 GB, free: 3.637 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/10.12, allocations: 1.934 MB / 4.393 GB, free: 1.547 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/10.12, allocations: 378.8 kB / 4.393 GB, free: 1.156 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/10.12, allocations: 23.98 kB / 4.393 GB, free: 1.133 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/10.12, allocations: 155.8 kB / 4.393 GB, free: 0.9805 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/10.13, allocations: 76.77 kB / 4.393 GB, free: 0.9062 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/10.13, allocations: 39.97 kB / 4.394 GB, free: 0.8672 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.9202/11.05, allocations: 0.8704 MB / 4.394 GB, free: 202.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.11e-07/11.05, allocations: 0 / 4.394 GB, free: 202.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0055/11.05, allocations: 0.9881 MB / 4.395 GB, free: 202.9 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.009223/11.06, allocations: 5.402 MB / 4.401 GB, free: 200.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005053/11.07, allocations: 1.752 MB / 4.402 GB, free: 200.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/11.07, allocations: 0.7188 kB / 4.402 GB, free: 200.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001381/11.07, allocations: 0.5169 MB / 4.403 GB, free: 200.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/11.07, allocations: 0.6674 MB / 4.403 GB, free: 200.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/11.08, allocations: 2.448 MB / 4.406 GB, free: 199.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/11.08, allocations: 1.259 MB / 4.407 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00331/11.08, allocations: 0.5111 MB / 4.408 GB, free: 199 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009507/11.08, allocations: 0.5568 MB / 4.408 GB, free: 199 MB / 1.167 GB Notification: Performance of SimCode: time 1.613e-06/11.08, allocations: 2.219 kB / 4.408 GB, free: 199 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/11.25, allocations: 74.2 MB / 4.481 GB, free: 198 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/11.25, allocations: 243.9 kB / 4.481 GB, free: 197.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.054/16.3, allocations: 0 / 4.481 GB, free: 197.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