Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7452/0.7452, allocations: 128.7 MB / 143.7 MB, free: 2.352 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 170.5 kB / 173.7 MB, free: 6.129 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 409 MB, free: 10.51 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008287/0.0008287, allocations: 94.8 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003653, allocations: 8.688 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9588/1.082, allocations: 398.4 MB / 1.024 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.082, allocations: 97.81 kB / 1.025 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.88/2.962, allocations: 0.6651 GB / 1.69 GB, free: 36.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.275e-06/2.962, allocations: 0 / 1.69 GB, free: 36.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002106/2.962, allocations: 50.52 kB / 1.69 GB, free: 36.46 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005737/2.968, allocations: 2.539 MB / 1.692 GB, free: 33.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/2.968, allocations: 11.97 kB / 1.692 GB, free: 33.88 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002318/2.968, allocations: 156.2 kB / 1.692 GB, free: 33.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/2.972, allocations: 0.6225 MB / 1.693 GB, free: 33.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02679/2.999, allocations: 13.74 MB / 1.706 GB, free: 19.51 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/2.999, allocations: 86 kB / 1.706 GB, free: 19.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000221/2.999, allocations: 112 kB / 1.707 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/3.001, allocations: 1.308 MB / 1.708 GB, free: 17.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/3.001, allocations: 0 / 1.708 GB, free: 17.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/3.001, allocations: 48 kB / 1.708 GB, free: 17.89 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/3.001, allocations: 24 kB / 1.708 GB, free: 17.86 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/3.003, allocations: 0.9524 MB / 1.709 GB, free: 16.91 MB / 0.6511 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.007597/3.011, allocations: 5.536 MB / 1.714 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/3.013, allocations: 0.8656 MB / 1.715 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00287/3.016, allocations: 2.107 MB / 1.717 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/3.016, allocations: 39.12 kB / 1.717 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006058/3.016, allocations: 131.1 kB / 1.717 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 3.898e-06/3.017, allocations: 0 / 1.717 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.005747/3.022, allocations: 1.774 MB / 1.719 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/3.022, allocations: 218.2 kB / 1.719 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/3.024, allocations: 1.349 MB / 1.721 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/3.024, allocations: 41.7 kB / 1.721 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005004/3.025, allocations: 0.8251 MB / 1.721 GB, free: 3.398 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000142/3.025, allocations: 210.2 kB / 1.722 GB, free: 3.195 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/3.025, allocations: 16 kB / 1.722 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001184/3.025, allocations: 345.9 kB / 1.722 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/3.026, allocations: 361.8 kB / 1.722 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008373/3.027, allocations: 0.7381 MB / 1.723 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/3.028, allocations: 450.9 kB / 1.723 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/3.028, allocations: 0 / 1.723 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002562/3.03, allocations: 1.332 MB / 1.725 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001316/3.032, allocations: 3.356 MB / 1.728 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.922e-05/3.032, allocations: 15.98 kB / 1.728 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009834/3.033, allocations: 273.4 kB / 1.728 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/3.033, allocations: 199.7 kB / 1.729 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/3.035, allocations: 1.444 MB / 1.73 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/3.036, allocations: 87.69 kB / 1.73 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/3.037, allocations: 75.89 kB / 1.73 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/3.037, allocations: 4.938 kB / 1.73 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002635/3.039, allocations: 1.188 MB / 1.731 GB, free: 8.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.262e-05/3.039, allocations: 12 kB / 1.731 GB, free: 8.816 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/3.04, allocations: 329.4 kB / 1.732 GB, free: 8.488 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/3.041, allocations: 183.7 kB / 1.732 GB, free: 8.309 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006613/3.048, allocations: 4.025 MB / 1.736 GB, free: 4.062 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/3.049, allocations: 89.69 kB / 1.736 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/3.049, allocations: 63.97 kB / 1.736 GB, free: 3.918 MB / 0.6667 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): 86 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * 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.001188/3.051, allocations: 492.8 kB / 1.736 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/3.051, allocations: 169.9 kB / 1.736 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/3.055, allocations: 1.39 MB / 1.738 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/3.055, allocations: 15.98 kB / 1.738 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/3.055, allocations: 4 kB / 1.738 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/3.055, allocations: 3.984 kB / 1.738 GB, free: 1.816 MB / 0.6667 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.3885/3.444, allocations: 2.36 MB / 1.74 GB, free: 74.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/3.444, allocations: 5.688 kB / 1.74 GB, free: 74.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005871/3.444, allocations: 102.4 kB / 1.74 GB, free: 74.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000844/3.445, allocations: 261.6 kB / 1.741 GB, free: 74.81 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/3.445, allocations: 25.16 kB / 1.741 GB, free: 74.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/3.446, allocations: 1.368 MB / 1.742 GB, free: 73.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/3.446, allocations: 5.812 kB / 1.742 GB, free: 73.78 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003372/3.45, allocations: 1.586 MB / 1.743 GB, free: 73.63 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008119/3.45, allocations: 333.4 kB / 1.744 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/3.451, allocations: 21.81 kB / 1.744 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009009/3.451, allocations: 83.92 kB / 1.744 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/3.452, allocations: 38.41 kB / 1.744 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/3.452, allocations: 35 kB / 1.744 GB, free: 73.54 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001821/3.453, allocations: 1.072 MB / 1.745 GB, free: 73.43 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.51e-07/3.454, allocations: 0 / 1.745 GB, free: 73.43 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005713/3.459, allocations: 1.067 MB / 1.746 GB, free: 73.43 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[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 (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.00673/3.466, allocations: 3.406 MB / 1.749 GB, free: 72.55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004707/3.471, allocations: 1.84 MB / 1.751 GB, free: 72.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/3.471, allocations: 0 / 1.751 GB, free: 72.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/3.472, allocations: 431.6 kB / 1.752 GB, free: 72.29 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003312/3.475, allocations: 0.7316 MB / 1.752 GB, free: 72.28 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007993/3.483, allocations: 9.831 MB / 1.762 GB, free: 64.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/3.484, allocations: 1.418 MB / 1.763 GB, free: 64.09 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00181/3.486, allocations: 399.4 kB / 1.764 GB, free: 64.07 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/3.487, allocations: 0.69 MB / 1.764 GB, free: 64.07 MB / 0.6667 GB Notification: Performance of SimCode: time 9.62e-07/3.487, allocations: 2.594 kB / 1.764 GB, free: 64.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/3.592, allocations: 61.41 MB / 1.824 GB, free: 61.26 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/3.592, allocations: 250 kB / 1.824 GB, free: 60.93 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/7.906, allocations: 7.938 kB / 1.824 GB, free: 60.92 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Movers_Examples_PumpsSeries.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)