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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8816/0.8816, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 175.9 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007723/0.0007725, allocations: 95.06 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001606/0.001606, allocations: 260.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004613, allocations: 23.98 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3703, allocations: 79.29 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.733/5.103, allocations: 2.295 GB / 3.034 GB, free: 241.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/5.103, allocations: 87.98 kB / 3.034 GB, free: 241.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.152/8.256, allocations: 0.7814 GB / 3.816 GB, free: 106.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/8.256, allocations: 1.781 kB / 3.816 GB, free: 106.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001628/8.256, allocations: 34.08 kB / 3.816 GB, free: 106.8 MB / 0.698 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.005682/8.262, allocations: 1.701 MB / 3.817 GB, free: 106.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/8.262, allocations: 14.39 kB / 3.817 GB, free: 106.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002492/8.264, allocations: 432.7 kB / 3.818 GB, free: 106.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/8.267, allocations: 1.068 MB / 3.819 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005823/8.268, allocations: 193.3 kB / 3.819 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/8.268, allocations: 71.31 kB / 3.819 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/8.271, allocations: 1.127 MB / 3.82 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/8.271, allocations: 0 / 3.82 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/8.271, allocations: 35.02 kB / 3.82 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.082e-05/8.271, allocations: 31.36 kB / 3.82 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00296/8.274, allocations: 1.247 MB / 3.821 GB, free: 105.8 MB / 0.698 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.006932/8.281, allocations: 4.169 MB / 3.825 GB, free: 104 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/8.283, allocations: 0.9113 MB / 3.826 GB, free: 104 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/8.284, allocations: 0.5325 MB / 3.827 GB, free: 104 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/8.285, allocations: 0.6355 MB / 3.827 GB, free: 103.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/8.286, allocations: 0.6309 MB / 3.828 GB, free: 103.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 2.916e-06/8.286, allocations: 0 / 3.828 GB, free: 103.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.004069/8.291, allocations: 1.5 MB / 3.83 GB, free: 103.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/8.291, allocations: 84.23 kB / 3.83 GB, free: 103.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/8.293, allocations: 0.8353 MB / 3.83 GB, free: 102.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/8.293, allocations: 41.55 kB / 3.83 GB, free: 102.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/8.293, allocations: 436.6 kB / 3.831 GB, free: 102.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001892/8.293, allocations: 189.7 kB / 3.831 GB, free: 102.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/8.293, allocations: 14.31 kB / 3.831 GB, free: 102.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.753e-05/8.294, allocations: 330 kB / 3.831 GB, free: 102.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/8.295, allocations: 455 kB / 3.832 GB, free: 102.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/8.296, allocations: 0.5997 MB / 3.832 GB, free: 102.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/8.298, allocations: 0.9779 MB / 3.833 GB, free: 102.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/8.298, allocations: 0 / 3.833 GB, free: 102.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00286/8.301, allocations: 1.163 MB / 3.834 GB, free: 102 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/8.301, allocations: 176.6 kB / 3.835 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/8.301, allocations: 2.422 kB / 3.835 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/8.301, allocations: 7.562 kB / 3.835 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001432/8.303, allocations: 255.9 kB / 3.835 GB, free: 101.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006785/8.303, allocations: 1.197 MB / 3.836 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/8.305, allocations: 195 kB / 3.836 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/8.305, allocations: 32.52 kB / 3.836 GB, free: 100.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/8.305, allocations: 6.156 kB / 3.836 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002593/8.308, allocations: 1.054 MB / 3.837 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/8.308, allocations: 3.5 kB / 3.837 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/8.308, allocations: 6.344 kB / 3.837 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/8.309, allocations: 226.6 kB / 3.838 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/8.309, allocations: 3.469 kB / 3.838 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/8.31, allocations: 198 kB / 3.838 GB, free: 100.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/8.31, allocations: 37.88 kB / 3.838 GB, free: 100.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (70): * Single equations (assignments): 67 * 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.0006671/8.311, allocations: 343.6 kB / 3.838 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/8.311, allocations: 93.03 kB / 3.838 GB, free: 100.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/8.314, allocations: 1.195 MB / 3.839 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/8.314, allocations: 6.656 kB / 3.839 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/8.314, allocations: 6.125 kB / 3.839 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/8.314, allocations: 3.703 kB / 3.839 GB, free: 100.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004754/8.319, allocations: 2.363 MB / 3.842 GB, free: 99.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/8.319, allocations: 6.812 kB / 3.842 GB, free: 99.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/8.32, allocations: 222.9 kB / 3.842 GB, free: 99.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/8.32, allocations: 7.844 kB / 3.842 GB, free: 99.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/8.32, allocations: 21.12 kB / 3.842 GB, free: 99.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004067/8.321, allocations: 1.19 MB / 3.843 GB, free: 98.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/8.321, allocations: 7.312 kB / 3.843 GB, free: 98.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/8.323, allocations: 1.289 MB / 3.844 GB, free: 98.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006588/8.324, allocations: 290.6 kB / 3.845 GB, free: 98.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/8.324, allocations: 16.81 kB / 3.845 GB, free: 98.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/8.326, allocations: 163.2 kB / 3.845 GB, free: 98.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/8.326, allocations: 56.62 kB / 3.845 GB, free: 98.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/8.326, allocations: 30.72 kB / 3.845 GB, free: 98.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009073/8.327, allocations: 0.5708 MB / 3.845 GB, free: 98.09 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/8.327, allocations: 2.906 kB / 3.845 GB, free: 98.09 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0023/8.329, allocations: 0.6302 MB / 3.846 GB, free: 98.06 MB / 0.698 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.002607/8.332, allocations: 1.708 MB / 3.848 GB, free: 97.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004445/8.336, allocations: 1.738 MB / 3.849 GB, free: 97.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/8.336, allocations: 0 / 3.849 GB, free: 97.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001466/8.338, allocations: 0.595 MB / 3.85 GB, free: 97.44 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/8.341, allocations: 453.9 kB / 3.85 GB, free: 97.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/8.345, allocations: 2.239 MB / 3.853 GB, free: 96.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006368/8.346, allocations: 1.042 MB / 3.854 GB, free: 95.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001641/8.347, allocations: 294.6 kB / 3.854 GB, free: 95.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/8.348, allocations: 82.44 kB / 3.854 GB, free: 95.72 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/8.348, allocations: 0 / 3.854 GB, free: 95.72 MB / 0.698 GB Notification: Performance of Templates: time 0.05474/8.403, allocations: 36.47 MB / 3.89 GB, free: 94.22 MB / 0.698 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)