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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.715/1.715, allocations: 252 MB / 0.5102 GB, free: 4.77 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005224/0.0005225, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6023/0.6029, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.7633/1.366, allocations: 192.6 MB / 0.9163 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02407/1.39, allocations: 12.5 MB / 0.9285 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003009/1.393, allocations: 55.69 kB / 0.9285 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/1.396, allocations: 0.5788 MB / 0.9291 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008791/1.405, allocations: 1.881 MB / 0.9309 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01212/1.417, allocations: 2.764 MB / 0.9336 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007479/1.424, allocations: 4.005 MB / 0.9375 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00248/1.427, allocations: 0.9968 MB / 0.9385 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/1.432, allocations: 1.495 MB / 0.94 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00285/1.435, allocations: 1.076 MB / 0.941 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003502/1.435, allocations: 63.69 kB / 0.9411 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00657/1.442, allocations: 2.358 MB / 0.9434 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007385/1.442, allocations: 366.3 kB / 0.9437 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/1.444, allocations: 348 kB / 0.9441 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/1.448, allocations: 2.377 MB / 0.9464 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/1.448, allocations: 0 / 0.9464 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.605e-06/1.448, allocations: 0 / 0.9464 GB, free: 20.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.361e-05/1.448, allocations: 0 / 0.9464 GB, free: 20.96 MB / 0.7325 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.005211/1.454, allocations: 2.089 MB / 0.9484 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.454, allocations: 11.53 kB / 0.9484 GB, free: 19.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/1.456, allocations: 0.5816 MB / 0.949 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/1.459, allocations: 1.202 MB / 0.9502 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005422/1.459, allocations: 226.1 kB / 0.9504 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/1.46, allocations: 117.1 kB / 0.9505 GB, free: 19.31 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/1.462, allocations: 1.363 MB / 0.9518 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.462, allocations: 5.844 kB / 0.9518 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.462, allocations: 38.66 kB / 0.9519 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-05/1.462, allocations: 40.66 kB / 0.9519 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002926/1.465, allocations: 1.387 MB / 0.9533 GB, free: 19.11 MB / 0.7325 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.009403/1.475, allocations: 5.352 MB / 0.9585 GB, free: 16.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/1.478, allocations: 1.175 MB / 0.9596 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001182/1.479, allocations: 0.5626 MB / 0.9602 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/1.48, allocations: 0.7813 MB / 0.961 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/1.481, allocations: 0.6282 MB / 0.9616 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 3.216e-06/1.481, allocations: 0 / 0.9616 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.004369/1.486, allocations: 1.668 MB / 0.9632 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.486, allocations: 149.8 kB / 0.9633 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/1.488, allocations: 1.329 MB / 0.9646 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001841/1.488, allocations: 52.27 kB / 0.9647 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/1.489, allocations: 0.6548 MB / 0.9653 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/1.489, allocations: 280 kB / 0.9656 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/1.489, allocations: 18.44 kB / 0.9656 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001667/1.489, allocations: 355.7 kB / 0.966 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/1.49, allocations: 0.5405 MB / 0.9665 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/1.492, allocations: 0.8248 MB / 0.9673 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001308/1.493, allocations: 0.6199 MB / 0.9679 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/1.493, allocations: 2.906 kB / 0.9679 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003433/1.496, allocations: 1.554 MB / 0.9694 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001835/1.497, allocations: 272.4 kB / 0.9697 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.497, allocations: 8.609 kB / 0.9697 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/1.497, allocations: 11.56 kB / 0.9697 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.498, allocations: 345.1 kB / 0.97 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008307/1.499, allocations: 1.204 MB / 0.9712 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.501, allocations: 235.7 kB / 0.9714 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/1.501, allocations: 56.53 kB / 0.9715 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.501, allocations: 5.469 kB / 0.9715 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00301/1.504, allocations: 1.398 MB / 0.9728 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.504, allocations: 6.219 kB / 0.9729 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.504, allocations: 11.53 kB / 0.9729 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.506, allocations: 315.9 kB / 0.9732 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/1.506, allocations: 16.34 kB / 0.9732 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.507, allocations: 217.9 kB / 0.9734 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.508, allocations: 56.55 kB / 0.9734 GB, free: 12.53 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (135): * Single equations (assignments): 130 * 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.0009968/1.509, allocations: 434.4 kB / 0.9739 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/1.509, allocations: 156.4 kB / 0.974 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/1.512, allocations: 1.376 MB / 0.9753 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.512, allocations: 14.97 kB / 0.9754 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.512, allocations: 4 kB / 0.9754 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.512, allocations: 3.984 kB / 0.9754 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006017/1.518, allocations: 2.9 MB / 0.9782 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/1.518, allocations: 2.875 kB / 0.9782 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.52, allocations: 243 kB / 0.9784 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/1.52, allocations: 10.44 kB / 0.9784 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.279e-05/1.52, allocations: 29.08 kB / 0.9785 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007271/1.52, allocations: 1.197 MB / 0.9796 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.52, allocations: 5.469 kB / 0.9796 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004311/1.525, allocations: 2.13 MB / 0.9817 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009681/1.526, allocations: 370.5 kB / 0.9821 GB, free: 8.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004276/1.526, allocations: 27.7 kB / 0.9821 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.528, allocations: 132.4 kB / 0.9822 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.528, allocations: 70.98 kB / 0.9823 GB, free: 8.746 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.528, allocations: 42.11 kB / 0.9823 GB, free: 8.738 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001932/1.53, allocations: 0.8885 MB / 0.9832 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.9e-07/1.53, allocations: 0 / 0.9832 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003469/1.533, allocations: 0.8286 MB / 0.984 GB, free: 8.383 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (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.001538/1.535, allocations: 0.4978 MB / 0.9845 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005698/1.541, allocations: 2.226 MB / 0.9867 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.541, allocations: 0 / 0.9867 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/1.542, allocations: 0.6662 MB / 0.9873 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004246/1.547, allocations: 0.7097 MB / 0.988 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006602/1.553, allocations: 3.254 MB / 0.9912 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.554, allocations: 1.24 MB / 0.9924 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002462/1.557, allocations: 421.5 kB / 0.9928 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/1.557, allocations: 126.1 kB / 0.9929 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of SimCode: time 1.382e-06/1.557, allocations: 0 / 0.9929 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of Templates: time 0.05799/1.615, allocations: 29.68 MB / 1.022 GB, free: 9.109 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile Environment - environmentSimulation: (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: