Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7703/0.7703, allocations: 143.4 MB / 158.3 MB, free: 5.805 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 181 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 223.2 MB / 447.7 MB, free: 4.715 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009025, allocations: 92.27 kB / 0.5188 GB, free: 1.07 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001748, allocations: 286.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004788/0.000479, allocations: 14.06 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.17, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.341, allocations: 2.149 GB / 2.922 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/5.342, allocations: 98.81 kB / 2.922 GB, free: 150.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 13.25/18.59, allocations: 3.418 GB / 6.34 GB, free: 59.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.226e-06/18.59, allocations: 0 / 6.34 GB, free: 59.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000673/18.59, allocations: 119.5 kB / 6.34 GB, free: 59.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.03037/18.62, allocations: 6.443 MB / 6.347 GB, free: 57.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/18.62, allocations: 9.562 kB / 6.347 GB, free: 57.61 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/18.63, allocations: 2.044 MB / 6.349 GB, free: 57.33 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01518/18.65, allocations: 4.29 MB / 6.353 GB, free: 56.59 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003761/18.65, allocations: 0.9127 MB / 6.354 GB, free: 56.59 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/18.66, allocations: 351.3 kB / 6.354 GB, free: 56.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/18.67, allocations: 4.898 MB / 6.359 GB, free: 56.22 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/18.67, allocations: 4.297 kB / 6.359 GB, free: 56.22 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005873/18.67, allocations: 129.5 kB / 6.359 GB, free: 56.22 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/18.67, allocations: 154.1 kB / 6.359 GB, free: 56.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/18.68, allocations: 5.305 MB / 6.364 GB, free: 56.18 MB / 0.8542 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.04148/18.73, allocations: 20.1 MB / 6.384 GB, free: 47.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01156/18.74, allocations: 4.167 MB / 6.388 GB, free: 47.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000921/18.74, allocations: 0.6947 MB / 6.389 GB, free: 47.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006681/18.75, allocations: 2.489 MB / 6.391 GB, free: 47.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=251): time 5.491e-06/18.75, allocations: 0 / 6.391 GB, free: 47.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=251): time 0.01972/18.77, allocations: 6.28 MB / 6.397 GB, free: 46.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/18.77, allocations: 109.9 kB / 6.397 GB, free: 46.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008396/18.77, allocations: 3.164 MB / 6.4 GB, free: 46.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.001354/18.78, allocations: 94.97 kB / 6.401 GB, free: 46.35 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002898/18.78, allocations: 1.862 MB / 6.402 GB, free: 45.81 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/18.78, allocations: 0.8354 MB / 6.403 GB, free: 45.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009177/18.78, allocations: 66.56 kB / 6.403 GB, free: 45.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003531/18.78, allocations: 424.4 kB / 6.404 GB, free: 44.96 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006564/18.79, allocations: 2.078 MB / 6.406 GB, free: 44.95 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007211/18.8, allocations: 2.889 MB / 6.408 GB, free: 44.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007079/18.8, allocations: 2.209 MB / 6.411 GB, free: 44.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.747e-05/18.8, allocations: 2.906 kB / 6.411 GB, free: 44.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01835/18.82, allocations: 5.367 MB / 6.416 GB, free: 43.71 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001333/18.82, allocations: 5.252 MB / 6.421 GB, free: 38.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.677e-05/18.82, allocations: 11.25 kB / 6.421 GB, free: 38.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.528e-05/18.82, allocations: 34.39 kB / 6.421 GB, free: 38.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007522/18.83, allocations: 1.209 MB / 6.422 GB, free: 38.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/18.83, allocations: 5.973 MB / 6.428 GB, free: 32.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00871/18.84, allocations: 0.8688 MB / 6.429 GB, free: 32.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/18.84, allocations: 166.8 kB / 6.429 GB, free: 32.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/18.84, allocations: 2.938 kB / 6.429 GB, free: 32.27 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01668/18.86, allocations: 4.966 MB / 6.434 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-05/18.86, allocations: 10.98 kB / 6.434 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.089e-05/18.86, allocations: 27.62 kB / 6.434 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006284/18.87, allocations: 1.128 MB / 6.435 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.344e-05/18.87, allocations: 33.95 kB / 6.435 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007835/18.87, allocations: 0.8387 MB / 6.436 GB, free: 31.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001255/18.87, allocations: 165.7 kB / 6.436 GB, free: 31.99 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,$whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004282/18.88, allocations: 0.9209 MB / 6.437 GB, free: 31.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002114/18.88, allocations: 433.5 kB / 6.437 GB, free: 31.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/18.9, allocations: 5.032 MB / 6.442 GB, free: 31.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.953e-05/18.9, allocations: 34.11 kB / 6.442 GB, free: 31.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/18.9, allocations: 0 / 6.442 GB, free: 31.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.339e-05/18.9, allocations: 16.47 kB / 6.442 GB, free: 31.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02839/18.93, allocations: 9.462 MB / 6.452 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-05/18.93, allocations: 6.906 kB / 6.452 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00528/18.93, allocations: 0.9174 MB / 6.452 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.084e-05/18.93, allocations: 12.41 kB / 6.452 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007602/18.93, allocations: 94.73 kB / 6.453 GB, free: 30.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001927/18.93, allocations: 5.947 MB / 6.458 GB, free: 24.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.363e-06/18.93, allocations: 7.125 kB / 6.458 GB, free: 24.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01552/18.95, allocations: 5.455 MB / 6.464 GB, free: 23.37 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004378/18.95, allocations: 1.017 MB / 6.465 GB, free: 23.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002254/18.96, allocations: 55.33 kB / 6.465 GB, free: 23.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007158/18.96, allocations: 0.6306 MB / 6.465 GB, free: 22.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008491/18.96, allocations: 198.7 kB / 6.466 GB, free: 22.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000877/18.97, allocations: 134.4 kB / 6.466 GB, free: 22.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.006635/18.97, allocations: 2.388 MB / 6.468 GB, free: 22.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.81e-07/18.97, allocations: 3.375 kB / 6.468 GB, free: 22.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01561/18.99, allocations: 2.833 MB / 6.471 GB, free: 22.59 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01188/19, allocations: 6.53 MB / 6.477 GB, free: 18.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02407/19.02, allocations: 7.716 MB / 6.485 GB, free: 18.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/19.02, allocations: 0 / 6.485 GB, free: 18.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.007637/19.03, allocations: 2.472 MB / 6.487 GB, free: 18.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01152/19.04, allocations: 2.003 MB / 6.489 GB, free: 18.29 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/19.06, allocations: 9.651 MB / 6.499 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002854/19.07, allocations: 2.475 MB / 6.501 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.009053/19.08, allocations: 1.303 MB / 6.502 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/19.08, allocations: 385.2 kB / 6.503 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of SimCode: time 1.212e-06/19.08, allocations: 0 / 6.503 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of Templates: time 0.194/19.27, allocations: 134.9 MB / 6.634 GB, free: 12.12 MB / 0.8855 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)