Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 288.4 MB / 303.6 MB, free: 8.098 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.001239/0.001239, allocations: 178.6 kB / 372.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 0.631 GB, free: 9.891 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.0008039/0.0008039, allocations: 90.36 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 13.03 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2062, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.01992/0.2262, allocations: 27.27 MB / 1.007 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.2434, allocations: 11.75 MB / 1.018 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.2451, allocations: 35.75 kB / 1.018 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.2472, allocations: 0.5284 MB / 1.019 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003921/0.2511, allocations: 1.254 MB / 1.02 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.2545, allocations: 1.066 MB / 1.021 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005649/0.2601, allocations: 4.322 MB / 1.025 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.2622, allocations: 1.103 MB / 1.026 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.2652, allocations: 1.222 MB / 1.028 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001993/0.2672, allocations: 0.9918 MB / 1.029 GB, free: 9.566 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003228/0.2676, allocations: 52 kB / 1.029 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.2701, allocations: 1.026 MB / 1.03 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005502/0.2706, allocations: 318.7 kB / 1.03 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001286/0.2719, allocations: 0.6975 MB / 1.031 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.2747, allocations: 1.831 MB / 1.032 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.2748, allocations: 4 kB / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.525e-06/0.2748, allocations: 0 / 1.032 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.461e-05/0.2748, allocations: 0 / 1.032 GB, free: 5.629 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00343/0.2783, allocations: 1.697 MB / 1.034 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.2783, allocations: 8.031 kB / 1.034 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/0.2786, allocations: 126.8 kB / 1.034 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.2798, allocations: 266.8 kB / 1.034 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.2824, allocations: 1.316 MB / 1.036 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.2825, allocations: 66 kB / 1.036 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.2826, allocations: 91.94 kB / 1.036 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.2845, allocations: 1.019 MB / 1.037 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.2846, allocations: 8 kB / 1.037 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/0.2846, allocations: 32 kB / 1.037 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.2847, allocations: 16 kB / 1.037 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.2863, allocations: 0.7844 MB / 1.038 GB, free: 36 kB / 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.006789/0.2931, allocations: 5.145 MB / 1.043 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.2946, allocations: 0.6442 MB / 1.043 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007572/0.2953, allocations: 353.3 kB / 1.044 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002696/0.2981, allocations: 1.689 MB / 1.045 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000811/0.2989, allocations: 379 kB / 1.046 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005947/0.2995, allocations: 99.47 kB / 1.046 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=44): time 4.368e-06/0.2995, allocations: 0 / 1.046 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44): time 0.003916/0.3035, allocations: 1.379 MB / 1.047 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.3035, allocations: 55.41 kB / 1.047 GB, free: 5.738 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.3054, allocations: 1.313 MB / 1.048 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.3056, allocations: 45.64 kB / 1.048 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/0.3061, allocations: 0.6411 MB / 1.049 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3063, allocations: 153.8 kB / 1.049 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.3064, allocations: 12 kB / 1.049 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3065, allocations: 337.9 kB / 1.05 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.3072, allocations: 273.8 kB / 1.05 GB, free: 2.941 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/0.3081, allocations: 0.6169 MB / 1.05 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.3095, allocations: 0.834 MB / 1.051 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.3095, allocations: 4 kB / 1.051 GB, free: 1.215 MB / 0.6667 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002705/0.3122, allocations: 1.141 MB / 1.052 GB, free: 56 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002742/0.3125, allocations: 351 kB / 1.053 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.3125, allocations: 12 kB / 1.053 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008057/0.3134, allocations: 224.6 kB / 1.053 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.314, allocations: 155.7 kB / 1.053 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009375/0.3149, allocations: 0.8604 MB / 1.054 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3161, allocations: 100.5 kB / 1.054 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/0.3162, allocations: 39.98 kB / 1.054 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3162, allocations: 4 kB / 1.054 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001634/0.3178, allocations: 0.8677 MB / 1.055 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.3179, allocations: 12.19 kB / 1.055 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.3182, allocations: 140.7 kB / 1.055 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004709/0.3187, allocations: 139.8 kB / 1.055 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.3212, allocations: 2.341 MB / 1.057 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.3224, allocations: 80.77 kB / 1.058 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.3225, allocations: 40 kB / 1.058 GB, free: 10.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008296/0.3234, allocations: 478.3 kB / 1.058 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.3236, allocations: 130.4 kB / 1.058 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.3257, allocations: 0.9505 MB / 1.059 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.3257, allocations: 4 kB / 1.059 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3257, allocations: 112 / 1.059 GB, free: 8.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/0.3272, allocations: 0.9544 MB / 1.06 GB, free: 7.812 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.003751/0.331, allocations: 1.986 MB / 1.062 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.331, allocations: 0 / 1.062 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.3315, allocations: 95.92 kB / 1.062 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/0.3318, allocations: 144.7 kB / 1.062 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.3319, allocations: 11.98 kB / 1.062 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007181/0.3326, allocations: 0.8224 MB / 1.063 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3326, allocations: 3.938 kB / 1.063 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002524/0.3351, allocations: 1.299 MB / 1.064 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/0.3358, allocations: 283.4 kB / 1.065 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.336, allocations: 15.98 kB / 1.065 GB, free: 3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007276/0.3367, allocations: 87.83 kB / 1.065 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.3368, allocations: 32.39 kB / 1.065 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.3369, allocations: 27.97 kB / 1.065 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001308/0.3382, allocations: 0.901 MB / 1.066 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.754e-06/0.3382, allocations: 0 / 1.066 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002095/0.3403, allocations: 0.6862 MB / 1.066 GB, free: 1.266 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.4459/0.7862, allocations: 2.035 MB / 1.068 GB, free: 87.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003717/0.7899, allocations: 1.424 MB / 1.07 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.79, allocations: 0 / 1.07 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.791, allocations: 364.7 kB / 1.07 GB, free: 87.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/0.7945, allocations: 0.5788 MB / 1.071 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02136/0.8159, allocations: 8.305 MB / 1.079 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/0.8175, allocations: 1.27 MB / 1.08 GB, free: 82.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001856/0.8193, allocations: 296.9 kB / 1.08 GB, free: 82.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/0.8203, allocations: 0.4897 MB / 1.081 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.192e-06/0.8203, allocations: 4 kB / 1.081 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.018/1.838, allocations: 38.01 MB / 1.118 GB, free: 65.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.838, allocations: 255.2 kB / 1.118 GB, free: 65.22 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.244/5.083, allocations: 4 kB / 1.118 GB, free: 65.21 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)