Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8243/0.8243, allocations: 143.4 MB / 158.3 MB, free: 5.758 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.00104/0.00104, allocations: 177 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.409/1.409, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.0008702/0.0008701, allocations: 92.33 kB / 0.5188 GB, free: 1.141 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001943/0.001943, allocations: 276.4 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.000438, allocations: 16.78 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2122, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.917/5.129, allocations: 1.856 GB / 2.63 GB, free: 171 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/5.13, allocations: 98.39 kB / 2.63 GB, free: 171 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.584/8.714, allocations: 1.011 GB / 3.641 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/8.714, allocations: 5.312 kB / 3.641 GB, free: 103.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.759e-05/8.714, allocations: 32.16 kB / 3.641 GB, free: 103.7 MB / 0.7292 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.006031/8.72, allocations: 1.962 MB / 3.643 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/8.72, allocations: 10.06 kB / 3.643 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/8.723, allocations: 0.5441 MB / 3.643 GB, free: 103.2 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/8.726, allocations: 1.083 MB / 3.644 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006403/8.727, allocations: 196.9 kB / 3.644 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/8.727, allocations: 89.72 kB / 3.645 GB, free: 102.9 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002958/8.73, allocations: 1.337 MB / 3.646 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/8.73, allocations: 2.094 kB / 3.646 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/8.73, allocations: 34.84 kB / 3.646 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/8.73, allocations: 42.39 kB / 3.646 GB, free: 102.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/8.734, allocations: 1.505 MB / 3.647 GB, free: 102.8 MB / 0.7292 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.006845/8.741, allocations: 4.197 MB / 3.651 GB, free: 101.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/8.743, allocations: 1.071 MB / 3.653 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008796/8.744, allocations: 0.6068 MB / 3.653 GB, free: 100.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/8.744, allocations: 42.97 kB / 3.653 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/8.744, allocations: 2.969 kB / 3.653 GB, free: 100.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.005811/8.75, allocations: 1.983 MB / 3.655 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/8.75, allocations: 59.94 kB / 3.655 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/8.751, allocations: 0.7109 MB / 3.656 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/8.751, allocations: 49.2 kB / 3.656 GB, free: 100.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/8.752, allocations: 448 kB / 3.656 GB, free: 100.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/8.752, allocations: 259.5 kB / 3.657 GB, free: 100 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/8.752, allocations: 14.34 kB / 3.657 GB, free: 100 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.098e-05/8.752, allocations: 339.4 kB / 3.657 GB, free: 99.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/8.754, allocations: 0.5924 MB / 3.658 GB, free: 99.72 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/8.755, allocations: 0.7432 MB / 3.658 GB, free: 99.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/8.757, allocations: 0.6439 MB / 3.659 GB, free: 99.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/8.757, allocations: 0 / 3.659 GB, free: 99.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003439/8.76, allocations: 1.47 MB / 3.66 GB, free: 99.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/8.76, allocations: 487.5 kB / 3.661 GB, free: 98.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/8.76, allocations: 1.562 kB / 3.661 GB, free: 98.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/8.76, allocations: 4.094 kB / 3.661 GB, free: 98.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/8.762, allocations: 277.2 kB / 3.661 GB, free: 98.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004604/8.762, allocations: 1.194 MB / 3.662 GB, free: 97.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/8.764, allocations: 201.7 kB / 3.662 GB, free: 97.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/8.764, allocations: 40.05 kB / 3.662 GB, free: 97.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/8.764, allocations: 7.359 kB / 3.662 GB, free: 97.75 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003394/8.767, allocations: 1.375 MB / 3.664 GB, free: 97.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/8.767, allocations: 0 / 3.664 GB, free: 97.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/8.767, allocations: 3.781 kB / 3.664 GB, free: 97.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/8.769, allocations: 261.1 kB / 3.664 GB, free: 97.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/8.769, allocations: 7.594 kB / 3.664 GB, free: 97.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/8.77, allocations: 200.7 kB / 3.664 GB, free: 97.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.13e-05/8.77, allocations: 42.47 kB / 3.664 GB, free: 97.69 MB / 0.7292 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 (86): * Single equations (assignments): 83 * 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.000676/8.771, allocations: 376.3 kB / 3.665 GB, free: 97.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/8.771, allocations: 104.2 kB / 3.665 GB, free: 97.45 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/8.774, allocations: 1.496 MB / 3.666 GB, free: 97.38 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/8.774, allocations: 8.656 kB / 3.666 GB, free: 97.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/8.774, allocations: 0 / 3.666 GB, free: 97.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/8.774, allocations: 7.844 kB / 3.666 GB, free: 97.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/8.779, allocations: 2.985 MB / 3.669 GB, free: 96.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/8.779, allocations: 9.312 kB / 3.669 GB, free: 96.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/8.78, allocations: 266.5 kB / 3.669 GB, free: 96.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/8.78, allocations: 11.88 kB / 3.669 GB, free: 96.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/8.78, allocations: 26.64 kB / 3.669 GB, free: 96.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003393/8.781, allocations: 1.189 MB / 3.671 GB, free: 95.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/8.781, allocations: 9.531 kB / 3.671 GB, free: 95.76 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/8.784, allocations: 1.77 MB / 3.672 GB, free: 95.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009248/8.785, allocations: 316.6 kB / 3.673 GB, free: 95.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002275/8.786, allocations: 22.75 kB / 3.673 GB, free: 95.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002108/8.788, allocations: 164.3 kB / 3.673 GB, free: 95.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/8.788, allocations: 66.95 kB / 3.673 GB, free: 95.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/8.788, allocations: 38.56 kB / 3.673 GB, free: 95.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001042/8.789, allocations: 0.5573 MB / 3.673 GB, free: 94.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/8.789, allocations: 2.969 kB / 3.673 GB, free: 94.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003123/8.792, allocations: 0.7669 MB / 3.674 GB, free: 94.89 MB / 0.7292 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 (76): * Single equations (assignments): 74 * 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.004234/8.797, allocations: 2.369 MB / 3.677 GB, free: 94.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007905/8.805, allocations: 2.22 MB / 3.679 GB, free: 93.95 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/8.805, allocations: 0 / 3.679 GB, free: 93.95 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002645/8.807, allocations: 0.7258 MB / 3.679 GB, free: 93.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/8.811, allocations: 0.5007 MB / 3.68 GB, free: 93.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/8.834, allocations: 3.286 MB / 3.683 GB, free: 92.88 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/8.835, allocations: 1.113 MB / 3.684 GB, free: 92.17 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003125/8.838, allocations: 424.6 kB / 3.685 GB, free: 92.16 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/8.838, allocations: 92.23 kB / 3.685 GB, free: 92.15 MB / 0.7292 GB Notification: Performance of SimCode: time 9.02e-07/8.838, allocations: 0 / 3.685 GB, free: 92.15 MB / 0.7292 GB Notification: Performance of Templates: time 0.06427/8.903, allocations: 46.02 MB / 3.73 GB, free: 90.58 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)