Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8469/0.8469, allocations: 140.1 MB / 156 MB, free: 5.176 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.001003/0.001003, allocations: 170.9 kB / 188.5 MB, free: 15.84 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.738/1.738, allocations: 205.4 MB / 426.3 MB, free: 8.477 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.0008909/0.0008909, allocations: 82.36 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001834/0.001834, allocations: 260.4 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005301/0.0005303, allocations: 16 kB / 0.662 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4578, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.809/5.267, allocations: 2.059 GB / 2.799 GB, free: 230.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/5.267, allocations: 89.03 kB / 2.799 GB, free: 230 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.457/8.725, allocations: 0.9912 GB / 3.79 GB, free: 12.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.805e-06/8.725, allocations: 4 kB / 3.79 GB, free: 12.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001771/8.725, allocations: 31.98 kB / 3.79 GB, free: 12.48 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008373/8.733, allocations: 1.888 MB / 3.792 GB, free: 10.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/8.733, allocations: 8.031 kB / 3.792 GB, free: 10.53 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003782/8.737, allocations: 0.5457 MB / 3.792 GB, free: 9.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/8.741, allocations: 1.094 MB / 3.794 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007018/8.741, allocations: 206.4 kB / 3.794 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/8.742, allocations: 88.38 kB / 3.794 GB, free: 8.555 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/8.746, allocations: 1.341 MB / 3.795 GB, free: 7.199 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/8.746, allocations: 0 / 3.795 GB, free: 7.199 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/8.746, allocations: 32 kB / 3.795 GB, free: 7.168 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.707e-05/8.746, allocations: 41.98 kB / 3.795 GB, free: 7.125 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/8.75, allocations: 1.577 MB / 3.797 GB, free: 5.551 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.007978/8.758, allocations: 4.099 MB / 3.801 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/8.761, allocations: 1.065 MB / 3.802 GB, free: 100 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.532/9.293, allocations: 0.6946 MB / 3.802 GB, free: 98.01 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/9.294, allocations: 0.6086 MB / 3.803 GB, free: 97.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/9.294, allocations: 45.19 kB / 3.803 GB, free: 97.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 5.049e-06/9.294, allocations: 0 / 3.803 GB, free: 97.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=78): time 0.00666/9.301, allocations: 1.922 MB / 3.805 GB, free: 97.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/9.301, allocations: 60.8 kB / 3.805 GB, free: 97.31 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/9.303, allocations: 0.8094 MB / 3.806 GB, free: 97.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001934/9.303, allocations: 43.19 kB / 3.806 GB, free: 97.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/9.303, allocations: 443.4 kB / 3.806 GB, free: 97.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/9.304, allocations: 272.2 kB / 3.807 GB, free: 96.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/9.304, allocations: 14.5 kB / 3.807 GB, free: 96.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001007/9.304, allocations: 337.8 kB / 3.807 GB, free: 96.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/9.306, allocations: 0.5673 MB / 3.807 GB, free: 96.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/9.307, allocations: 0.7261 MB / 3.808 GB, free: 96.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/9.31, allocations: 1.229 MB / 3.809 GB, free: 96.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/9.31, allocations: 3.75 kB / 3.809 GB, free: 96.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003238/9.313, allocations: 1.444 MB / 3.811 GB, free: 96.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/9.313, allocations: 153.2 kB / 3.811 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/9.313, allocations: 3.938 kB / 3.811 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/9.313, allocations: 3.625 kB / 3.811 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/9.315, allocations: 287.4 kB / 3.811 GB, free: 96.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005876/9.315, allocations: 1.189 MB / 3.812 GB, free: 94.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/9.317, allocations: 210 kB / 3.813 GB, free: 94.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/9.317, allocations: 41 kB / 3.813 GB, free: 94.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/9.317, allocations: 4.312 kB / 3.813 GB, free: 94.94 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0037/9.321, allocations: 1.336 MB / 3.814 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/9.321, allocations: 1.938 kB / 3.814 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/9.321, allocations: 10.38 kB / 3.814 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/9.322, allocations: 256.6 kB / 3.814 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/9.322, allocations: 9.5 kB / 3.814 GB, free: 94.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/9.324, allocations: 197.2 kB / 3.814 GB, free: 94.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/9.324, allocations: 34.86 kB / 3.814 GB, free: 94.87 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * 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.0009146/9.325, allocations: 375.7 kB / 3.815 GB, free: 94.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/9.325, allocations: 104.5 kB / 3.815 GB, free: 94.63 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003305/9.328, allocations: 1.463 MB / 3.816 GB, free: 94.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/9.328, allocations: 11.25 kB / 3.816 GB, free: 94.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/9.328, allocations: 0 / 3.816 GB, free: 94.55 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/9.328, allocations: 8.531 kB / 3.816 GB, free: 94.55 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005404/9.334, allocations: 2.917 MB / 3.819 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/9.334, allocations: 3.625 kB / 3.819 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/9.335, allocations: 256.2 kB / 3.819 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/9.335, allocations: 7.281 kB / 3.819 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.9e-05/9.335, allocations: 26.45 kB / 3.819 GB, free: 94.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004147/9.336, allocations: 1.199 MB / 3.821 GB, free: 92.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/9.336, allocations: 7.688 kB / 3.821 GB, free: 92.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003055/9.339, allocations: 1.551 MB / 3.822 GB, free: 92.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/9.339, allocations: 314.4 kB / 3.822 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/9.339, allocations: 19.88 kB / 3.822 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/9.341, allocations: 168.3 kB / 3.823 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/9.341, allocations: 60.47 kB / 3.823 GB, free: 92.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/9.341, allocations: 34.91 kB / 3.823 GB, free: 92.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007822/9.342, allocations: 0.5647 MB / 3.823 GB, free: 92.35 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/9.342, allocations: 2.688 kB / 3.823 GB, free: 92.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002326/9.344, allocations: 0.7573 MB / 3.824 GB, free: 92.33 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003654/9.348, allocations: 2.366 MB / 3.826 GB, free: 91.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005132/9.353, allocations: 2.162 MB / 3.828 GB, free: 91.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/9.353, allocations: 6.875 kB / 3.828 GB, free: 91.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/9.355, allocations: 0.7083 MB / 3.829 GB, free: 91.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/9.358, allocations: 0.5105 MB / 3.83 GB, free: 91.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/9.363, allocations: 2.558 MB / 3.832 GB, free: 90.26 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007592/9.364, allocations: 1.095 MB / 3.833 GB, free: 89.55 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002141/9.366, allocations: 400.2 kB / 3.834 GB, free: 89.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/9.366, allocations: 96.25 kB / 3.834 GB, free: 89.53 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/9.366, allocations: 3.5 kB / 3.834 GB, free: 89.53 MB / 0.698 GB Notification: Performance of Templates: time 0.06831/9.435, allocations: 46.23 MB / 3.879 GB, free: 88.09 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)