Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 188.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.2 MB / 0.572 GB, free: 10.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008935, allocations: 82.55 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.938e-05/3.941e-05, allocations: 4 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 106.3 MB / 0.8919 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.69/6.921, allocations: 2.475 GB / 3.367 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/6.922, allocations: 90.31 kB / 3.367 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.694/10.62, allocations: 0.9192 GB / 4.286 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.893e-06/10.62, allocations: 0 / 4.286 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001807/10.62, allocations: 45.67 kB / 4.286 GB, free: 123.6 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00633/10.62, allocations: 2.115 MB / 4.288 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/10.62, allocations: 9.406 kB / 4.288 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/10.62, allocations: 149 kB / 4.288 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/10.63, allocations: 0.5455 MB / 4.289 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003489/10.63, allocations: 1.398 MB / 4.29 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006377/10.63, allocations: 220.4 kB / 4.291 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/10.63, allocations: 116.2 kB / 4.291 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/10.63, allocations: 1.235 MB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/10.63, allocations: 6.375 kB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/10.63, allocations: 43.28 kB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/10.63, allocations: 37.53 kB / 4.292 GB, free: 122 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/10.63, allocations: 1.066 MB / 4.293 GB, free: 122 MB / 0.8855 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.009426/10.64, allocations: 5.453 MB / 4.298 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/10.64, allocations: 0.7489 MB / 4.299 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005521/10.65, allocations: 415.4 kB / 4.299 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008819/10.65, allocations: 0.7596 MB / 4.3 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007633/10.65, allocations: 0.4891 MB / 4.301 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 3.166e-06/10.65, allocations: 2.219 kB / 4.301 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.002085/10.65, allocations: 0.9206 MB / 4.302 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/10.65, allocations: 187.8 kB / 4.302 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/10.65, allocations: 1.159 MB / 4.303 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002636/10.65, allocations: 50.92 kB / 4.303 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006569/10.65, allocations: 0.6366 MB / 4.304 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/10.65, allocations: 287.8 kB / 4.304 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/10.65, allocations: 22.52 kB / 4.304 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001039/10.65, allocations: 352.2 kB / 4.304 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006655/10.65, allocations: 392.8 kB / 4.305 GB, free: 117.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/10.65, allocations: 0.7092 MB / 4.305 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007383/10.65, allocations: 495.7 kB / 4.306 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/10.65, allocations: 0 / 4.306 GB, free: 117.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00234/10.66, allocations: 1.254 MB / 4.307 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000377/10.66, allocations: 1.91 MB / 4.309 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/10.66, allocations: 10.09 kB / 4.309 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/10.66, allocations: 11.09 kB / 4.309 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/10.66, allocations: 335.3 kB / 4.309 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00059/10.66, allocations: 1.191 MB / 4.31 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/10.66, allocations: 247.6 kB / 4.311 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/10.66, allocations: 59.83 kB / 4.311 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/10.66, allocations: 11.06 kB / 4.311 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001824/10.66, allocations: 1.093 MB / 4.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/10.66, allocations: 3.938 kB / 4.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/10.66, allocations: 11.62 kB / 4.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/10.67, allocations: 320.9 kB / 4.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/10.67, allocations: 14.66 kB / 4.312 GB, free: 114.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/10.67, allocations: 228.5 kB / 4.312 GB, free: 114 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/10.67, allocations: 54.47 kB / 4.312 GB, free: 114 MB / 0.8855 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 (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.000337/10.67, allocations: 176.6 kB / 4.312 GB, free: 113.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004039/10.67, allocations: 163.2 kB / 4.313 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/10.67, allocations: 1.085 MB / 4.314 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/10.67, allocations: 14.66 kB / 4.314 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/10.67, allocations: 0 / 4.314 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/10.67, allocations: 3.891 kB / 4.314 GB, free: 113.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/10.67, allocations: 2.612 MB / 4.316 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/10.67, allocations: 3.688 kB / 4.316 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/10.68, allocations: 239 kB / 4.316 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.632e-05/10.68, allocations: 11.33 kB / 4.316 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.35e-05/10.68, allocations: 31.7 kB / 4.317 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/10.68, allocations: 1.186 MB / 4.318 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/10.68, allocations: 16.22 kB / 4.318 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/10.68, allocations: 1.903 MB / 4.32 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009757/10.68, allocations: 373.9 kB / 4.32 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/10.68, allocations: 25.62 kB / 4.32 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/10.68, allocations: 143.4 kB / 4.32 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/10.68, allocations: 73.25 kB / 4.32 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.722e-05/10.68, allocations: 41.42 kB / 4.32 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001556/10.68, allocations: 0.8802 MB / 4.321 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/10.68, allocations: 3.562 kB / 4.321 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004427/10.69, allocations: 1.033 MB / 4.322 GB, free: 111 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * 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.006468/10.69, allocations: 5.409 MB / 4.327 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003606/10.7, allocations: 1.816 MB / 4.329 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/10.7, allocations: 0 / 4.329 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/10.7, allocations: 0.5111 MB / 4.33 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/10.7, allocations: 0.6909 MB / 4.33 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/10.71, allocations: 2.448 MB / 4.333 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006011/10.71, allocations: 1.275 MB / 4.334 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002543/10.71, allocations: 0.5004 MB / 4.334 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000777/10.71, allocations: 0.566 MB / 4.335 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.142e-06/10.71, allocations: 2.953 kB / 4.335 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/10.84, allocations: 75.69 MB / 4.409 GB, free: 102.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/10.84, allocations: 259.4 kB / 4.409 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.286/16.13, allocations: 0 / 4.409 GB, free: 102.5 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)