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: "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8879/0.8879, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001342/0.001342, allocations: 183 kB / 191.5 MB, free: 5.773 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.563/1.563, allocations: 223.1 MB / 447.7 MB, free: 4.793 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.00108/0.00108, allocations: 100.3 kB / 0.5187 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00184/0.00184, allocations: 276.1 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004427, allocations: 14.78 kB / 0.6929 GB, free: 59.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1764, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.246/1.422, allocations: 394.2 MB / 1.159 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.423, allocations: 95.55 kB / 1.159 GB, free: 194.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.196/3.619, allocations: 0.6907 GB / 1.849 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/3.619, allocations: 2.75 kB / 1.849 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000224/3.619, allocations: 47.2 kB / 1.85 GB, free: 106.2 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.00647/3.625, allocations: 2.469 MB / 1.852 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/3.625, allocations: 9.969 kB / 1.852 GB, free: 105.1 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004862/3.626, allocations: 156.2 kB / 1.852 GB, free: 105 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/3.629, allocations: 0.5336 MB / 1.853 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03003/3.659, allocations: 14.32 MB / 1.867 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/3.659, allocations: 86.16 kB / 1.867 GB, free: 103.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002554/3.659, allocations: 114.3 kB / 1.867 GB, free: 103.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/3.662, allocations: 1.239 MB / 1.868 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/3.662, allocations: 3.938 kB / 1.868 GB, free: 103.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/3.662, allocations: 45.31 kB / 1.868 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/3.662, allocations: 41.91 kB / 1.868 GB, free: 103.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/3.664, allocations: 0.9594 MB / 1.869 GB, free: 102.9 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.008343/3.672, allocations: 5.707 MB / 1.875 GB, free: 99.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/3.674, allocations: 0.8464 MB / 1.875 GB, free: 98.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003544/3.678, allocations: 2.335 MB / 1.878 GB, free: 96.87 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/3.678, allocations: 44.3 kB / 1.878 GB, free: 96.82 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006515/3.679, allocations: 128.5 kB / 1.878 GB, free: 96.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=65): time 2.745e-06/3.679, allocations: 0 / 1.878 GB, free: 96.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65): time 0.005777/3.684, allocations: 1.795 MB / 1.88 GB, free: 95.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/3.684, allocations: 60.31 kB / 1.88 GB, free: 95.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/3.686, allocations: 1.304 MB / 1.881 GB, free: 95.01 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/3.686, allocations: 41.11 kB / 1.881 GB, free: 94.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/3.687, allocations: 0.7859 MB / 1.882 GB, free: 94.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000193/3.687, allocations: 230.1 kB / 1.882 GB, free: 94.08 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/3.687, allocations: 18.09 kB / 1.882 GB, free: 94.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.901e-05/3.687, allocations: 348.1 kB / 1.882 GB, free: 93.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/3.688, allocations: 345.6 kB / 1.883 GB, free: 93.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/3.689, allocations: 0.684 MB / 1.883 GB, free: 92.95 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008531/3.69, allocations: 446.7 kB / 1.884 GB, free: 92.74 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/3.69, allocations: 0 / 1.884 GB, free: 92.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002619/3.692, allocations: 1.277 MB / 1.885 GB, free: 92.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009847/3.693, allocations: 3.339 MB / 1.888 GB, free: 88.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/3.693, allocations: 7.906 kB / 1.888 GB, free: 88.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009814/3.694, allocations: 280.4 kB / 1.889 GB, free: 88.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/3.695, allocations: 212.9 kB / 1.889 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/3.697, allocations: 1.444 MB / 1.89 GB, free: 87.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/3.698, allocations: 83.44 kB / 1.89 GB, free: 87.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/3.698, allocations: 72.5 kB / 1.89 GB, free: 87.03 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/3.698, allocations: 7.203 kB / 1.89 GB, free: 87.02 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002351/3.701, allocations: 1.149 MB / 1.891 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/3.701, allocations: 7.375 kB / 1.891 GB, free: 86.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009713/3.702, allocations: 336.1 kB / 1.892 GB, free: 86.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/3.703, allocations: 211 kB / 1.892 GB, free: 86.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005719/3.708, allocations: 4.006 MB / 1.896 GB, free: 83.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/3.71, allocations: 87.42 kB / 1.896 GB, free: 83.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/3.71, allocations: 58.17 kB / 1.896 GB, free: 83.07 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.001269/3.711, allocations: 492.4 kB / 1.896 GB, free: 82.7 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004252/3.712, allocations: 158 kB / 1.897 GB, free: 82.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/3.716, allocations: 1.488 MB / 1.898 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/3.716, allocations: 11.77 kB / 1.898 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/3.716, allocations: 0 / 1.898 GB, free: 81.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/3.716, allocations: 6.766 kB / 1.898 GB, free: 81.79 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.006883/3.723, allocations: 2.711 MB / 1.901 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/3.723, allocations: 0 / 1.901 GB, free: 80.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/3.723, allocations: 117.2 kB / 1.901 GB, free: 80.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008271/3.724, allocations: 262.7 kB / 1.901 GB, free: 79.92 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.709e-05/3.724, allocations: 25.12 kB / 1.901 GB, free: 79.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/3.725, allocations: 1.374 MB / 1.902 GB, free: 78.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/3.725, allocations: 3.125 kB / 1.902 GB, free: 78.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003832/3.729, allocations: 1.853 MB / 1.904 GB, free: 77.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/3.73, allocations: 347 kB / 1.905 GB, free: 77.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/3.731, allocations: 15.86 kB / 1.905 GB, free: 77.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000993/3.732, allocations: 95.58 kB / 1.905 GB, free: 77.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/3.732, allocations: 46.8 kB / 1.905 GB, free: 77.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/3.732, allocations: 37.34 kB / 1.905 GB, free: 77.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001697/3.733, allocations: 1.01 MB / 1.906 GB, free: 76.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.7e-07/3.733, allocations: 0 / 1.906 GB, free: 76.34 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00399/3.737, allocations: 1.037 MB / 1.907 GB, free: 75.3 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.006163/3.744, allocations: 3.869 MB / 1.911 GB, free: 71.54 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004198/3.748, allocations: 1.73 MB / 1.912 GB, free: 69.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/3.748, allocations: 0 / 1.912 GB, free: 69.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009719/3.749, allocations: 476.6 kB / 1.913 GB, free: 69.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/3.752, allocations: 0.7152 MB / 1.913 GB, free: 68.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009231/3.761, allocations: 9.835 MB / 1.923 GB, free: 58.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009263/3.762, allocations: 1.404 MB / 1.924 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001813/3.764, allocations: 392.7 kB / 1.925 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007516/3.765, allocations: 0.6672 MB / 1.925 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/3.765, allocations: 4 kB / 1.925 GB, free: 56.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5309/4.296, allocations: 59.37 MB / 1.983 GB, free: 101.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/4.296, allocations: 252.8 kB / 1.984 GB, free: 101 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.441/8.737, allocations: 3.766 kB / 1.984 GB, free: 101 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsSeries.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)