Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example5,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 192.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.665/1.665, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 69.92 kB / 0.6709 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.168, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example5): time 0.001485/0.1695, allocations: 0.5987 MB / 0.7834 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.1697, allocations: 43.86 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.1697, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.1698, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1699, allocations: 7.938 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.194e-05/0.1699, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.671e-05/0.17, allocations: 8 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.17, allocations: 7.984 kB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.17, allocations: 3.938 kB / 0.7834 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.1701, allocations: 4 kB / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.1701, allocations: 0 / 0.7834 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-06/0.1701, allocations: 8 kB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1702, allocations: 7.969 kB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.499e-05/0.1702, allocations: 11.94 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.56e-05/0.1702, allocations: 0 / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1702, allocations: 3.984 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.12e-07/0.1703, allocations: 4 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.1703, allocations: 0 / 0.7835 GB, free: 13.21 MB / 0.6075 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.0003321/0.1706, allocations: 323.8 kB / 0.7838 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1706, allocations: 12.03 kB / 0.7838 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.74e-05/0.1707, allocations: 42.62 kB / 0.7838 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.762e-05/0.1707, allocations: 0.9375 kB / 0.7838 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1708, allocations: 180.2 kB / 0.784 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.1709, allocations: 384 / 0.784 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.1709, allocations: 4.375 kB / 0.784 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.716e-05/0.1709, allocations: 30.25 kB / 0.784 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1709, allocations: 3.938 kB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.171, allocations: 4 kB / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.171, allocations: 0 / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.393e-05/0.171, allocations: 0 / 0.7841 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.1711, allocations: 157.7 kB / 0.7842 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.1712, allocations: 26.53 kB / 0.7842 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.1712, allocations: 12.91 kB / 0.7842 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1712, allocations: 0 / 0.7842 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1712, allocations: 34.56 kB / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1712, allocations: 0 / 0.7843 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.1713, allocations: 53.56 kB / 0.7843 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.1714, allocations: 51.41 kB / 0.7844 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.1715, allocations: 109.8 kB / 0.7845 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.1715, allocations: 25.7 kB / 0.7845 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.1715, allocations: 88.14 kB / 0.7846 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1715, allocations: 3.906 kB / 0.7846 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1716, allocations: 13.72 kB / 0.7846 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/0.1717, allocations: 322.8 kB / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.301e-05/0.1717, allocations: 4.125 kB / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.1717, allocations: 13.72 kB / 0.7849 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.16e-05/0.1718, allocations: 21.7 kB / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1718, allocations: 0 / 0.785 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.772e-05/0.1718, allocations: 49.62 kB / 0.785 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.1719, allocations: 12.06 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1719, allocations: 4 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.1719, allocations: 0 / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.1719, allocations: 4 kB / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.1719, allocations: 0 / 0.785 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.172, allocations: 4.234 kB / 0.785 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.172, allocations: 11.94 kB / 0.785 GB, free: 11.37 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.525e-05/0.1721, allocations: 110.4 kB / 0.7851 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.1721, allocations: 7.938 kB / 0.7851 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.648e-05/0.1722, allocations: 48.81 kB / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1722, allocations: 0 / 0.7852 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1722, allocations: 3.984 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1722, allocations: 4 kB / 0.7852 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.065e-05/0.1723, allocations: 153.7 kB / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1723, allocations: 0 / 0.7853 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.1723, allocations: 4 kB / 0.7854 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1723, allocations: 3.938 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.1724, allocations: 0 / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1724, allocations: 0 / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1724, allocations: 4.031 kB / 0.7854 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.1725, allocations: 88.98 kB / 0.7854 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.326e-05/0.1725, allocations: 77.11 kB / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1725, allocations: 3.938 kB / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.115e-05/0.1726, allocations: 0 / 0.7855 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.208e-05/0.1726, allocations: 4 kB / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1726, allocations: 0 / 0.7855 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.1726, allocations: 91.36 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 4 kB / 0.7856 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001778/0.1728, allocations: 0 / 0.7856 GB, free: 10.67 MB / 0.6075 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003071/0.1731, allocations: 0.6162 MB / 0.7862 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.258e-05/0.1732, allocations: 20.08 kB / 0.7862 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1732, allocations: 0 / 0.7862 GB, free: 10 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.1732, allocations: 4 kB / 0.7862 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1734, allocations: 2.672 kB / 0.7862 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.1742, allocations: 1.153 MB / 0.7874 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.1744, allocations: 0.677 MB / 0.788 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.499e-05/0.1744, allocations: 8 kB / 0.788 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.1744, allocations: 11.44 kB / 0.7881 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.1744, allocations: 0 / 0.7881 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.325/0.4995, allocations: 1.057 MB / 0.7891 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.4997, allocations: 192.6 kB / 0.7893 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.278, allocations: 0 / 0.7893 GB, free: 6.801 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example5.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example5.pipe 2>&1)