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.858/0.858, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 184.1 kB / 187.3 MB, free: 11.89 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.572/1.572, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.001101/0.001101, allocations: 97.53 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001886/0.001887, allocations: 278 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.61e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5433, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.398/5.941, allocations: 1.856 GB / 2.62 GB, free: 205.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/5.941, allocations: 93.41 kB / 2.62 GB, free: 205.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.529/9.47, allocations: 1.01 GB / 3.63 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.333e-06/9.47, allocations: 0 / 3.63 GB, free: 3.285 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.805e-05/9.471, allocations: 28 kB / 3.63 GB, free: 3.258 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.006485/9.477, allocations: 1.791 MB / 3.632 GB, free: 1.41 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/9.477, allocations: 8.031 kB / 3.632 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/9.481, allocations: 0.5525 MB / 3.633 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5698/10.05, allocations: 1.065 MB / 3.634 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008167/10.05, allocations: 195.8 kB / 3.634 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/10.05, allocations: 81.81 kB / 3.634 GB, free: 109.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/10.05, allocations: 1.142 MB / 3.635 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/10.05, allocations: 1.422 kB / 3.635 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/10.05, allocations: 30.81 kB / 3.635 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.667e-05/10.05, allocations: 46.78 kB / 3.635 GB, free: 109.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/10.06, allocations: 1.112 MB / 3.636 GB, free: 109.7 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.00897/10.07, allocations: 4.205 MB / 3.64 GB, free: 108.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/10.07, allocations: 0.7494 MB / 3.641 GB, free: 108.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/10.07, allocations: 0.5135 MB / 3.642 GB, free: 108.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/10.07, allocations: 0.6119 MB / 3.642 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/10.07, allocations: 44.44 kB / 3.642 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.657e-06/10.07, allocations: 0 / 3.642 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.002297/10.07, allocations: 1.016 MB / 3.643 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/10.07, allocations: 59.06 kB / 3.643 GB, free: 107.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009487/10.07, allocations: 0.7098 MB / 3.644 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/10.07, allocations: 46.73 kB / 3.644 GB, free: 107.2 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/10.07, allocations: 444.2 kB / 3.645 GB, free: 107.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/10.07, allocations: 257.2 kB / 3.645 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.675e-05/10.07, allocations: 15.22 kB / 3.645 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.762e-05/10.07, allocations: 337.3 kB / 3.645 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006281/10.07, allocations: 407.8 kB / 3.646 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007011/10.07, allocations: 0.5461 MB / 3.646 GB, free: 106.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006444/10.08, allocations: 460.7 kB / 3.647 GB, free: 106.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/10.08, allocations: 6.391 kB / 3.647 GB, free: 106.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001631/10.08, allocations: 1.098 MB / 3.648 GB, free: 106.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001372/10.08, allocations: 485.2 kB / 3.648 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/10.08, allocations: 4.75 kB / 3.648 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/10.08, allocations: 7.5 kB / 3.648 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/10.08, allocations: 269.3 kB / 3.648 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005405/10.08, allocations: 1.2 MB / 3.649 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/10.08, allocations: 200.6 kB / 3.65 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/10.08, allocations: 43.95 kB / 3.65 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.08, allocations: 4.156 kB / 3.65 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/10.08, allocations: 0.9882 MB / 3.651 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/10.08, allocations: 3.969 kB / 3.651 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/10.08, allocations: 3.906 kB / 3.651 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/10.08, allocations: 263 kB / 3.651 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/10.08, allocations: 8.719 kB / 3.651 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/10.08, allocations: 193.5 kB / 3.651 GB, free: 104.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/10.09, allocations: 40.11 kB / 3.651 GB, free: 104.6 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 () * 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.0002901/10.09, allocations: 148.4 kB / 3.651 GB, free: 104.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002331/10.09, allocations: 117.1 kB / 3.651 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/10.09, allocations: 1.111 MB / 3.653 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/10.09, allocations: 7 kB / 3.653 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/10.09, allocations: 1.5 kB / 3.653 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/10.09, allocations: 3.328 kB / 3.653 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/10.09, allocations: 2.608 MB / 3.655 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/10.09, allocations: 1.5 kB / 3.655 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/10.09, allocations: 257.9 kB / 3.655 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/10.09, allocations: 7.25 kB / 3.655 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/10.09, allocations: 35.66 kB / 3.655 GB, free: 103.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005533/10.09, allocations: 1.19 MB / 3.657 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/10.09, allocations: 10 kB / 3.657 GB, free: 102.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/10.1, allocations: 1.385 MB / 3.658 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006697/10.1, allocations: 322.1 kB / 3.658 GB, free: 102 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/10.1, allocations: 16.56 kB / 3.658 GB, free: 102 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001294/10.1, allocations: 167.8 kB / 3.658 GB, free: 102 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/10.1, allocations: 63.91 kB / 3.658 GB, free: 102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-05/10.1, allocations: 41.66 kB / 3.658 GB, free: 102 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007626/10.1, allocations: 0.5506 MB / 3.659 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/10.1, allocations: 0 / 3.659 GB, free: 101.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002624/10.1, allocations: 0.7708 MB / 3.66 GB, free: 101.9 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 () * 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.004014/10.11, allocations: 2.361 MB / 3.662 GB, free: 101 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003351/10.11, allocations: 1.68 MB / 3.664 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/10.11, allocations: 0 / 3.664 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/10.11, allocations: 0.5365 MB / 3.664 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/10.11, allocations: 0.5083 MB / 3.665 GB, free: 100.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/10.13, allocations: 2.375 MB / 3.667 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/10.13, allocations: 1.115 MB / 3.668 GB, free: 99.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002732/10.13, allocations: 488.9 kB / 3.669 GB, free: 99.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/10.13, allocations: 80.47 kB / 3.669 GB, free: 99.68 MB / 0.7292 GB Notification: Performance of SimCode: time 2.023e-06/10.13, allocations: 0 / 3.669 GB, free: 99.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.07852/10.21, allocations: 53.4 MB / 3.721 GB, free: 98.29 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)