Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.612/1.612, allocations: 285.6 MB / 293.1 MB, free: 10.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 176.9 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007854/0.0007854, allocations: 94.62 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.1e-05/2.103e-05, allocations: 8 kB / 0.8518 GB, free: 2.664 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6255/0.6255, allocations: 115.3 MB / 0.9644 GB, free: 78.9 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.589/6.214, allocations: 2.358 GB / 3.322 GB, free: 165.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/6.215, allocations: 87.95 kB / 3.322 GB, free: 165.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.205/10.42, allocations: 0.9384 GB / 4.26 GB, free: 134.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.204e-06/10.42, allocations: 0 / 4.26 GB, free: 134.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002589/10.42, allocations: 48.52 kB / 4.26 GB, free: 134.6 MB / 0.948 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.008463/10.43, allocations: 2.111 MB / 4.263 GB, free: 133.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/10.43, allocations: 9.688 kB / 4.263 GB, free: 133.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/10.43, allocations: 0.5486 MB / 4.263 GB, free: 133.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/10.44, allocations: 1.393 MB / 4.264 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007617/10.44, allocations: 170.8 kB / 4.265 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003678/10.44, allocations: 77.2 kB / 4.265 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002272/10.44, allocations: 0.9565 MB / 4.266 GB, free: 133.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/10.44, allocations: 1.086 MB / 4.267 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/10.44, allocations: 4.25 kB / 4.267 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/10.44, allocations: 1.984 kB / 4.267 GB, free: 133.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.463e-05/10.44, allocations: 46.73 kB / 4.267 GB, free: 133.2 MB / 0.948 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.01273/10.46, allocations: 5.279 MB / 4.272 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/10.46, allocations: 0.747 MB / 4.273 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/10.46, allocations: 399.8 kB / 4.273 GB, free: 131.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/10.46, allocations: 0.7521 MB / 4.274 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009852/10.46, allocations: 495.6 kB / 4.274 GB, free: 130.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=81): time 5.531e-06/10.46, allocations: 1.344 kB / 4.274 GB, free: 130.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=81): time 0.003018/10.46, allocations: 0.9548 MB / 4.275 GB, free: 130.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/10.46, allocations: 199 kB / 4.275 GB, free: 130 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/10.47, allocations: 0.9149 MB / 4.276 GB, free: 129.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002421/10.47, allocations: 29.14 kB / 4.276 GB, free: 129.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008335/10.47, allocations: 0.6601 MB / 4.277 GB, free: 129.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/10.47, allocations: 263.4 kB / 4.277 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/10.47, allocations: 3.844 kB / 4.277 GB, free: 129.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000129/10.47, allocations: 348 kB / 4.277 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/10.47, allocations: 389.3 kB / 4.278 GB, free: 129.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/10.47, allocations: 0.704 MB / 4.279 GB, free: 128.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/10.47, allocations: 0.519 MB / 4.279 GB, free: 128.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/10.47, allocations: 1.5 kB / 4.279 GB, free: 128.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003326/10.47, allocations: 1.234 MB / 4.28 GB, free: 128.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000614/10.47, allocations: 2.068 MB / 4.282 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/10.47, allocations: 7.469 kB / 4.282 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-05/10.47, allocations: 11.69 kB / 4.282 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/10.48, allocations: 351.3 kB / 4.283 GB, free: 126.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/10.48, allocations: 1.213 MB / 4.284 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/10.48, allocations: 192.3 kB / 4.284 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/10.48, allocations: 62.38 kB / 4.284 GB, free: 125.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/10.48, allocations: 4.906 kB / 4.284 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002671/10.48, allocations: 1.056 MB / 4.285 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.443e-05/10.48, allocations: 13.89 kB / 4.285 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/10.48, allocations: 14.14 kB / 4.285 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/10.48, allocations: 325.6 kB / 4.285 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/10.48, allocations: 17.41 kB / 4.285 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/10.49, allocations: 179 kB / 4.286 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/10.49, allocations: 61.27 kB / 4.286 GB, free: 125.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0004404/10.49, allocations: 142 kB / 4.286 GB, free: 125.1 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002727/10.49, allocations: 0.9196 MB / 4.287 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/10.49, allocations: 143 kB / 4.287 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003124/10.49, allocations: 1.086 MB / 4.288 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/10.49, allocations: 11.25 kB / 4.288 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/10.49, allocations: 1.469 kB / 4.288 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/10.49, allocations: 10.34 kB / 4.288 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006927/10.5, allocations: 2.498 MB / 4.29 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/10.5, allocations: 3.219 kB / 4.29 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/10.5, allocations: 258.3 kB / 4.291 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.56e-05/10.5, allocations: 7.219 kB / 4.291 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001212/10.5, allocations: 21.81 kB / 4.291 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006559/10.5, allocations: 1.193 MB / 4.292 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/10.5, allocations: 5.188 kB / 4.292 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/10.51, allocations: 1.912 MB / 4.294 GB, free: 122.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/10.51, allocations: 358.9 kB / 4.294 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006753/10.51, allocations: 9.875 kB / 4.294 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/10.51, allocations: 134.2 kB / 4.294 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/10.51, allocations: 72.5 kB / 4.294 GB, free: 122.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001559/10.51, allocations: 44.22 kB / 4.294 GB, free: 122.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001907/10.51, allocations: 0.6762 MB / 4.295 GB, free: 122.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/10.51, allocations: 0 / 4.295 GB, free: 122.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005996/10.52, allocations: 0.9817 MB / 4.296 GB, free: 122.2 MB / 0.948 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.01004/10.53, allocations: 5.613 MB / 4.301 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004489/10.53, allocations: 1.777 MB / 4.303 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/10.53, allocations: 0 / 4.303 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/10.54, allocations: 0.5043 MB / 4.304 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/10.54, allocations: 0.5142 MB / 4.304 GB, free: 119.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00879/10.55, allocations: 2.361 MB / 4.306 GB, free: 118.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/10.55, allocations: 1.278 MB / 4.308 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003444/10.55, allocations: 465.6 kB / 4.308 GB, free: 117.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/10.55, allocations: 0.5635 MB / 4.309 GB, free: 117.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/10.55, allocations: 2.969 kB / 4.309 GB, free: 117.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/10.66, allocations: 51.64 MB / 4.359 GB, free: 116 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/10.66, allocations: 208.6 kB / 4.359 GB, free: 115.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.568/15.23, allocations: 5.203 kB / 4.359 GB, free: 115.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)