Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.6 MB / 307.6 MB, free: 5.195 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.001448/0.001448, allocations: 177 kB / 377.1 MB, free: 1.52 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.924/1.924, allocations: 205.4 MB / 0.6367 GB, free: 8.527 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.001218/0.001218, allocations: 92.89 kB / 0.751 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004075/0.0004078, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2939, allocations: 116.3 MB / 0.9884 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.561/6.855, allocations: 2.359 GB / 3.348 GB, free: 182.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/6.855, allocations: 95.33 kB / 3.348 GB, free: 182.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.516/10.37, allocations: 0.9482 GB / 4.296 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.085e-06/10.37, allocations: 0 / 4.296 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0004805/10.37, allocations: 46.59 kB / 4.296 GB, free: 116.7 MB / 0.9636 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.01148/10.38, allocations: 2.403 MB / 4.298 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/10.38, allocations: 9.062 kB / 4.298 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/10.39, allocations: 0.5518 MB / 4.299 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/10.39, allocations: 1.418 MB / 4.3 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006465/10.39, allocations: 220.5 kB / 4.3 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002916/10.39, allocations: 119.4 kB / 4.301 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/10.39, allocations: 1.393 MB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/10.39, allocations: 6.25 kB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/10.39, allocations: 44.97 kB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/10.39, allocations: 42.22 kB / 4.302 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/10.4, allocations: 1.391 MB / 4.303 GB, free: 115.2 MB / 0.9636 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.009258/10.41, allocations: 5.445 MB / 4.309 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002477/10.41, allocations: 1.119 MB / 4.31 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008538/10.41, allocations: 0.7511 MB / 4.31 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/10.41, allocations: 0.64 MB / 4.311 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 3.536e-06/10.41, allocations: 2.297 kB / 4.311 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.004321/10.42, allocations: 1.705 MB / 4.313 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/10.42, allocations: 192.2 kB / 4.313 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/10.42, allocations: 1.166 MB / 4.314 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001887/10.42, allocations: 50.02 kB / 4.314 GB, free: 111.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/10.42, allocations: 0.6478 MB / 4.315 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/10.42, allocations: 279.1 kB / 4.315 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/10.42, allocations: 21.47 kB / 4.315 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/10.42, allocations: 346.2 kB / 4.315 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/10.42, allocations: 0.5456 MB / 4.316 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/10.42, allocations: 0.8707 MB / 4.317 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/10.42, allocations: 0.6392 MB / 4.317 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/10.42, allocations: 3.125 kB / 4.317 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00337/10.43, allocations: 1.567 MB / 4.319 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/10.43, allocations: 1.911 MB / 4.321 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/10.43, allocations: 6.656 kB / 4.321 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/10.43, allocations: 9.594 kB / 4.321 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/10.43, allocations: 343.2 kB / 4.321 GB, free: 108.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005357/10.43, allocations: 1.2 MB / 4.322 GB, free: 107.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/10.43, allocations: 251.2 kB / 4.323 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/10.43, allocations: 54.7 kB / 4.323 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/10.43, allocations: 8.781 kB / 4.323 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003019/10.43, allocations: 1.41 MB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/10.43, allocations: 6.406 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/10.43, allocations: 11.09 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/10.44, allocations: 320.2 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/10.44, allocations: 24.27 kB / 4.324 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/10.44, allocations: 228.9 kB / 4.325 GB, free: 107.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/10.44, allocations: 57.09 kB / 4.325 GB, free: 107.4 MB / 0.9636 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 (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.0009427/10.44, allocations: 419.1 kB / 4.325 GB, free: 107.2 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003493/10.44, allocations: 157.5 kB / 4.325 GB, free: 107.1 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003191/10.44, allocations: 1.404 MB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/10.44, allocations: 10.03 kB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/10.44, allocations: 3.953 kB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/10.44, allocations: 3.469 kB / 4.327 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/10.45, allocations: 2.914 MB / 4.329 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/10.45, allocations: 5.5 kB / 4.329 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/10.45, allocations: 244.8 kB / 4.33 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/10.45, allocations: 11.5 kB / 4.33 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.02e-05/10.45, allocations: 28.03 kB / 4.33 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003919/10.45, allocations: 1.196 MB / 4.331 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/10.45, allocations: 4.469 kB / 4.331 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/10.45, allocations: 2.366 MB / 4.333 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/10.46, allocations: 379.9 kB / 4.334 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/10.46, allocations: 17.88 kB / 4.334 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/10.46, allocations: 149.5 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/10.46, allocations: 77.88 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.867e-05/10.46, allocations: 38.25 kB / 4.334 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001363/10.46, allocations: 0.8963 MB / 4.335 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.3e-07/10.46, allocations: 0 / 4.335 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003717/10.46, allocations: 1.038 MB / 4.336 GB, free: 104.3 MB / 0.9636 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) * Number of clocked states: 0 () * 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.004105/10.47, allocations: 2.152 MB / 4.338 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005469/10.47, allocations: 2.236 MB / 4.34 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/10.47, allocations: 0 / 4.34 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/10.47, allocations: 0.6653 MB / 4.341 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003682/10.48, allocations: 0.6959 MB / 4.341 GB, free: 103.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/10.48, allocations: 3.266 MB / 4.344 GB, free: 102 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/10.48, allocations: 1.264 MB / 4.346 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002314/10.49, allocations: 417.4 kB / 4.346 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/10.49, allocations: 124.2 kB / 4.346 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.863e-06/10.49, allocations: 0 / 4.346 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of Templates: time 0.09364/10.58, allocations: 49.74 MB / 4.395 GB, free: 99.15 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)