Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8993/0.8993, allocations: 143.4 MB / 158.3 MB, free: 5.762 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.001079/0.001079, allocations: 177.1 kB / 191.5 MB, free: 5.75 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.448/1.448, allocations: 223.2 MB / 447.7 MB, free: 4.742 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.0008967/0.0008966, allocations: 96.31 kB / 0.5188 GB, free: 1.094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 267.5 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 11.03 kB / 0.6929 GB, free: 59.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1716, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.193/5.365, allocations: 2.126 GB / 2.9 GB, free: 176.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/5.365, allocations: 98.47 kB / 2.9 GB, free: 176 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.897/8.262, allocations: 0.7977 GB / 3.698 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.723e-06/8.262, allocations: 0 / 3.698 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.493e-05/8.262, allocations: 29.52 kB / 3.698 GB, free: 100.3 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.005186/8.268, allocations: 1.738 MB / 3.699 GB, free: 99.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/8.268, allocations: 10.38 kB / 3.699 GB, free: 99.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/8.27, allocations: 443 kB / 3.7 GB, free: 99.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/8.273, allocations: 1.048 MB / 3.701 GB, free: 99.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005782/8.273, allocations: 190.1 kB / 3.701 GB, free: 99.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/8.273, allocations: 78.55 kB / 3.701 GB, free: 99.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/8.276, allocations: 1.124 MB / 3.702 GB, free: 99.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/8.276, allocations: 0 / 3.702 GB, free: 99.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/8.276, allocations: 31.22 kB / 3.702 GB, free: 99.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/8.276, allocations: 31.48 kB / 3.702 GB, free: 99.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/8.279, allocations: 1.204 MB / 3.703 GB, free: 99.13 MB / 0.7136 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.006917/8.286, allocations: 4.242 MB / 3.707 GB, free: 97.36 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/8.288, allocations: 0.941 MB / 3.708 GB, free: 97.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006855/8.289, allocations: 0.6356 MB / 3.709 GB, free: 96.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/8.29, allocations: 0.645 MB / 3.71 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 3.716e-06/8.29, allocations: 0 / 3.71 GB, free: 96.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004213/8.294, allocations: 1.549 MB / 3.711 GB, free: 96.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/8.295, allocations: 81.42 kB / 3.711 GB, free: 96.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/8.296, allocations: 0.7345 MB / 3.712 GB, free: 96.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000118/8.296, allocations: 42.02 kB / 3.712 GB, free: 96.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/8.296, allocations: 422.7 kB / 3.712 GB, free: 96.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/8.296, allocations: 197.9 kB / 3.713 GB, free: 96.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/8.296, allocations: 15 kB / 3.713 GB, free: 96.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.319e-05/8.296, allocations: 329 kB / 3.713 GB, free: 95.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/8.298, allocations: 460 kB / 3.713 GB, free: 95.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/8.299, allocations: 0.603 MB / 3.714 GB, free: 95.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/8.3, allocations: 0.5011 MB / 3.714 GB, free: 95.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/8.3, allocations: 2.25 kB / 3.714 GB, free: 95.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00301/8.303, allocations: 1.17 MB / 3.716 GB, free: 95.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/8.303, allocations: 0.7358 MB / 3.716 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/8.303, allocations: 0 / 3.716 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/8.303, allocations: 7.781 kB / 3.716 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/8.305, allocations: 242.1 kB / 3.717 GB, free: 94.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005322/8.305, allocations: 1.201 MB / 3.718 GB, free: 93.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/8.307, allocations: 188.6 kB / 3.718 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.495e-05/8.307, allocations: 38.55 kB / 3.718 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/8.307, allocations: 6.688 kB / 3.718 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/8.309, allocations: 1.066 MB / 3.719 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/8.309, allocations: 6.656 kB / 3.719 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/8.309, allocations: 7.172 kB / 3.719 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/8.31, allocations: 231.2 kB / 3.719 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/8.31, allocations: 3.625 kB / 3.719 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/8.312, allocations: 190 kB / 3.719 GB, free: 93.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.097e-05/8.312, allocations: 33.84 kB / 3.719 GB, free: 93.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0006437/8.313, allocations: 342.7 kB / 3.72 GB, free: 93.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/8.313, allocations: 100.2 kB / 3.72 GB, free: 93.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/8.316, allocations: 1.23 MB / 3.721 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/8.316, allocations: 9.75 kB / 3.721 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/8.316, allocations: 3.875 kB / 3.721 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/8.316, allocations: 3.844 kB / 3.721 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/8.32, allocations: 2.418 MB / 3.723 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/8.32, allocations: 2.438 kB / 3.723 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/8.321, allocations: 219.6 kB / 3.724 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/8.321, allocations: 5.219 kB / 3.724 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/8.322, allocations: 23.81 kB / 3.724 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000441/8.322, allocations: 1.196 MB / 3.725 GB, free: 91.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/8.322, allocations: 3.375 kB / 3.725 GB, free: 91.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003015/8.325, allocations: 1.437 MB / 3.726 GB, free: 91.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/8.326, allocations: 297.2 kB / 3.727 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/8.326, allocations: 12.81 kB / 3.727 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/8.327, allocations: 169 kB / 3.727 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/8.327, allocations: 66.34 kB / 3.727 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/8.327, allocations: 31.78 kB / 3.727 GB, free: 90.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007726/8.328, allocations: 0.5741 MB / 3.727 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.2e-07/8.328, allocations: 0 / 3.727 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002114/8.33, allocations: 0.628 MB / 3.728 GB, free: 90.73 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,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 (63): * Single equations (assignments): 57 * 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.002537/8.333, allocations: 1.695 MB / 3.73 GB, free: 90.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004489/8.337, allocations: 1.755 MB / 3.731 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/8.337, allocations: 0.75 kB / 3.731 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001528/8.339, allocations: 0.606 MB / 3.732 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/8.341, allocations: 452.9 kB / 3.732 GB, free: 90.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/8.346, allocations: 2.239 MB / 3.735 GB, free: 89.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/8.346, allocations: 1.064 MB / 3.736 GB, free: 88.43 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001469/8.347, allocations: 301.2 kB / 3.736 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/8.348, allocations: 86.22 kB / 3.736 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of SimCode: time 1.724e-06/8.348, allocations: 2.344 kB / 3.736 GB, free: 88.41 MB / 0.7136 GB Notification: Performance of Templates: time 0.05329/8.401, allocations: 36.25 MB / 3.771 GB, free: 86.45 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)