Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.298/1.298, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009189/0.0009189, allocations: 176 kB / 327 MB, free: 2.109 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007468/0.0007468, allocations: 86.36 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.000343, allocations: 9.625 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001305/0.188, allocations: 1.149 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004973/0.1885, allocations: 435.5 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.1885, allocations: 4 kB / 0.9025 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/0.1886, allocations: 3.938 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.17e-05/0.1886, allocations: 3.984 kB / 0.9025 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.1887, allocations: 8 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.1888, allocations: 23.92 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.1889, allocations: 4 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.981e-05/0.189, allocations: 23.86 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.189, allocations: 11.98 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1891, allocations: 3.938 kB / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.1891, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.1891, allocations: 0 / 0.9025 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.1891, allocations: 37.62 kB / 0.9026 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 5.666e-05/0.1892, allocations: 19.92 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1892, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.92e-05/0.1892, allocations: 3.984 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.335e-06/0.1892, allocations: 0 / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002852/0.1895, allocations: 331.8 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1896, allocations: 12.03 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.294e-05/0.1896, allocations: 30.75 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.086e-05/0.1896, allocations: 4.844 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.261e-05/0.1897, allocations: 164.4 kB / 0.9031 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1897, allocations: 4.375 kB / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.1897, allocations: 384 / 0.9031 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1898, allocations: 57.73 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1899, allocations: 4 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1899, allocations: 0 / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1899, allocations: 3.984 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.19, allocations: 19.98 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002355/0.1902, allocations: 256.9 kB / 0.9035 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.108e-05/0.1903, allocations: 34.56 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.1903, allocations: 20.86 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1904, allocations: 4 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.1904, allocations: 38.48 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.051e-06/0.1904, allocations: 0 / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0002044/0.1906, allocations: 65.59 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.1906, allocations: 51.41 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.1907, allocations: 110 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.1907, allocations: 25.7 kB / 0.9038 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.658e-05/0.1907, allocations: 84.14 kB / 0.9039 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.1908, allocations: 7.906 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.1908, allocations: 0 / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/0.1908, allocations: 322.8 kB / 0.9042 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.88e-05/0.1909, allocations: 11.94 kB / 0.9042 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.17e-05/0.1909, allocations: 15.98 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.07e-05/0.191, allocations: 32.78 kB / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.191, allocations: 0 / 0.9042 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.992e-05/0.1911, allocations: 53.69 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1911, allocations: 8.094 kB / 0.9043 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1911, allocations: 4 kB / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1911, allocations: 0 / 0.9043 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.838e-05/0.1912, allocations: 7.984 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1912, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.175e-05/0.1913, allocations: 7.938 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1913, allocations: 0 / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 4.394e-05/0.1913, allocations: 113.8 kB / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1913, allocations: 0 / 0.9044 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.1914, allocations: 11.78 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.1914, allocations: 0 / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1914, allocations: 4 kB / 0.9044 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1914, allocations: 7.984 kB / 0.9045 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.1915, allocations: 165.5 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1915, allocations: 0 / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.1916, allocations: 4 kB / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1916, allocations: 0 / 0.9046 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1916, allocations: 3.984 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1916, allocations: 4 kB / 0.9046 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1916, allocations: 4 kB / 0.9046 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.1917, allocations: 151.5 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.47e-05/0.1917, allocations: 77.11 kB / 0.9048 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1917, allocations: 3.938 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.1918, allocations: 7.984 kB / 0.9049 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.1918, allocations: 4.031 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1919, allocations: 0 / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.1919, allocations: 83.28 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1919, allocations: 3.938 kB / 0.9049 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002072/0.1921, allocations: 8 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0002485/0.1924, allocations: 0.685 MB / 0.9056 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1925, allocations: 27.92 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1925, allocations: 0 / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.113e-05/0.1925, allocations: 24.08 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.1927, allocations: 5.484 kB / 0.9057 GB, free: 58.17 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.193, allocations: 154.3 kB / 0.9058 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.328e-05/0.1931, allocations: 0.677 MB / 0.9065 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.339e-05/0.1932, allocations: 4 kB / 0.9065 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.1932, allocations: 15.42 kB / 0.9065 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.1932, allocations: 4.062 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008916/0.2021, allocations: 0.9931 MB / 0.9075 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001239/0.2023, allocations: 240.7 kB / 0.9077 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.531/1.733, allocations: 0 / 0.9077 GB, free: 56.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1)