Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.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.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5",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.474/1.474, allocations: 249.3 MB / 261.8 MB, free: 5.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 178.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.001159/0.001159, allocations: 94.47 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.97e-05, allocations: 0 / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 106.3 MB / 0.8919 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6176/0.7905, allocations: 130.8 MB / 1.02 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001975/0.7907, allocations: 63.72 kB / 1.02 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009771/0.7917, allocations: 487.3 kB / 1.02 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 8.72e-07/0.7918, allocations: 4 kB / 1.02 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.7918, allocations: 0 / 1.02 GB, free: 3.465 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002629/0.792, allocations: 318.6 kB / 1.02 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.7921, allocations: 12.03 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.7921, allocations: 34.56 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.7922, allocations: 3.984 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.7924, allocations: 178.1 kB / 1.021 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.7924, allocations: 0 / 1.021 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.7924, allocations: 0 / 1.021 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.98e-05/0.7925, allocations: 29.7 kB / 1.021 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.7925, allocations: 0 / 1.021 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.7925, allocations: 3.984 kB / 1.021 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7925, allocations: 0 / 1.021 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.482e-05/0.7926, allocations: 15.92 kB / 1.021 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.7927, allocations: 160.8 kB / 1.021 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.7928, allocations: 22.2 kB / 1.021 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.7928, allocations: 8.922 kB / 1.021 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.7928, allocations: 0 / 1.021 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7929, allocations: 31.06 kB / 1.021 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 2.014e-06/0.7929, allocations: 0 / 1.021 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.793, allocations: 52.27 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.793, allocations: 51.41 kB / 1.021 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.7931, allocations: 101.1 kB / 1.021 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.7931, allocations: 25.7 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.7932, allocations: 87.89 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.7932, allocations: 0 / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.7932, allocations: 0 / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.7933, allocations: 310.8 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.699e-05/0.7933, allocations: 15.64 kB / 1.022 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.7934, allocations: 13.72 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/0.7934, allocations: 7.953 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7934, allocations: 0 / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.786e-05/0.7935, allocations: 49.53 kB / 1.022 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7935, allocations: 8 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7935, allocations: 8.109 kB / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.7935, allocations: 0 / 1.022 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.7936, allocations: 9.875 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.7936, allocations: 0 / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.137e-05/0.7936, allocations: 0 / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.7936, allocations: 4 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.7937, allocations: 108.9 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-06/0.7937, allocations: 0 / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.7938, allocations: 64.25 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.7938, allocations: 0 / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.7938, allocations: 3.938 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.7938, allocations: 0 / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.7939, allocations: 157.1 kB / 1.022 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.794, allocations: 3.953 kB / 1.022 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.794, allocations: 4 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.794, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.794, allocations: 4 kB / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.794, allocations: 0 / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.794, allocations: 0 / 1.022 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001126/0.7942, allocations: 80.52 kB / 1.022 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.7942, allocations: 89 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7942, allocations: 0 / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.7943, allocations: 7.562 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.7943, allocations: 0 / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.7943, allocations: 7.984 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.02e-05/0.7943, allocations: 86.47 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7943, allocations: 4.094 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001729/0.7945, allocations: 4 kB / 1.022 GB, free: 1.051 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003816/0.7949, allocations: 0.6173 MB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.151e-05/0.795, allocations: 11.98 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.795, allocations: 4.219 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.795, allocations: 8 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.665e-05/0.7951, allocations: 4.594 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.7954, allocations: 116 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.7956, allocations: 0.6848 MB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.597e-05/0.7957, allocations: 7.938 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.7957, allocations: 7.438 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/0.7957, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009948/0.8056, allocations: 0.9858 MB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/0.8058, allocations: 158.5 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.268, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)