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.7946/0.7946, 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.001069/0.001069, allocations: 184 kB / 187.3 MB, free: 11.87 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.52/1.52, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0009221/0.0009222, allocations: 105.8 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.00182/0.00182, allocations: 277.8 kB / 0.594 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.718e-05/4.72e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5766, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.651/6.228, allocations: 1.856 GB / 2.62 GB, free: 150 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/6.228, allocations: 88.02 kB / 2.62 GB, free: 150 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.34/10.57, allocations: 1.01 GB / 3.63 GB, free: 108.5 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.673e-06/10.57, allocations: 4.688 kB / 3.63 GB, free: 108.5 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.648e-05/10.57, allocations: 31.77 kB / 3.63 GB, free: 108.5 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.006323/10.57, allocations: 1.783 MB / 3.632 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/10.57, allocations: 11.16 kB / 3.632 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/10.58, allocations: 0.547 MB / 3.633 GB, free: 107.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/10.58, allocations: 1.07 MB / 3.634 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005805/10.58, allocations: 203.6 kB / 3.634 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/10.58, allocations: 84.16 kB / 3.634 GB, free: 107.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/10.58, allocations: 1.143 MB / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/10.58, allocations: 0 / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/10.58, allocations: 30.09 kB / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-05/10.58, allocations: 49.73 kB / 3.635 GB, free: 107.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/10.59, allocations: 1.111 MB / 3.636 GB, free: 107.5 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.006385/10.59, allocations: 4.202 MB / 3.64 GB, free: 106 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/10.59, allocations: 0.7636 MB / 3.641 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/10.59, allocations: 0.5068 MB / 3.642 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008297/10.59, allocations: 0.6101 MB / 3.642 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/10.59, allocations: 44.09 kB / 3.642 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 4.258e-06/10.59, allocations: 0 / 3.642 GB, free: 105.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.001939/10.6, allocations: 1.022 MB / 3.643 GB, free: 105.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/10.6, allocations: 65.7 kB / 3.643 GB, free: 105.1 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008489/10.6, allocations: 0.6933 MB / 3.644 GB, free: 105 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/10.6, allocations: 45.2 kB / 3.644 GB, free: 105 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/10.6, allocations: 446.2 kB / 3.645 GB, free: 104.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/10.6, allocations: 263.2 kB / 3.645 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/10.6, allocations: 16.72 kB / 3.645 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/10.6, allocations: 335.5 kB / 3.645 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/10.6, allocations: 404.7 kB / 3.646 GB, free: 104.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006699/10.6, allocations: 0.5571 MB / 3.646 GB, free: 104.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/10.6, allocations: 463.2 kB / 3.647 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/10.6, allocations: 0 / 3.647 GB, free: 104.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00165/10.6, allocations: 1.096 MB / 3.648 GB, free: 104.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/10.6, allocations: 480.8 kB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/10.6, allocations: 3.031 kB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/10.6, allocations: 8.594 kB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/10.6, allocations: 270.7 kB / 3.648 GB, free: 103.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004978/10.6, allocations: 1.2 MB / 3.649 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/10.6, allocations: 195.2 kB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/10.6, allocations: 40.97 kB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/10.6, allocations: 7.25 kB / 3.65 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00147/10.61, allocations: 0.9883 MB / 3.651 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/10.61, allocations: 5.656 kB / 3.651 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/10.61, allocations: 3.875 kB / 3.651 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/10.61, allocations: 262.2 kB / 3.651 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/10.61, allocations: 10.52 kB / 3.651 GB, free: 102.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/10.61, allocations: 195.8 kB / 3.651 GB, free: 102.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/10.61, allocations: 42.34 kB / 3.651 GB, free: 102.3 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.0002749/10.61, allocations: 153.8 kB / 3.651 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/10.61, allocations: 107.4 kB / 3.651 GB, free: 102.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/10.61, allocations: 1.115 MB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/10.61, allocations: 11.34 kB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/10.61, allocations: 3.953 kB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/10.61, allocations: 3.469 kB / 3.653 GB, free: 102.1 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/10.62, allocations: 2.604 MB / 3.655 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/10.62, allocations: 3.469 kB / 3.655 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/10.62, allocations: 259.9 kB / 3.655 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.705e-05/10.62, allocations: 10.73 kB / 3.655 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.306e-05/10.62, allocations: 28.48 kB / 3.655 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/10.62, allocations: 1.193 MB / 3.657 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/10.62, allocations: 14.11 kB / 3.657 GB, free: 100.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/10.62, allocations: 1.383 MB / 3.658 GB, free: 99.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/10.62, allocations: 324 kB / 3.658 GB, free: 99.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/10.62, allocations: 17.25 kB / 3.658 GB, free: 99.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/10.62, allocations: 170.7 kB / 3.658 GB, free: 99.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/10.62, allocations: 61.89 kB / 3.658 GB, free: 99.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.801e-05/10.62, allocations: 40.34 kB / 3.658 GB, free: 99.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0007743/10.62, allocations: 0.5525 MB / 3.659 GB, free: 99.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/10.62, allocations: 0 / 3.659 GB, free: 99.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002774/10.63, allocations: 0.7588 MB / 3.66 GB, free: 99.61 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.003914/10.63, allocations: 2.366 MB / 3.662 GB, free: 98.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00297/10.63, allocations: 1.676 MB / 3.664 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/10.63, allocations: 0 / 3.664 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008557/10.63, allocations: 0.5401 MB / 3.664 GB, free: 98.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/10.64, allocations: 0.5081 MB / 3.665 GB, free: 98.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/10.65, allocations: 2.369 MB / 3.667 GB, free: 98.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/10.65, allocations: 1.117 MB / 3.668 GB, free: 97.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002237/10.65, allocations: 481 kB / 3.669 GB, free: 97.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/10.65, allocations: 78.34 kB / 3.669 GB, free: 97.39 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/10.65, allocations: 3.219 kB / 3.669 GB, free: 97.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.1219/10.77, allocations: 53.4 MB / 3.721 GB, free: 95.58 MB / 0.7292 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)