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.813/0.813, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001149/0.00115, allocations: 183.8 kB / 182.2 MB, free: 9.461 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.556/1.556, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009297/0.0009297, allocations: 92.09 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 276.2 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.348e-05, allocations: 0 / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4013, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8122/1.214, allocations: 393.5 MB / 1.142 GB, free: 4.496 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/1.214, allocations: 85.77 kB / 1.142 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.554/3.768, allocations: 0.6847 GB / 1.827 GB, free: 109.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.273e-06/3.768, allocations: 0 / 1.827 GB, free: 109.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001897/3.768, allocations: 47.16 kB / 1.827 GB, free: 109.2 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.003588/3.772, allocations: 1.869 MB / 1.828 GB, free: 108.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/3.772, allocations: 11.33 kB / 1.828 GB, free: 108.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/3.775, allocations: 0.5387 MB / 1.829 GB, free: 108.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02781/3.803, allocations: 14.19 MB / 1.843 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/3.803, allocations: 30.62 kB / 1.843 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/3.803, allocations: 68.69 kB / 1.843 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001557/3.805, allocations: 0.8486 MB / 1.844 GB, free: 107.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/3.806, allocations: 1.045 MB / 1.845 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/3.806, allocations: 0 / 1.845 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.772e-05/3.806, allocations: 4.875 kB / 1.845 GB, free: 107.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/3.806, allocations: 37.47 kB / 1.845 GB, free: 107.1 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.007761/3.814, allocations: 5.518 MB / 1.85 GB, free: 104.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/3.815, allocations: 0.8175 MB / 1.851 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/3.816, allocations: 364.6 kB / 1.851 GB, free: 104.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0033/3.819, allocations: 2.296 MB / 1.854 GB, free: 103.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/3.819, allocations: 37.41 kB / 1.854 GB, free: 103.1 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006348/3.82, allocations: 109 kB / 1.854 GB, free: 103.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=65): time 3.146e-06/3.82, allocations: 2.906 kB / 1.854 GB, free: 103.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=65): time 0.003297/3.823, allocations: 1.139 MB / 1.855 GB, free: 102.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/3.823, allocations: 61.28 kB / 1.855 GB, free: 102.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/3.825, allocations: 1.147 MB / 1.856 GB, free: 102.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.771e-05/3.825, allocations: 25.7 kB / 1.856 GB, free: 102.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/3.825, allocations: 0.7774 MB / 1.857 GB, free: 102.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/3.825, allocations: 222.8 kB / 1.857 GB, free: 102.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/3.825, allocations: 0 / 1.857 GB, free: 102.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000102/3.826, allocations: 347.2 kB / 1.857 GB, free: 101.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/3.826, allocations: 330 kB / 1.858 GB, free: 101.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/3.827, allocations: 0.6674 MB / 1.858 GB, free: 101.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/3.828, allocations: 0.5171 MB / 1.859 GB, free: 101.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/3.828, allocations: 3.5 kB / 1.859 GB, free: 101.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002753/3.831, allocations: 1.319 MB / 1.86 GB, free: 100.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005657/3.831, allocations: 3.33 MB / 1.863 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/3.831, allocations: 7.781 kB / 1.863 GB, free: 97.04 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007173/3.832, allocations: 279.6 kB / 1.864 GB, free: 96.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/3.833, allocations: 219.1 kB / 1.864 GB, free: 96.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/3.834, allocations: 1.524 MB / 1.865 GB, free: 95.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/3.836, allocations: 67.03 kB / 1.865 GB, free: 95.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/3.836, allocations: 72.25 kB / 1.865 GB, free: 95.73 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/3.836, allocations: 3.969 kB / 1.865 GB, free: 95.73 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002513/3.838, allocations: 1.063 MB / 1.866 GB, free: 95.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/3.838, allocations: 7.812 kB / 1.866 GB, free: 95.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000744/3.839, allocations: 299.6 kB / 1.867 GB, free: 95.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/3.84, allocations: 208.3 kB / 1.867 GB, free: 95.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/3.845, allocations: 3.822 MB / 1.871 GB, free: 92.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/3.847, allocations: 60.98 kB / 1.871 GB, free: 92.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/3.847, allocations: 63.78 kB / 1.871 GB, free: 92.7 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0003266/3.847, allocations: 141.3 kB / 1.871 GB, free: 92.56 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003359/3.85, allocations: 1.076 MB / 1.872 GB, free: 92.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003389/3.851, allocations: 155 kB / 1.872 GB, free: 92.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/3.855, allocations: 1.34 MB / 1.873 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/3.855, allocations: 14.3 kB / 1.873 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/3.855, allocations: 3.5 kB / 1.873 GB, free: 91.65 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/3.855, allocations: 3.516 kB / 1.873 GB, free: 91.65 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.006857/3.862, allocations: 2.475 MB / 1.876 GB, free: 90.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/3.862, allocations: 0 / 1.876 GB, free: 90.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005977/3.862, allocations: 119.4 kB / 1.876 GB, free: 90.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/3.863, allocations: 208.4 kB / 1.876 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-05/3.863, allocations: 23.28 kB / 1.876 GB, free: 90.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/3.864, allocations: 1.369 MB / 1.878 GB, free: 89.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/3.864, allocations: 3.953 kB / 1.878 GB, free: 89.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/3.867, allocations: 1.676 MB / 1.879 GB, free: 88.47 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008025/3.868, allocations: 333.8 kB / 1.88 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/3.868, allocations: 5.625 kB / 1.88 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/3.869, allocations: 79.42 kB / 1.88 GB, free: 88.23 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/3.87, allocations: 55.78 kB / 1.88 GB, free: 88.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/3.87, allocations: 36.53 kB / 1.88 GB, free: 88.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001543/3.871, allocations: 0.8759 MB / 1.881 GB, free: 87.82 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/3.871, allocations: 0 / 1.881 GB, free: 87.82 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003903/3.875, allocations: 0.9821 MB / 1.882 GB, free: 87.59 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.006126/3.881, allocations: 3.657 MB / 1.885 GB, free: 85.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003013/3.884, allocations: 1.578 MB / 1.887 GB, free: 85.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/3.884, allocations: 3.938 kB / 1.887 GB, free: 85.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006979/3.885, allocations: 428.7 kB / 1.887 GB, free: 84.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/3.888, allocations: 0.6448 MB / 1.888 GB, free: 84.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/3.895, allocations: 2.517 MB / 1.89 GB, free: 83.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/3.896, allocations: 1.401 MB / 1.891 GB, free: 82.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002582/3.898, allocations: 0.556 MB / 1.892 GB, free: 82.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007781/3.899, allocations: 0.6507 MB / 1.893 GB, free: 81.77 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/3.899, allocations: 0 / 1.893 GB, free: 81.77 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/4.002, allocations: 53.71 MB / 1.945 GB, free: 29.68 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/4.002, allocations: 181 kB / 1.945 GB, free: 29.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.765/7.767, allocations: 7.938 kB / 1.945 GB, free: 29.47 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)