Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 182.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.346/2.346, allocations: 205.4 MB / 0.578 GB, free: 20.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008334/0.0008333, allocations: 88.59 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004983/0.0004986, allocations: 9.344 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.285, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05469/0.3397, allocations: 49.53 MB / 0.9493 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03337/0.3732, allocations: 19.04 MB / 0.9679 GB, free: 10.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003917/0.3771, allocations: 71.5 kB / 0.9679 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003646/0.3808, allocations: 0.9717 MB / 0.9689 GB, free: 9.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008005/0.3889, allocations: 2.224 MB / 0.9711 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009495/0.3984, allocations: 2.996 MB / 0.974 GB, free: 4.348 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.009902/0.4083, allocations: 5.88 MB / 0.9797 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003166/0.4115, allocations: 1.393 MB / 0.9811 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.4154, allocations: 1.493 MB / 0.9826 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002759/0.4182, allocations: 1.318 MB / 0.9838 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003187/0.4186, allocations: 68 kB / 0.9839 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00421/0.4228, allocations: 1.489 MB / 0.9854 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008264/0.4236, allocations: 0.498 MB / 0.9858 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001497/0.4251, allocations: 0.93 MB / 0.9868 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005714/0.4309, allocations: 3.368 MB / 0.99 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4309, allocations: 0 / 0.99 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4309, allocations: 0 / 0.99 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.933e-05/0.431, allocations: 0 / 0.99 GB, free: 3.816 MB / 0.6355 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.004223/0.4352, allocations: 2.089 MB / 0.9921 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.4353, allocations: 12.03 kB / 0.9921 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.4355, allocations: 152.4 kB / 0.9922 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003267/0.4388, allocations: 0.615 MB / 0.9928 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.4435, allocations: 1.879 MB / 0.9947 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.803e-05/0.4436, allocations: 86 kB / 0.9948 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.4439, allocations: 108 kB / 0.9949 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.4466, allocations: 1.29 MB / 0.9961 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.4466, allocations: 4 kB / 0.9961 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.4468, allocations: 44 kB / 0.9962 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.4468, allocations: 24 kB / 0.9962 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.4492, allocations: 0.9602 MB / 0.9971 GB, free: 12.38 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.008862/0.4581, allocations: 5.695 MB / 1.003 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.4605, allocations: 0.8542 MB / 1.004 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.4615, allocations: 370.3 kB / 1.004 GB, free: 5.066 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00401/0.4655, allocations: 2.181 MB / 1.006 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4656, allocations: 39.12 kB / 1.006 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007038/0.4663, allocations: 115.2 kB / 1.006 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/0.4663, allocations: 0 / 1.006 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.004424/0.4707, allocations: 1.299 MB / 1.007 GB, free: 1.188 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.4709, allocations: 222.2 kB / 1.008 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003139/0.474, allocations: 1.526 MB / 1.009 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.4742, allocations: 41.7 kB / 1.009 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009357/0.4751, allocations: 0.807 MB / 1.01 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.4755, allocations: 205 kB / 1.01 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.4755, allocations: 16 kB / 1.01 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.4757, allocations: 346 kB / 1.01 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.4771, allocations: 457.7 kB / 1.011 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.4787, allocations: 0.7989 MB / 1.012 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.4816, allocations: 1.176 MB / 1.013 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/0.4817, allocations: 4 kB / 1.013 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003868/0.4856, allocations: 1.464 MB / 1.014 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.4859, allocations: 338.1 kB / 1.015 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/0.486, allocations: 15.98 kB / 1.015 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.4866, allocations: 152.7 kB / 1.015 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4876, allocations: 211.7 kB / 1.015 GB, free: 8.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008574/0.4885, allocations: 0.6732 MB / 1.016 GB, free: 8.281 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.49, allocations: 79.91 kB / 1.016 GB, free: 8.203 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.4901, allocations: 63.95 kB / 1.016 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4902, allocations: 4 kB / 1.016 GB, free: 8.137 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003092/0.4933, allocations: 1.191 MB / 1.017 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.503e-05/0.4933, allocations: 12.06 kB / 1.017 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/0.4943, allocations: 213 kB / 1.017 GB, free: 6.719 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.4951, allocations: 211.6 kB / 1.017 GB, free: 6.512 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006653/0.5018, allocations: 3.216 MB / 1.02 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.5033, allocations: 87.84 kB / 1.021 GB, free: 3.004 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.5036, allocations: 63.97 kB / 1.021 GB, free: 2.941 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 (104): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001337/0.5049, allocations: 493.4 kB / 1.021 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005057/0.5055, allocations: 161.9 kB / 1.021 GB, free: 2.289 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/0.5089, allocations: 1.24 MB / 1.022 GB, free: 1.035 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.5089, allocations: 8 kB / 1.022 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.509, allocations: 0 / 1.022 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.509, allocations: 7.922 kB / 1.022 GB, free: 1.02 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.005829/0.5148, allocations: 2.418 MB / 1.025 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.5148, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.5156, allocations: 128 kB / 1.025 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.516, allocations: 112.6 kB / 1.025 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.5161, allocations: 27.97 kB / 1.025 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005663/0.5167, allocations: 0.6382 MB / 1.026 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.5167, allocations: 4.062 kB / 1.026 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003897/0.5206, allocations: 1.627 MB / 1.027 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/0.5214, allocations: 326.8 kB / 1.028 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.5218, allocations: 16 kB / 1.028 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.5229, allocations: 79.83 kB / 1.028 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5231, allocations: 56.38 kB / 1.028 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.611e-05/0.5232, allocations: 35.97 kB / 1.028 GB, free: 11.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002118/0.5253, allocations: 1.029 MB / 1.029 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5253, allocations: 0 / 1.029 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003706/0.529, allocations: 0.9161 MB / 1.03 GB, free: 9.465 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (65): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005715/0.5348, allocations: 2.616 MB / 1.032 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004316/0.5391, allocations: 1.867 MB / 1.034 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.5391, allocations: 0 / 1.034 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.5402, allocations: 444.7 kB / 1.035 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/0.5449, allocations: 0.7409 MB / 1.035 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0348/0.5797, allocations: 13.97 MB / 1.049 GB, free: 4.988 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.5812, allocations: 1.38 MB / 1.05 GB, free: 3.582 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002157/0.5834, allocations: 429.7 kB / 1.051 GB, free: 3.156 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001168/0.5846, allocations: 0.6906 MB / 1.051 GB, free: 2.465 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/0.5846, allocations: 0 / 1.051 GB, free: 2.465 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5167/1.101, allocations: 48.13 MB / 1.098 GB, free: 119.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.101, allocations: 280.4 kB / 1.099 GB, free: 119.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.346/5.447, allocations: 0 / 1.099 GB, free: 119.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)