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 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.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.8255/0.8255, allocations: 143.4 MB / 158.3 MB, free: 5.82 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.001291/0.001291, allocations: 177 kB / 191.5 MB, free: 5.777 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.388/1.388, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0008637/0.0008637, allocations: 91.75 kB / 0.5188 GB, free: 1.156 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001693/0.001693, allocations: 265 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 11.06 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 82.8 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.181, allocations: 394.2 MB / 1.159 GB, free: 267.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/1.181, allocations: 99.12 kB / 1.159 GB, free: 267.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.123/3.304, allocations: 0.6907 GB / 1.849 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.683e-06/3.304, allocations: 0 / 1.849 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003301/3.304, allocations: 46.84 kB / 1.849 GB, free: 106.3 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00786/3.312, allocations: 2.474 MB / 1.852 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/3.312, allocations: 10.19 kB / 1.852 GB, free: 105.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/3.316, allocations: 0.5361 MB / 1.852 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03153/3.347, allocations: 14.32 MB / 1.866 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/3.348, allocations: 84.66 kB / 1.866 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/3.348, allocations: 112.8 kB / 1.867 GB, free: 104.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/3.351, allocations: 1.241 MB / 1.868 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.085e-05/3.351, allocations: 7.531 kB / 1.868 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/3.352, allocations: 37.59 kB / 1.868 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.266e-05/3.352, allocations: 37.06 kB / 1.868 GB, free: 104 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/3.354, allocations: 0.9675 MB / 1.869 GB, free: 104 MB / 0.7136 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.01163/3.366, allocations: 5.701 MB / 1.874 GB, free: 101.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/3.368, allocations: 0.8388 MB / 1.875 GB, free: 101.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004461/3.372, allocations: 2.341 MB / 1.878 GB, free: 99.95 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/3.372, allocations: 43.06 kB / 1.878 GB, free: 99.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009462/3.373, allocations: 128.2 kB / 1.878 GB, free: 99.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 7.514e-06/3.373, allocations: 0 / 1.878 GB, free: 99.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.006471/3.38, allocations: 1.797 MB / 1.879 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/3.38, allocations: 61.61 kB / 1.879 GB, free: 99.44 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/3.383, allocations: 1.303 MB / 1.881 GB, free: 98.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/3.383, allocations: 45.52 kB / 1.881 GB, free: 98.89 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007351/3.384, allocations: 0.7816 MB / 1.882 GB, free: 98.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/3.384, allocations: 223.4 kB / 1.882 GB, free: 98.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/3.384, allocations: 19.97 kB / 1.882 GB, free: 98.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/3.384, allocations: 339.2 kB / 1.882 GB, free: 97.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008404/3.385, allocations: 352.2 kB / 1.882 GB, free: 97.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/3.386, allocations: 0.6951 MB / 1.883 GB, free: 97.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/3.387, allocations: 428.9 kB / 1.884 GB, free: 96.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/3.387, allocations: 7.766 kB / 1.884 GB, free: 96.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002956/3.39, allocations: 1.28 MB / 1.885 GB, free: 96.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007616/3.391, allocations: 3.339 MB / 1.888 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/3.391, allocations: 7.781 kB / 1.888 GB, free: 92.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/3.392, allocations: 286.4 kB / 1.888 GB, free: 92.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/3.393, allocations: 223.5 kB / 1.889 GB, free: 92.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/3.394, allocations: 1.44 MB / 1.89 GB, free: 91.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/3.396, allocations: 86.95 kB / 1.89 GB, free: 91.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/3.396, allocations: 68.52 kB / 1.89 GB, free: 91.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/3.396, allocations: 6.188 kB / 1.89 GB, free: 91.64 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002476/3.399, allocations: 1.156 MB / 1.891 GB, free: 91.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/3.399, allocations: 7 kB / 1.891 GB, free: 91.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/3.4, allocations: 329.4 kB / 1.892 GB, free: 91.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/3.4, allocations: 203.4 kB / 1.892 GB, free: 91.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006145/3.407, allocations: 4.005 MB / 1.896 GB, free: 88.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/3.408, allocations: 92.83 kB / 1.896 GB, free: 88.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/3.409, allocations: 59.38 kB / 1.896 GB, free: 88.36 MB / 0.7136 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 (94): * Single equations (assignments): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001614/3.41, allocations: 496.9 kB / 1.896 GB, free: 88.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005684/3.411, allocations: 158 kB / 1.896 GB, free: 87.92 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/3.415, allocations: 1.478 MB / 1.898 GB, free: 87.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/3.415, allocations: 13.86 kB / 1.898 GB, free: 87.42 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/3.415, allocations: 0 / 1.898 GB, free: 87.42 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/3.415, allocations: 3.938 kB / 1.898 GB, free: 87.42 MB / 0.7136 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.006893/3.422, allocations: 2.704 MB / 1.901 GB, free: 86.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/3.422, allocations: 3.156 kB / 1.901 GB, free: 86.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/3.423, allocations: 118.7 kB / 1.901 GB, free: 86.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009329/3.424, allocations: 255.7 kB / 1.901 GB, free: 86.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-05/3.424, allocations: 37.91 kB / 1.901 GB, free: 86.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/3.425, allocations: 1.369 MB / 1.902 GB, free: 84.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/3.425, allocations: 3.938 kB / 1.902 GB, free: 84.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/3.43, allocations: 1.85 MB / 1.904 GB, free: 84.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/3.431, allocations: 346.7 kB / 1.904 GB, free: 83.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004884/3.431, allocations: 18.94 kB / 1.904 GB, free: 83.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/3.433, allocations: 89.58 kB / 1.905 GB, free: 83.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/3.433, allocations: 44.55 kB / 1.905 GB, free: 83.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.351e-05/3.433, allocations: 39.55 kB / 1.905 GB, free: 83.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001942/3.435, allocations: 1.012 MB / 1.906 GB, free: 83.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/3.435, allocations: 0 / 1.906 GB, free: 83.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004406/3.439, allocations: 1.04 MB / 1.907 GB, free: 83.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[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 (61): * Single equations (assignments): 53 * 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.002692/3.442, allocations: 1.309 MB / 1.908 GB, free: 82.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004481/3.447, allocations: 1.724 MB / 1.91 GB, free: 82.06 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/3.447, allocations: 0 / 1.91 GB, free: 82.06 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/3.448, allocations: 492 kB / 1.91 GB, free: 81.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/3.451, allocations: 0.7038 MB / 1.911 GB, free: 81.51 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00559/3.457, allocations: 3.34 MB / 1.914 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/3.458, allocations: 1.4 MB / 1.915 GB, free: 78.28 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001929/3.46, allocations: 406.1 kB / 1.916 GB, free: 78.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003929/3.46, allocations: 125.9 kB / 1.916 GB, free: 78.08 MB / 0.7136 GB Notification: Performance of SimCode: time 1.263e-06/3.46, allocations: 0 / 1.916 GB, free: 78.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.06411/3.524, allocations: 42.45 MB / 1.957 GB, free: 37.28 MB / 0.7136 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)