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 2.734/2.734, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.002596/0.002596, allocations: 189.8 kB / 370.8 MB, free: 10.85 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.117/2.117, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001172/0.001172, allocations: 96.84 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004889, allocations: 11.22 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.06355/0.282, allocations: 42.72 MB / 1.02 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.03723/0.3192, allocations: 16.67 MB / 1.036 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002862/0.3222, allocations: 59.56 kB / 1.036 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/0.3268, allocations: 0.933 MB / 1.037 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.3375, allocations: 2.343 MB / 1.04 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01416/0.3517, allocations: 3.017 MB / 1.042 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007411/0.3591, allocations: 2.697 MB / 1.045 GB, free: 7.734 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002998/0.3622, allocations: 1.264 MB / 1.046 GB, free: 6.441 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004302/0.3665, allocations: 1.331 MB / 1.048 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.369, allocations: 0.8788 MB / 1.049 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004574/0.3695, allocations: 68 kB / 1.049 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00463/0.3742, allocations: 1.209 MB / 1.05 GB, free: 2.945 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001155/0.3754, allocations: 450.4 kB / 1.05 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008788/0.3763, allocations: 408.6 kB / 1.051 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00572/0.382, allocations: 2.568 MB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3821, allocations: 0 / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3821, allocations: 4 kB / 1.053 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.619e-05/0.3822, allocations: 0 / 1.053 GB, free: 15.52 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.006218/0.3884, allocations: 2.116 MB / 1.055 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3885, allocations: 8.031 kB / 1.055 GB, free: 13.34 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004834/0.389, allocations: 148.2 kB / 1.055 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005739/0.3947, allocations: 0.618 MB / 1.056 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007404/0.4022, allocations: 1.821 MB / 1.058 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.4024, allocations: 82 kB / 1.058 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004203/0.4028, allocations: 111.9 kB / 1.058 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004065/0.4069, allocations: 1.259 MB / 1.059 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.407, allocations: 0 / 1.059 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.4072, allocations: 47.98 kB / 1.059 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.462e-05/0.4072, allocations: 24 kB / 1.059 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004039/0.4113, allocations: 0.929 MB / 1.06 GB, free: 8.191 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.01333/0.4246, allocations: 5.687 MB / 1.066 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004081/0.4288, allocations: 0.823 MB / 1.066 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6217/1.051, allocations: 2.161 MB / 1.069 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/1.051, allocations: 44.25 kB / 1.069 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001027/1.052, allocations: 116.7 kB / 1.069 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=58): time 5.049e-06/1.052, allocations: 2.188 kB / 1.069 GB, free: 88.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58): time 0.007123/1.059, allocations: 1.264 MB / 1.07 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.059, allocations: 213.6 kB / 1.07 GB, free: 87.55 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/1.063, allocations: 1.532 MB / 1.072 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002972/1.063, allocations: 42.36 kB / 1.072 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009986/1.064, allocations: 0.8125 MB / 1.072 GB, free: 86.41 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/1.065, allocations: 206 kB / 1.073 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.543e-05/1.065, allocations: 21.66 kB / 1.073 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.065, allocations: 339.3 kB / 1.073 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001718/1.067, allocations: 380.1 kB / 1.073 GB, free: 85.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/1.069, allocations: 0.7097 MB / 1.074 GB, free: 85.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/1.071, allocations: 457.4 kB / 1.074 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.071, allocations: 3.656 kB / 1.074 GB, free: 85.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005224/1.076, allocations: 1.269 MB / 1.076 GB, free: 84.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007295/1.077, allocations: 3.352 MB / 1.079 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-05/1.077, allocations: 12.58 kB / 1.079 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/1.077, allocations: 95.17 kB / 1.079 GB, free: 81.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/1.08, allocations: 226.3 kB / 1.079 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000884/1.08, allocations: 0.6643 MB / 1.08 GB, free: 80.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002125/1.083, allocations: 93.66 kB / 1.08 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000372/1.083, allocations: 62.52 kB / 1.08 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/1.083, allocations: 4.125 kB / 1.08 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004906/1.088, allocations: 1.168 MB / 1.081 GB, free: 80.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.394e-05/1.088, allocations: 11.22 kB / 1.081 GB, free: 80.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/1.09, allocations: 213.4 kB / 1.081 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/1.092, allocations: 217 kB / 1.082 GB, free: 80 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/1.102, allocations: 3.361 MB / 1.085 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.104, allocations: 82.89 kB / 1.085 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002458/1.104, allocations: 57.75 kB / 1.085 GB, free: 77.77 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.001451/1.105, allocations: 0.495 MB / 1.086 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/1.106, allocations: 166 kB / 1.086 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005232/1.111, allocations: 1.228 MB / 1.087 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.111, allocations: 8.281 kB / 1.087 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.111, allocations: 1.156 kB / 1.087 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.111, allocations: 3.281 kB / 1.087 GB, free: 76.88 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.008463/1.12, allocations: 2.486 MB / 1.089 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.12, allocations: 1.406 kB / 1.089 GB, free: 75.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.121, allocations: 136.4 kB / 1.09 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000624/1.122, allocations: 115.5 kB / 1.09 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.122, allocations: 25.94 kB / 1.09 GB, free: 75.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006619/1.123, allocations: 0.6514 MB / 1.09 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.123, allocations: 0.9688 kB / 1.09 GB, free: 75.05 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/1.129, allocations: 1.624 MB / 1.092 GB, free: 74.26 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.13, allocations: 335.2 kB / 1.092 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/1.131, allocations: 18.83 kB / 1.092 GB, free: 74.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.133, allocations: 79.16 kB / 1.092 GB, free: 74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/1.133, allocations: 48.78 kB / 1.092 GB, free: 73.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.133, allocations: 37.42 kB / 1.092 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002722/1.136, allocations: 1.03 MB / 1.093 GB, free: 73.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.92e-07/1.136, allocations: 0 / 1.093 GB, free: 73.59 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005081/1.141, allocations: 0.9645 MB / 1.094 GB, free: 73.43 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.008751/1.15, allocations: 2.918 MB / 1.097 GB, free: 71.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006805/1.156, allocations: 1.777 MB / 1.099 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/1.157, allocations: 7.844 kB / 1.099 GB, free: 71.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001812/1.158, allocations: 422.6 kB / 1.099 GB, free: 70.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00592/1.164, allocations: 0.7301 MB / 1.1 GB, free: 70.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/1.177, allocations: 9.819 MB / 1.11 GB, free: 62.66 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001732/1.179, allocations: 1.423 MB / 1.111 GB, free: 61.86 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003445/1.183, allocations: 433.9 kB / 1.111 GB, free: 61.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/1.184, allocations: 0.7106 MB / 1.112 GB, free: 61.22 MB / 0.6823 GB Notification: Performance of SimCode: time 1.252e-06/1.184, allocations: 5 kB / 1.112 GB, free: 61.21 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.316, allocations: 50.83 MB / 1.162 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/1.317, allocations: 245.9 kB / 1.162 GB, free: 21.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.778/6.095, allocations: 0 / 1.162 GB, free: 21.27 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)