Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.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.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example8,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8",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.631/1.631, allocations: 288.4 MB / 303.3 MB, free: 8.18 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.0009297/0.0009294, allocations: 189.3 kB / 372 MB, free: 10.3 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.369/1.369, allocations: 205.4 MB / 0.6307 GB, free: 9.938 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.0007501/0.00075, allocations: 94.3 kB / 0.744 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 11.88 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1964, allocations: 115.3 MB / 0.9796 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.0005643/0.197, allocations: 258.3 kB / 0.9799 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.1971, allocations: 11.98 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.007e-05/0.1971, allocations: 0 / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-06/0.1972, allocations: 0 / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.1973, allocations: 4 kB / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.086e-06/0.1973, allocations: 0 / 0.9799 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.601e-05/0.1973, allocations: 7.938 kB / 0.9799 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.1974, allocations: 4 kB / 0.9799 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.1974, allocations: 0 / 0.9799 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/0.1974, allocations: 3.984 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.1975, allocations: 4 kB / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.259e-06/0.1975, allocations: 0 / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.25e-06/0.1975, allocations: 0 / 0.9799 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.209e-05/0.1975, allocations: 25.7 kB / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 2.577e-05/0.1975, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1975, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1975, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.1976, allocations: 0 / 0.9799 GB, free: 27.29 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001782/0.1977, allocations: 323.4 kB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1978, allocations: 12.02 kB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.538e-05/0.1978, allocations: 30.56 kB / 0.9803 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.003e-05/0.1978, allocations: 7.938 kB / 0.9803 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.068e-05/0.1979, allocations: 163 kB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1979, allocations: 4 kB / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.1979, allocations: 0 / 0.9805 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.458e-05/0.198, allocations: 47.41 kB / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.198, allocations: 0 / 0.9805 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.198, allocations: 3.938 kB / 0.9805 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1981, allocations: 0 / 0.9805 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.165e-05/0.1981, allocations: 7.938 kB / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.63e-05/0.1982, allocations: 158.5 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.074e-05/0.1982, allocations: 49.14 kB / 0.9807 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.692e-05/0.1983, allocations: 13.84 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.1983, allocations: 0 / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.1983, allocations: 30.56 kB / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.1983, allocations: 0 / 0.9807 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001212/0.1984, allocations: 49.62 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.1985, allocations: 81.36 kB / 0.9809 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.517e-05/0.1985, allocations: 89.86 kB / 0.981 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.142e-06/0.1985, allocations: 25.7 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.038e-05/0.1985, allocations: 80.14 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.1986, allocations: 8.125 kB / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.1986, allocations: 0 / 0.9811 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.431e-05/0.1986, allocations: 322.8 kB / 0.9814 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.1986, allocations: 3.984 kB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.1986, allocations: 17.72 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.1987, allocations: 3.938 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1987, allocations: 0 / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.844e-05/0.1987, allocations: 45.66 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1988, allocations: 4 kB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1988, allocations: 0 / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1988, allocations: 3.984 kB / 0.9815 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.1989, allocations: 4 kB / 0.9815 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1989, allocations: 8.062 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.1989, allocations: 0 / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1989, allocations: 4 kB / 0.9815 GB, free: 25.46 MB / 0.6198 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 () * Number of clocked 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 4.418e-05/0.199, allocations: 105.8 kB / 0.9816 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.199, allocations: 11.8 kB / 0.9816 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.061e-05/0.1991, allocations: 52.75 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1991, allocations: 0 / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1991, allocations: 4.062 kB / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1991, allocations: 0 / 0.9816 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.214e-05/0.1992, allocations: 153.7 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1992, allocations: 0 / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.1992, allocations: 8 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1992, allocations: 3.953 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1992, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1992, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1992, allocations: 0 / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.777e-05/0.1993, allocations: 81.86 kB / 0.9819 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.1993, allocations: 77.11 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.1993, allocations: 3.953 kB / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.503e-05/0.1994, allocations: 0 / 0.9819 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.1994, allocations: 7.984 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.1994, allocations: 0 / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.034e-05/0.1994, allocations: 75.28 kB / 0.982 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/0.1994, allocations: 4.031 kB / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001879/0.1996, allocations: 0 / 0.982 GB, free: 24.78 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 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.0002099/0.1998, allocations: 0.5997 MB / 0.9826 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.835e-05/0.1999, allocations: 15.97 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1999, allocations: 0 / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.266e-06/0.1999, allocations: 4 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2001, allocations: 9.516 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002489/0.2003, allocations: 117.1 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.562e-05/0.2004, allocations: 0.6731 MB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.2004, allocations: 4.25 kB / 0.9834 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/0.2005, allocations: 15.38 kB / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2005, allocations: 0 / 0.9834 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009728/0.2102, allocations: 0.7519 MB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001179/0.2103, allocations: 188.1 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.793, allocations: 0 / 0.9843 GB, free: 22.39 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_Example8.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1)