Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.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.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries") translateModel(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7612/0.7612, allocations: 140.1 MB / 156 MB, free: 5.168 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.001019/0.001018, allocations: 176.3 kB / 188.5 MB, free: 15.83 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.524/1.524, allocations: 205.4 MB / 426.4 MB, free: 8.391 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.0008879/0.0008879, allocations: 86.36 kB / 0.4945 GB, free: 8.336 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001709/0.001708, allocations: 277 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005409/0.000541, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.364, allocations: 79.29 MB / 0.7395 GB, free: 46.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7059/1.07, allocations: 405.9 MB / 1.136 GB, free: 4.23 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/1.07, allocations: 97.34 kB / 1.136 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.38/3.45, allocations: 0.6829 GB / 1.819 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.837e-06/3.45, allocations: 0 / 1.819 GB, free: 103.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003434/3.451, allocations: 51.22 kB / 1.819 GB, free: 103.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.00744/3.458, allocations: 2.527 MB / 1.821 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/3.458, allocations: 10.25 kB / 1.821 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003245/3.461, allocations: 0.5443 MB / 1.822 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02795/3.489, allocations: 13.28 MB / 1.835 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/3.49, allocations: 86.53 kB / 1.835 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006031/3.49, allocations: 112.3 kB / 1.835 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/3.494, allocations: 1.309 MB / 1.836 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/3.494, allocations: 3.938 kB / 1.836 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002225/3.495, allocations: 42.81 kB / 1.836 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/3.495, allocations: 25.03 kB / 1.836 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/3.497, allocations: 0.9575 MB / 1.837 GB, free: 101 MB / 0.6823 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.00987/3.507, allocations: 5.623 MB / 1.843 GB, free: 98.27 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/3.509, allocations: 0.8763 MB / 1.844 GB, free: 97.88 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/3.51, allocations: 371.7 kB / 1.844 GB, free: 97.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003795/3.514, allocations: 2.202 MB / 1.846 GB, free: 96.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.715e-05/3.514, allocations: 46.16 kB / 1.846 GB, free: 96 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009605/3.515, allocations: 123.9 kB / 1.846 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=62): time 4.098e-06/3.515, allocations: 0 / 1.846 GB, free: 95.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=62): time 0.005963/3.521, allocations: 1.795 MB / 1.848 GB, free: 95.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/3.521, allocations: 212.5 kB / 1.848 GB, free: 95.04 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002575/3.523, allocations: 1.511 MB / 1.85 GB, free: 94.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/3.524, allocations: 44.36 kB / 1.85 GB, free: 94.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000638/3.524, allocations: 0.8179 MB / 1.851 GB, free: 93.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/3.524, allocations: 217.3 kB / 1.851 GB, free: 93.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.501e-05/3.525, allocations: 18.16 kB / 1.851 GB, free: 93.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/3.525, allocations: 347.9 kB / 1.851 GB, free: 93.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008457/3.526, allocations: 373.8 kB / 1.852 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/3.527, allocations: 0.7547 MB / 1.852 GB, free: 92.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/3.528, allocations: 1.025 MB / 1.853 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/3.528, allocations: 0 / 1.853 GB, free: 91.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003004/3.531, allocations: 1.353 MB / 1.855 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/3.532, allocations: 340.4 kB / 1.855 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.91e-05/3.532, allocations: 18.33 kB / 1.855 GB, free: 91.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009948/3.533, allocations: 284.4 kB / 1.855 GB, free: 90.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/3.533, allocations: 196.5 kB / 1.855 GB, free: 90.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/3.535, allocations: 1.442 MB / 1.857 GB, free: 89.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/3.536, allocations: 94.67 kB / 1.857 GB, free: 89.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/3.537, allocations: 73.44 kB / 1.857 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.537, allocations: 3.281 kB / 1.857 GB, free: 89.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00257/3.539, allocations: 1.21 MB / 1.858 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.104e-05/3.539, allocations: 15.62 kB / 1.858 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009685/3.54, allocations: 331.1 kB / 1.859 GB, free: 89.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/3.541, allocations: 186.9 kB / 1.859 GB, free: 89.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005604/3.547, allocations: 3.907 MB / 1.863 GB, free: 86.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/3.548, allocations: 90.44 kB / 1.863 GB, free: 86.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002729/3.549, allocations: 64.83 kB / 1.863 GB, free: 86.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 initialization (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001539/3.55, allocations: 499.1 kB / 1.863 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/3.551, allocations: 168.4 kB / 1.863 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/3.555, allocations: 1.444 MB / 1.865 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/3.555, allocations: 7.219 kB / 1.865 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/3.555, allocations: 2.469 kB / 1.865 GB, free: 85.46 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/3.555, allocations: 3.516 kB / 1.865 GB, free: 85.46 MB / 0.6823 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 postOpt removeSimpleEquations (simulation): time 0.006154/3.561, allocations: 2.614 MB / 1.867 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/3.561, allocations: 11.81 kB / 1.867 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/3.562, allocations: 114.1 kB / 1.867 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007689/3.563, allocations: 265.3 kB / 1.868 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.859e-05/3.563, allocations: 23.8 kB / 1.868 GB, free: 84.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/3.564, allocations: 1.371 MB / 1.869 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.564, allocations: 2.938 kB / 1.869 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/3.567, allocations: 1.767 MB / 1.871 GB, free: 82.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009621/3.568, allocations: 331.7 kB / 1.871 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/3.569, allocations: 21.12 kB / 1.871 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/3.57, allocations: 87.7 kB / 1.871 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/3.57, allocations: 45.38 kB / 1.871 GB, free: 81.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.696e-05/3.571, allocations: 43.61 kB / 1.871 GB, free: 81.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001936/3.572, allocations: 1.009 MB / 1.872 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/3.572, allocations: 0 / 1.872 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004529/3.577, allocations: 1.079 MB / 1.873 GB, free: 81.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * 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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003037/3.58, allocations: 1.353 MB / 1.875 GB, free: 80.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00473/3.585, allocations: 1.894 MB / 1.876 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/3.585, allocations: 0 / 1.876 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/3.586, allocations: 475.6 kB / 1.877 GB, free: 79.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/3.591, allocations: 0.7208 MB / 1.878 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/3.597, allocations: 3.444 MB / 1.881 GB, free: 75.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/3.598, allocations: 1.384 MB / 1.882 GB, free: 74.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002096/3.6, allocations: 401.5 kB / 1.883 GB, free: 74.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/3.6, allocations: 129.5 kB / 1.883 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of SimCode: time 7.51e-07/3.6, allocations: 0 / 1.883 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.0681/3.669, allocations: 44.13 MB / 1.926 GB, free: 31.58 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)