Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.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.PumpsParallel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Movers.Examples.PumpsParallel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel",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.8706/0.8706, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001299/0.001299, allocations: 181 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.723/1.723, allocations: 223.2 MB / 447.7 MB, free: 4.824 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: 88.38 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 267.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005976, allocations: 19.62 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2173, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.705, allocations: 396 MB / 1.16 GB, free: 266.2 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.706, allocations: 94.36 kB / 1.161 GB, free: 266.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.038/4.743, allocations: 0.8743 GB / 2.035 GB, free: 74.33 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/4.744, allocations: 0 / 2.035 GB, free: 74.33 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003588/4.744, allocations: 61.02 kB / 2.035 GB, free: 74.33 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.01028/4.754, allocations: 2.968 MB / 2.038 GB, free: 73.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/4.754, allocations: 6.688 kB / 2.038 GB, free: 73.26 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008319/4.755, allocations: 193.9 kB / 2.038 GB, free: 73.22 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/4.758, allocations: 408.1 kB / 2.038 GB, free: 73.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03365/4.791, allocations: 14.75 MB / 2.053 GB, free: 72.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/4.792, allocations: 110 kB / 2.053 GB, free: 72.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/4.792, allocations: 156.6 kB / 2.053 GB, free: 72.19 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002894/4.795, allocations: 1.528 MB / 2.054 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/4.795, allocations: 0 / 2.054 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/4.795, allocations: 59.91 kB / 2.055 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-05/4.795, allocations: 47.77 kB / 2.055 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002246/4.798, allocations: 1.163 MB / 2.056 GB, free: 71.96 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.0119/4.809, allocations: 7.657 MB / 2.063 GB, free: 68.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/4.811, allocations: 0.9859 MB / 2.064 GB, free: 68.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005164/4.817, allocations: 2.647 MB / 2.067 GB, free: 66.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/4.817, allocations: 46.45 kB / 2.067 GB, free: 66.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001629/4.818, allocations: 313.6 kB / 2.067 GB, free: 66.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=91): time 5.53e-06/4.818, allocations: 0 / 2.067 GB, free: 66.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=91): time 0.005131/4.824, allocations: 2.002 MB / 2.069 GB, free: 66.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/4.824, allocations: 62.19 kB / 2.069 GB, free: 66.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002627/4.826, allocations: 1.556 MB / 2.071 GB, free: 66.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/4.826, allocations: 53.05 kB / 2.071 GB, free: 66.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007402/4.827, allocations: 0.9813 MB / 2.072 GB, free: 65.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/4.828, allocations: 330.5 kB / 2.072 GB, free: 65.63 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/4.828, allocations: 26.44 kB / 2.072 GB, free: 65.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001006/4.828, allocations: 351.5 kB / 2.072 GB, free: 65.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/4.829, allocations: 404.4 kB / 2.073 GB, free: 65.32 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/4.83, allocations: 0.854 MB / 2.074 GB, free: 64.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/4.831, allocations: 0.5194 MB / 2.074 GB, free: 64.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/4.831, allocations: 0 / 2.074 GB, free: 64.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002946/4.834, allocations: 1.497 MB / 2.076 GB, free: 64.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008533/4.834, allocations: 3.791 MB / 2.079 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/4.834, allocations: 10.5 kB / 2.079 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/4.835, allocations: 216.2 kB / 2.079 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/4.836, allocations: 272 kB / 2.08 GB, free: 60.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007549/4.837, allocations: 0.8243 MB / 2.08 GB, free: 60.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/4.839, allocations: 123.7 kB / 2.081 GB, free: 60.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/4.839, allocations: 85.2 kB / 2.081 GB, free: 60.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/4.839, allocations: 3.875 kB / 2.081 GB, free: 60.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002478/4.842, allocations: 1.36 MB / 2.082 GB, free: 59.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/4.842, allocations: 13.25 kB / 2.082 GB, free: 59.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006493/4.842, allocations: 259.9 kB / 2.082 GB, free: 59.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009401/4.843, allocations: 257.8 kB / 2.083 GB, free: 59.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006196/4.85, allocations: 4.192 MB / 2.087 GB, free: 58.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/4.852, allocations: 120.2 kB / 2.087 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/4.852, allocations: 70.61 kB / 2.087 GB, free: 58.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (124): * Single equations (assignments): 121 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.001747/4.854, allocations: 0.5447 MB / 2.087 GB, free: 57.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007302/4.855, allocations: 201.5 kB / 2.088 GB, free: 57.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/4.859, allocations: 1.628 MB / 2.089 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/4.859, allocations: 15.98 kB / 2.089 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/4.859, allocations: 0 / 2.089 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002313/4.862, allocations: 1.262 MB / 2.09 GB, free: 57.51 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.008343/4.87, allocations: 3.45 MB / 2.094 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/4.87, allocations: 0 / 2.094 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008769/4.871, allocations: 174.2 kB / 2.094 GB, free: 56.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000603/4.872, allocations: 206.3 kB / 2.094 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001115/4.872, allocations: 34.59 kB / 2.094 GB, free: 56.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000698/4.872, allocations: 0.789 MB / 2.095 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/4.872, allocations: 5.938 kB / 2.095 GB, free: 56.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/4.877, allocations: 2.098 MB / 2.097 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/4.879, allocations: 400.6 kB / 2.097 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007251/4.879, allocations: 24.47 kB / 2.097 GB, free: 55.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/4.881, allocations: 112.8 kB / 2.097 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/4.881, allocations: 64 kB / 2.098 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/4.881, allocations: 52.31 kB / 2.098 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003162/4.885, allocations: 1.202 MB / 2.099 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.91e-07/4.885, allocations: 3.609 kB / 2.099 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.007404/4.892, allocations: 1.325 MB / 2.1 GB, free: 55.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,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 (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.008167/4.9, allocations: 4.102 MB / 2.104 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004888/4.905, allocations: 2.044 MB / 2.106 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.413e-06/4.905, allocations: 0 / 2.106 GB, free: 53.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/4.906, allocations: 0.5626 MB / 2.107 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004935/4.911, allocations: 0.8864 MB / 2.107 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/4.925, allocations: 11.56 MB / 2.119 GB, free: 45.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/4.928, allocations: 1.591 MB / 2.12 GB, free: 44.45 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003059/4.931, allocations: 494.2 kB / 2.121 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/4.932, allocations: 0.8933 MB / 2.122 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/4.932, allocations: 0 / 2.122 GB, free: 44.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/5.048, allocations: 70.69 MB / 2.191 GB, free: 39.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/5.048, allocations: 259.4 kB / 2.191 GB, free: 39.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.815/9.863, allocations: 3.938 kB / 2.191 GB, free: 39.55 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Movers_Examples_PumpsParallel.fmu > BuildingSystems_BuildingSystems.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1)