Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.076/3.076, allocations: 287.5 MB / 302.4 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001402, allocations: 190.6 kB / 371 MB, free: 10.86 MB / 298.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.6297 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009071/0.0009065, allocations: 86.34 kB / 0.743 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004919, allocations: 12.98 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.246, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0658/0.3118, allocations: 46.82 MB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0409/0.3528, allocations: 17.76 MB / 1.042 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003101/0.356, allocations: 63.56 kB / 1.042 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004026/0.36, allocations: 0.7609 MB / 1.042 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00911/0.3692, allocations: 1.932 MB / 1.044 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01188/0.3811, allocations: 2.616 MB / 1.047 GB, free: 6.16 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3912, allocations: 5.011 MB / 1.052 GB, free: 1.137 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.3946, allocations: 1.256 MB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005041/0.3997, allocations: 1.451 MB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.4034, allocations: 1.229 MB / 1.055 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006307/0.4041, allocations: 72 kB / 1.056 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005071/0.4092, allocations: 1.197 MB / 1.057 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.4106, allocations: 486.2 kB / 1.057 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000955/0.4115, allocations: 408.6 kB / 1.058 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.005913/0.4175, allocations: 2.599 MB / 1.06 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.4175, allocations: 0 / 1.06 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/0.4176, allocations: 0 / 1.06 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.773e-05/0.4177, allocations: 4 kB / 1.06 GB, free: 8.398 MB / 0.6823 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.00695/0.4246, allocations: 2.116 MB / 1.062 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.921e-05/0.4247, allocations: 12.03 kB / 1.062 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006335/0.4253, allocations: 156.2 kB / 1.062 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005891/0.4313, allocations: 0.6141 MB / 1.063 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007518/0.4388, allocations: 1.803 MB / 1.065 GB, free: 3.586 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/0.4391, allocations: 86 kB / 1.065 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005657/0.4397, allocations: 107.9 kB / 1.065 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0046/0.4443, allocations: 1.286 MB / 1.066 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.4444, allocations: 0 / 1.066 GB, free: 2.051 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001886/0.4446, allocations: 44 kB / 1.066 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.4446, allocations: 24 kB / 1.066 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004323/0.449, allocations: 0.9563 MB / 1.067 GB, free: 1.031 MB / 0.6823 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.6888/1.138, allocations: 5.679 MB / 1.073 GB, free: 85.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/1.142, allocations: 0.8404 MB / 1.074 GB, free: 85.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/1.144, allocations: 371.9 kB / 1.074 GB, free: 85.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005313/1.149, allocations: 2.186 MB / 1.076 GB, free: 83.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/1.149, allocations: 50.86 kB / 1.076 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009782/1.15, allocations: 119 kB / 1.076 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=58): time 4.027e-06/1.15, allocations: 0 / 1.076 GB, free: 83.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58): time 0.006908/1.157, allocations: 1.292 MB / 1.077 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/1.157, allocations: 217.8 kB / 1.078 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/1.161, allocations: 1.51 MB / 1.079 GB, free: 82.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003681/1.161, allocations: 43.39 kB / 1.079 GB, free: 82.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.162, allocations: 0.8123 MB / 1.08 GB, free: 81.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003353/1.163, allocations: 210.3 kB / 1.08 GB, free: 81.64 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/1.163, allocations: 19.84 kB / 1.08 GB, free: 81.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.163, allocations: 338.6 kB / 1.08 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001722/1.164, allocations: 388.7 kB / 1.081 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.166, allocations: 0.7278 MB / 1.082 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/1.169, allocations: 472.4 kB / 1.082 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/1.169, allocations: 5.25 kB / 1.082 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005349/1.174, allocations: 1.299 MB / 1.083 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002521/1.174, allocations: 340.1 kB / 1.084 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/1.174, allocations: 11.53 kB / 1.084 GB, free: 79.56 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/1.175, allocations: 95.77 kB / 1.084 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.177, allocations: 222.6 kB / 1.084 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008267/1.178, allocations: 0.658 MB / 1.085 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/1.18, allocations: 83.98 kB / 1.085 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/1.18, allocations: 66.41 kB / 1.085 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.181, allocations: 10.62 kB / 1.085 GB, free: 78.92 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005132/1.186, allocations: 1.188 MB / 1.086 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.576e-05/1.186, allocations: 12.19 kB / 1.086 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/1.188, allocations: 225.8 kB / 1.086 GB, free: 78.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/1.189, allocations: 208.2 kB / 1.086 GB, free: 78.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009342/1.199, allocations: 3.211 MB / 1.089 GB, free: 76.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00203/1.201, allocations: 84.45 kB / 1.09 GB, free: 76.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.201, allocations: 56.98 kB / 1.09 GB, free: 76.28 MB / 0.6823 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 (106): * Single equations (assignments): 99 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001469/1.203, allocations: 0.4973 MB / 1.09 GB, free: 75.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004669/1.203, allocations: 165.7 kB / 1.09 GB, free: 75.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005112/1.208, allocations: 1.236 MB / 1.091 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/1.208, allocations: 8.219 kB / 1.091 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.208, allocations: 1.828 kB / 1.091 GB, free: 75.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.208, allocations: 3.047 kB / 1.091 GB, free: 75.36 MB / 0.6823 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.008799/1.217, allocations: 2.421 MB / 1.094 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.217, allocations: 1.062 kB / 1.094 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.219, allocations: 130.2 kB / 1.094 GB, free: 74.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005747/1.219, allocations: 109.1 kB / 1.094 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.219, allocations: 22.02 kB / 1.094 GB, free: 74.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006153/1.22, allocations: 0.6432 MB / 1.095 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.22, allocations: 2.203 kB / 1.095 GB, free: 73.63 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006059/1.226, allocations: 1.615 MB / 1.096 GB, free: 72.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.227, allocations: 327.4 kB / 1.097 GB, free: 72.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000299/1.227, allocations: 14.5 kB / 1.097 GB, free: 72.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/1.229, allocations: 90.66 kB / 1.097 GB, free: 72.62 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.229, allocations: 49.88 kB / 1.097 GB, free: 72.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/1.229, allocations: 37.2 kB / 1.097 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002572/1.232, allocations: 1.013 MB / 1.098 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/1.232, allocations: 0 / 1.098 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005021/1.237, allocations: 0.9436 MB / 1.099 GB, free: 72.05 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 (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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007897/1.245, allocations: 2.594 MB / 1.101 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007136/1.252, allocations: 1.812 MB / 1.103 GB, free: 69.99 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/1.252, allocations: 4.969 kB / 1.103 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001838/1.254, allocations: 439.8 kB / 1.103 GB, free: 69.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006376/1.26, allocations: 0.7457 MB / 1.104 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/1.298, allocations: 10.52 MB / 1.114 GB, free: 63.89 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/1.299, allocations: 1.384 MB / 1.116 GB, free: 62.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003287/1.303, allocations: 428.1 kB / 1.116 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.304, allocations: 0.6978 MB / 1.117 GB, free: 62.05 MB / 0.6823 GB Notification: Performance of SimCode: time 1.392e-06/1.304, allocations: 0 / 1.117 GB, free: 62.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1533/1.457, allocations: 51.35 MB / 1.167 GB, free: 16.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002593/1.458, allocations: 253.8 kB / 1.167 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.884/6.342, allocations: 0 / 1.167 GB, free: 15.79 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_8.0.0_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1)