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 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.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.8598/0.8598, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.00144/0.00144, allocations: 187.7 kB / 182.2 MB, free: 9.457 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.697/1.697, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009816/0.0009816, allocations: 92.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001862/0.001862, allocations: 276.9 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.823e-05/1.825e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5775/0.5776, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.498/6.075, allocations: 1.855 GB / 2.613 GB, free: 162.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/6.076, allocations: 91.02 kB / 2.613 GB, free: 162.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.265/10.34, allocations: 0.9989 GB / 3.612 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.263e-06/10.34, allocations: 3.031 kB / 3.612 GB, free: 101.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001764/10.34, allocations: 28.78 kB / 3.612 GB, free: 101.8 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007382/10.35, allocations: 1.786 MB / 3.614 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/10.35, allocations: 10.31 kB / 3.614 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/10.35, allocations: 0.5521 MB / 3.614 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003712/10.36, allocations: 1.069 MB / 3.615 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006745/10.36, allocations: 168 kB / 3.615 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/10.36, allocations: 47.5 kB / 3.615 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002242/10.36, allocations: 0.9938 MB / 3.616 GB, free: 100.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/10.36, allocations: 1.031 MB / 3.617 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/10.36, allocations: 3.656 kB / 3.617 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/10.36, allocations: 3.891 kB / 3.617 GB, free: 100.8 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.956e-05/10.36, allocations: 48.52 kB / 3.617 GB, free: 100.8 MB / 0.7136 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.007967/10.37, allocations: 4.014 MB / 3.621 GB, free: 99.35 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/10.37, allocations: 0.7291 MB / 3.622 GB, free: 99.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006707/10.37, allocations: 495.8 kB / 3.623 GB, free: 99.31 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009581/10.37, allocations: 0.6132 MB / 3.623 GB, free: 98.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/10.37, allocations: 44.88 kB / 3.623 GB, free: 98.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.436e-06/10.37, allocations: 0 / 3.623 GB, free: 98.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.002667/10.38, allocations: 1.131 MB / 3.624 GB, free: 98.62 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/10.38, allocations: 61.22 kB / 3.624 GB, free: 98.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/10.38, allocations: 0.5627 MB / 3.625 GB, free: 98.44 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/10.38, allocations: 29.42 kB / 3.625 GB, free: 98.41 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/10.38, allocations: 458.6 kB / 3.625 GB, free: 98.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/10.38, allocations: 244.8 kB / 3.626 GB, free: 98.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/10.38, allocations: 3.125 kB / 3.626 GB, free: 98.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.284e-05/10.38, allocations: 337.7 kB / 3.626 GB, free: 97.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005478/10.38, allocations: 394.6 kB / 3.626 GB, free: 97.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006406/10.38, allocations: 0.5216 MB / 3.627 GB, free: 97.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/10.38, allocations: 0.5807 MB / 3.627 GB, free: 97.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/10.38, allocations: 0 / 3.627 GB, free: 97.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002398/10.38, allocations: 1.176 MB / 3.628 GB, free: 97.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002267/10.38, allocations: 489.8 kB / 3.629 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/10.38, allocations: 3.156 kB / 3.629 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.159e-05/10.38, allocations: 3.25 kB / 3.629 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/10.38, allocations: 282.7 kB / 3.629 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005934/10.38, allocations: 1.198 MB / 3.63 GB, free: 95.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/10.39, allocations: 183.2 kB / 3.631 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/10.39, allocations: 41.56 kB / 3.631 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/10.39, allocations: 7.781 kB / 3.631 GB, free: 95.91 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002003/10.39, allocations: 1.059 MB / 3.632 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/10.39, allocations: 2.5 kB / 3.632 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/10.39, allocations: 3.125 kB / 3.632 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/10.39, allocations: 266.8 kB / 3.632 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/10.39, allocations: 3.094 kB / 3.632 GB, free: 95.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/10.39, allocations: 166.7 kB / 3.632 GB, free: 95.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/10.39, allocations: 37.2 kB / 3.632 GB, free: 95.88 MB / 0.7136 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.000313/10.39, allocations: 124.2 kB / 3.632 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003622/10.39, allocations: 96.88 kB / 3.632 GB, free: 95.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/10.39, allocations: 1.201 MB / 3.634 GB, free: 95.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/10.39, allocations: 7.625 kB / 3.634 GB, free: 95.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/10.39, allocations: 0 / 3.634 GB, free: 95.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/10.39, allocations: 3.938 kB / 3.634 GB, free: 95.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004782/10.4, allocations: 2.577 MB / 3.636 GB, free: 95.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/10.4, allocations: 3.469 kB / 3.636 GB, free: 95.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/10.4, allocations: 259.8 kB / 3.636 GB, free: 95.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.969e-05/10.4, allocations: 7.438 kB / 3.636 GB, free: 95.22 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/10.4, allocations: 21.08 kB / 3.636 GB, free: 95.22 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004827/10.4, allocations: 1.196 MB / 3.637 GB, free: 94.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/10.4, allocations: 6.844 kB / 3.637 GB, free: 94.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/10.4, allocations: 1.489 MB / 3.639 GB, free: 93.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/10.4, allocations: 315 kB / 3.639 GB, free: 93.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002745/10.4, allocations: 7.891 kB / 3.639 GB, free: 93.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/10.41, allocations: 152.8 kB / 3.639 GB, free: 93.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/10.41, allocations: 62.02 kB / 3.639 GB, free: 93.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/10.41, allocations: 33.55 kB / 3.639 GB, free: 93.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006801/10.41, allocations: 451.5 kB / 3.64 GB, free: 93.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.81e-07/10.41, allocations: 0 / 3.64 GB, free: 93.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003456/10.41, allocations: 0.675 MB / 3.641 GB, free: 93.19 MB / 0.7136 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.005683/10.42, allocations: 2.618 MB / 3.643 GB, free: 92.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004525/10.42, allocations: 1.609 MB / 3.645 GB, free: 92.19 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/10.42, allocations: 7.156 kB / 3.645 GB, free: 92.19 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/10.42, allocations: 0.5175 MB / 3.645 GB, free: 92.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/10.43, allocations: 427.5 kB / 3.646 GB, free: 92.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02029/10.45, allocations: 2.322 MB / 3.648 GB, free: 91.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/10.45, allocations: 1.125 MB / 3.649 GB, free: 90.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004063/10.45, allocations: 441.7 kB / 3.649 GB, free: 90.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/10.45, allocations: 81.02 kB / 3.649 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of SimCode: time 2.304e-06/10.45, allocations: 0 / 3.649 GB, free: 90.97 MB / 0.7136 GB Notification: Performance of Templates: time 0.05551/10.51, allocations: 31.17 MB / 3.68 GB, free: 89.77 MB / 0.7136 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)