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.6846/0.6846, allocations: 141.7 MB / 154.3 MB, free: 15.47 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.001019/0.001019, allocations: 181.4 kB / 187.3 MB, free: 11.88 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.281/1.281, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0009064/0.0009064, allocations: 97.12 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001715/0.001715, allocations: 268.5 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.349e-05, allocations: 4 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3491, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6553/1.004, allocations: 394.1 MB / 1.149 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/1.005, allocations: 89.33 kB / 1.149 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.31/3.315, allocations: 0.6887 GB / 1.838 GB, free: 107.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/3.315, allocations: 0 / 1.838 GB, free: 107.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002934/3.315, allocations: 40.09 kB / 1.838 GB, free: 107.9 MB / 0.698 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.00411/3.319, allocations: 1.875 MB / 1.84 GB, free: 107 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/3.319, allocations: 10.12 kB / 1.84 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/3.32, allocations: 148.1 kB / 1.84 GB, free: 107 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/3.322, allocations: 0.5423 MB / 1.841 GB, free: 106.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02754/3.35, allocations: 14.21 MB / 1.854 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/3.35, allocations: 84.41 kB / 1.854 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/3.351, allocations: 118 kB / 1.855 GB, free: 105.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/3.353, allocations: 1.189 MB / 1.856 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/3.353, allocations: 2.344 kB / 1.856 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/3.353, allocations: 41.47 kB / 1.856 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/3.353, allocations: 41.56 kB / 1.856 GB, free: 105.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/3.355, allocations: 0.8451 MB / 1.857 GB, free: 105.8 MB / 0.698 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.008951/3.364, allocations: 5.717 MB / 1.862 GB, free: 102.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/3.365, allocations: 0.7515 MB / 1.863 GB, free: 102.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/3.366, allocations: 342.1 kB / 1.863 GB, free: 102.1 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003779/3.37, allocations: 2.349 MB / 1.866 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/3.37, allocations: 38.66 kB / 1.866 GB, free: 100.3 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008112/3.37, allocations: 127.3 kB / 1.866 GB, free: 100.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 5.059e-06/3.37, allocations: 0 / 1.866 GB, free: 100.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.002466/3.373, allocations: 0.9732 MB / 1.867 GB, free: 99.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/3.373, allocations: 59.28 kB / 1.867 GB, free: 99.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/3.375, allocations: 1.284 MB / 1.868 GB, free: 99.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/3.375, allocations: 47.89 kB / 1.868 GB, free: 99.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/3.376, allocations: 0.7738 MB / 1.869 GB, free: 98.63 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/3.376, allocations: 232.8 kB / 1.869 GB, free: 98.45 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/3.376, allocations: 15.91 kB / 1.869 GB, free: 98.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.006e-05/3.376, allocations: 351.4 kB / 1.869 GB, free: 98.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/3.377, allocations: 298.1 kB / 1.87 GB, free: 98.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006069/3.377, allocations: 0.6464 MB / 1.87 GB, free: 97.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/3.378, allocations: 401.9 kB / 1.871 GB, free: 97.33 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/3.378, allocations: 0 / 1.871 GB, free: 97.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001981/3.38, allocations: 1.188 MB / 1.872 GB, free: 96.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006442/3.381, allocations: 3.339 MB / 1.875 GB, free: 93.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/3.381, allocations: 9.156 kB / 1.875 GB, free: 93.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007958/3.382, allocations: 260.5 kB / 1.875 GB, free: 93.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008295/3.382, allocations: 211.8 kB / 1.876 GB, free: 93.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/3.384, allocations: 1.424 MB / 1.877 GB, free: 92.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/3.385, allocations: 92.56 kB / 1.877 GB, free: 92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/3.385, allocations: 73.64 kB / 1.877 GB, free: 91.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/3.385, allocations: 4.469 kB / 1.877 GB, free: 91.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0018/3.387, allocations: 1.072 MB / 1.878 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/3.387, allocations: 7.281 kB / 1.878 GB, free: 91.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008074/3.388, allocations: 328.7 kB / 1.878 GB, free: 91.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/3.388, allocations: 203 kB / 1.879 GB, free: 91.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/3.394, allocations: 3.91 MB / 1.883 GB, free: 88.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/3.395, allocations: 86.33 kB / 1.883 GB, free: 88.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/3.395, allocations: 59.86 kB / 1.883 GB, free: 88.74 MB / 0.698 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 () * 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.0003606/3.396, allocations: 164.5 kB / 1.883 GB, free: 88.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/3.396, allocations: 160.6 kB / 1.883 GB, free: 88.51 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/3.4, allocations: 1.369 MB / 1.884 GB, free: 88.03 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/3.4, allocations: 14 kB / 1.884 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/3.4, allocations: 0 / 1.884 GB, free: 88.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/3.4, allocations: 3.938 kB / 1.884 GB, free: 88.02 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.005272/3.405, allocations: 2.613 MB / 1.887 GB, free: 86.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/3.405, allocations: 1.281 kB / 1.887 GB, free: 86.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/3.405, allocations: 116 kB / 1.887 GB, free: 86.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006719/3.406, allocations: 249.1 kB / 1.887 GB, free: 86.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/3.406, allocations: 28.58 kB / 1.887 GB, free: 86.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008484/3.407, allocations: 1.352 MB / 1.889 GB, free: 85.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/3.407, allocations: 3.688 kB / 1.889 GB, free: 85.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/3.41, allocations: 1.709 MB / 1.89 GB, free: 84.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008068/3.411, allocations: 343.8 kB / 1.891 GB, free: 84.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/3.411, allocations: 15.72 kB / 1.891 GB, free: 84.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/3.412, allocations: 82.44 kB / 1.891 GB, free: 84.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/3.412, allocations: 45.86 kB / 1.891 GB, free: 84.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.642e-05/3.412, allocations: 43.98 kB / 1.891 GB, free: 84.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001606/3.414, allocations: 0.9925 MB / 1.892 GB, free: 84.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 3e-07/3.414, allocations: 3.594 kB / 1.892 GB, free: 84.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003744/3.418, allocations: 1.032 MB / 1.893 GB, free: 83.79 MB / 0.698 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 () * 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.005296/3.423, allocations: 3.741 MB / 1.896 GB, free: 81.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00335/3.426, allocations: 1.664 MB / 1.898 GB, free: 81.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/3.426, allocations: 0 / 1.898 GB, free: 81.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007332/3.427, allocations: 442.8 kB / 1.898 GB, free: 81.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/3.431, allocations: 0.7052 MB / 1.899 GB, free: 80.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/3.437, allocations: 2.598 MB / 1.902 GB, free: 78.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009132/3.437, allocations: 1.403 MB / 1.903 GB, free: 77.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002506/3.44, allocations: 0.5685 MB / 1.904 GB, free: 76.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007861/3.441, allocations: 0.6481 MB / 1.904 GB, free: 76.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/3.441, allocations: 0 / 1.904 GB, free: 76.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0907/3.532, allocations: 64.02 MB / 1.967 GB, free: 13.43 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/3.532, allocations: 230.6 kB / 1.967 GB, free: 13.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/7.267, allocations: 0 / 1.967 GB, free: 13.2 MB / 0.698 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)