Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.conf.json 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/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_y_stratos,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_y_stratos,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, allocations: 196.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.752/2.752, allocations: 469.4 MB / 0.742 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.34 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2986, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_y_stratos): time 0.7232/1.022, allocations: 212.2 MB / 1.271 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0885/1.11, allocations: 69.94 MB / 1.339 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01638/1.127, allocations: 370 kB / 1.34 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.04658/1.174, allocations: 30.35 MB / 1.369 GB, free: 11.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.03365/1.207, allocations: 10.86 MB / 1.38 GB, free: 4.891 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02381/1.231, allocations: 8.511 MB / 1.388 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0853/1.316, allocations: 54.8 MB / 1.442 GB, free: 368 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0193/1.336, allocations: 8.484 MB / 1.45 GB, free: 7.898 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02255/1.358, allocations: 9.185 MB / 1.459 GB, free: 15.28 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0152/1.374, allocations: 7.553 MB / 1.466 GB, free: 8.238 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.005565/1.379, allocations: 1.09 MB / 1.467 GB, free: 7.148 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01613/1.395, allocations: 4.562 MB / 1.472 GB, free: 2.805 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.008459/1.404, allocations: 5.403 MB / 1.477 GB, free: 13.43 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.01535/1.419, allocations: 8.024 MB / 1.485 GB, free: 5.418 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.03358/1.453, allocations: 22.6 MB / 1.507 GB, free: 15.49 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/1.453, allocations: 4 kB / 1.507 GB, free: 15.48 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.523e-06/1.453, allocations: 0 / 1.507 GB, free: 15.48 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0006235/1.453, allocations: 0 / 1.507 GB, free: 15.48 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1254 * Number of variables: 1254 Notification: Performance of Generate backend data structure: time 0.04143/1.495, allocations: 16.75 MB / 1.523 GB, free: 14.63 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/1.495, allocations: 8.031 kB / 1.523 GB, free: 14.62 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001321/1.496, allocations: 0.6405 MB / 1.524 GB, free: 13.98 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02785/1.524, allocations: 4.788 MB / 1.529 GB, free: 9.164 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04872/1.573, allocations: 24.55 MB / 1.553 GB, free: 0.8477 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002213/1.575, allocations: 0.717 MB / 1.553 GB, free: 136 kB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/1.577, allocations: 0.5737 MB / 1.554 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/1.598, allocations: 7.791 MB / 1.561 GB, free: 7.523 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002154/1.598, allocations: 7.938 kB / 1.562 GB, free: 7.516 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001919/1.6, allocations: 200 kB / 1.562 GB, free: 7.32 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/1.6, allocations: 193.2 kB / 1.562 GB, free: 7.129 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02166/1.622, allocations: 6.34 MB / 1.568 GB, free: 0.7734 MB / 1.186 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.06377/1.686, allocations: 36.56 MB / 1.604 GB, free: 10.77 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/1.703, allocations: 5.366 MB / 1.609 GB, free: 5.402 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007287/1.711, allocations: 2.478 MB / 1.611 GB, free: 2.918 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02587/1.736, allocations: 11.91 MB / 1.623 GB, free: 6.426 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/1.737, allocations: 60.59 kB / 1.623 GB, free: 6.355 MB / 1.248 GB Notification: Performance of pre-optimization done (n=257): time 5.28e-06/1.737, allocations: 3.938 kB / 1.623 GB, free: 6.352 MB / 1.248 GB Notification: Performance of matching and sorting (n=257): time 0.02656/1.763, allocations: 7.953 MB / 1.631 GB, free: 14.32 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.763, allocations: 77.44 kB / 1.631 GB, free: 14.23 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04035/1.804, allocations: 20.07 MB / 1.651 GB, free: 10.25 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.805, allocations: 113.7 kB / 1.651 GB, free: 10.13 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.007127/1.812, allocations: 6.269 MB / 1.657 GB, free: 3.91 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.814, allocations: 0.9647 MB / 1.658 GB, free: 2.953 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004131/1.818, allocations: 2.311 MB / 1.66 GB, free: 0.6367 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.38e-05/1.818, allocations: 301.1 kB / 1.66 GB, free: 348 kB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01285/1.831, allocations: 6.409 MB / 1.667 GB, free: 9.922 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01616/1.847, allocations: 9.001 MB / 1.675 GB, free: 15.93 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02454/1.871, allocations: 14.2 MB / 1.689 GB, free: 0.8242 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-05/1.872, allocations: 20 kB / 1.689 GB, free: 0.8047 MB / 1.311 GB Notification: Performance of matching and sorting (n=1343) (initialization): time 0.03414/1.906, allocations: 16.78 MB / 1.706 GB, free: 15.95 MB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/1.906, allocations: 31.94 kB / 1.706 GB, free: 15.92 MB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.111e-05/1.906, allocations: 64.09 kB / 1.706 GB, free: 15.86 MB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001103/1.906, allocations: 104 kB / 1.706 GB, free: 15.76 MB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008988/1.915, allocations: 2.067 MB / 1.708 GB, free: 13.69 MB / 1.342 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001865/1.915, allocations: 135.6 kB / 1.708 GB, free: 13.55 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/1.927, allocations: 1.267 MB / 1.709 GB, free: 12.28 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002101/1.929, allocations: 483.8 kB / 1.71 GB, free: 11.81 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02053/1.95, allocations: 8.828 MB / 1.718 GB, free: 2.973 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01425/1.964, allocations: 8.422 MB / 1.726 GB, free: 9.562 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0228/1.987, allocations: 13.05 MB / 1.739 GB, free: 11.61 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.877e-05/1.987, allocations: 20 kB / 1.739 GB, free: 11.59 MB / 1.373 GB Notification: Performance of matching and sorting (n=1343) (initialization_lambda0): time 0.03579/2.023, allocations: 15.6 MB / 1.754 GB, free: 11.93 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/2.023, allocations: 33.56 kB / 1.755 GB, free: 11.9 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/2.023, allocations: 60 kB / 1.755 GB, free: 11.84 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001404/2.023, allocations: 100 kB / 1.755 GB, free: 11.74 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009229/2.033, allocations: 2.006 MB / 1.757 GB, free: 9.734 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000185/2.033, allocations: 135.6 kB / 1.757 GB, free: 9.602 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/2.045, allocations: 1.013 MB / 1.758 GB, free: 8.586 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001632/2.046, allocations: 458.9 kB / 1.758 GB, free: 8.141 MB / 1.389 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 282 * 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 (956): * Single equations (assignments): 930 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002332/2.049, allocations: 0.5915 MB / 1.759 GB, free: 7.539 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00426/2.053, allocations: 1.28 MB / 1.76 GB, free: 6.242 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4783/2.531, allocations: 7.056 MB / 1.767 GB, free: 0.5191 GB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.972e-05/2.531, allocations: 39.23 kB / 1.767 GB, free: 0.5191 GB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/2.532, allocations: 0 / 1.767 GB, free: 0.5191 GB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.056e-05/2.532, allocations: 16.17 kB / 1.767 GB, free: 0.5191 GB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04052/2.572, allocations: 15.23 MB / 1.782 GB, free: 0.5179 GB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/2.572, allocations: 2.25 kB / 1.782 GB, free: 0.5179 GB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005368/2.578, allocations: 0.8752 MB / 1.783 GB, free: 0.5179 GB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.082e-05/2.578, allocations: 12.97 kB / 1.783 GB, free: 0.5179 GB / 1.389 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003979/2.578, allocations: 119.5 kB / 1.783 GB, free: 0.5178 GB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.357e-05/2.578, allocations: 15.89 kB / 1.783 GB, free: 0.5178 GB / 1.389 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/2.578, allocations: 0.7812 kB / 1.783 GB, free: 0.5178 GB / 1.389 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02767/2.606, allocations: 9.679 MB / 1.792 GB, free: 0.515 GB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006454/2.612, allocations: 2.247 MB / 1.794 GB, free: 0.5143 GB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004625/2.617, allocations: 62.44 kB / 1.795 GB, free: 0.5143 GB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009614/2.626, allocations: 457.4 kB / 1.795 GB, free: 0.5143 GB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007306/2.627, allocations: 198 kB / 1.795 GB, free: 0.5142 GB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007748/2.628, allocations: 170.7 kB / 1.795 GB, free: 0.5142 GB / 1.389 GB Notification: Performance of sorting global known variables: time 0.02513/2.653, allocations: 13.93 MB / 1.809 GB, free: 0.5093 GB / 1.389 GB Notification: Performance of sort global known variables: time 8.91e-07/2.653, allocations: 0 / 1.809 GB, free: 0.5093 GB / 1.389 GB Notification: Performance of remove unused functions: time 0.01874/2.672, allocations: 5.498 MB / 1.814 GB, free: 0.5087 GB / 1.389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.s[1],pump1.filter.s[2],pump2.filter.s[1],pump2.filter.s[2],pump3.filter.s[1],pump3.filter.s[2],pump4.filter.s[1],pump4.filter.s[2],pump5.filter.s[1],pump5.filter.s[2],forcedPump1.filter.s[1],forcedPump1.filter.s[2],forcedPump2.filter.s[1],forcedPump2.filter.s[2],forcedPump3.filter.s[1],forcedPump3.filter.s[2],forcedPump4.filter.s[1],forcedPump4.filter.s[2],forcedPump5.filter.s[1],forcedPump5.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 (314): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02731/2.699, allocations: 11.39 MB / 1.825 GB, free: 0.5047 GB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.03906/2.738, allocations: 18.84 MB / 1.844 GB, free: 0.4981 GB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/2.738, allocations: 3.938 kB / 1.844 GB, free: 0.4981 GB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.006793/2.745, allocations: 2.683 MB / 1.846 GB, free: 0.4958 GB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02781/2.773, allocations: 6.846 MB / 1.853 GB, free: 0.4897 GB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2432/3.016, allocations: 198.3 MB / 2.047 GB, free: 292.6 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009556/3.026, allocations: 6.74 MB / 2.053 GB, free: 285.8 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.01892/3.045, allocations: 3.836 MB / 2.057 GB, free: 282 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01112/3.056, allocations: 6.599 MB / 2.064 GB, free: 275.4 MB / 1.389 GB Notification: Performance of SimCode: time 1.102e-06/3.056, allocations: 0 / 2.064 GB, free: 275.4 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.343/4.399, allocations: 362 MB / 2.417 GB, free: 486 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/24.09, allocations: 16.45 kB / 2.417 GB, free: 486 MB / 1.389 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.4 Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_y_stratos.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_y_stratos.pipe 2>&1)