Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.001014/0.001014, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00104/0.00104, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.367/1.367, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.605/1.605, allocations: 292.3 MB / 0.5486 GB, free: 13.66 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.001337/0.001337, allocations: 72.11 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1832, allocations: 114.5 MB / 0.783 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002081/0.1853, allocations: 1.286 MB / 0.7842 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001923/0.1855, allocations: 51.81 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.1856, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.1856, allocations: 0 / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.1857, allocations: 7.984 kB / 0.7843 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.1858, allocations: 11.92 kB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.1859, allocations: 8 kB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.1859, allocations: 4 kB / 0.7843 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.186, allocations: 23.84 kB / 0.7843 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.186, allocations: 9.5 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.1861, allocations: 4 kB / 0.7843 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.618e-05/0.1861, allocations: 8 kB / 0.7843 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.653e-05/0.1862, allocations: 44.44 kB / 0.7844 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.1862, allocations: 43.69 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.985e-05/0.1863, allocations: 79.84 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1864, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1864, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.1864, allocations: 0 / 0.7845 GB, free: 12.23 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003636/0.1867, allocations: 426.8 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1868, allocations: 12.03 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.1868, allocations: 106 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.1869, allocations: 88.03 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.187, allocations: 270.5 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.1871, allocations: 150.6 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.1871, allocations: 154.6 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.065e-05/0.1872, allocations: 116.9 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.1872, allocations: 79.27 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.903e-05/0.1873, allocations: 150.6 kB / 0.786 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/0.1873, allocations: 150.6 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.1873, allocations: 150.6 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.1876, allocations: 0.4938 MB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.045e-05/0.1877, allocations: 169.1 kB / 0.7869 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.1877, allocations: 80.14 kB / 0.787 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1877, allocations: 75.28 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.1878, allocations: 113.8 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1878, allocations: 0 / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.111e-05/0.1879, allocations: 37.59 kB / 0.7872 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1879, allocations: 138.6 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1881, allocations: 223 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1881, allocations: 25.7 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.1882, allocations: 112 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1882, allocations: 0 / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.1882, allocations: 37.7 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.008e-05/0.1883, allocations: 334.8 kB / 0.788 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.346e-05/0.1884, allocations: 55.95 kB / 0.7881 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.205e-05/0.1885, allocations: 51.97 kB / 0.7881 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1886, allocations: 140.3 kB / 0.7883 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1886, allocations: 3.938 kB / 0.7883 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002481/0.1889, allocations: 177.3 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.1889, allocations: 4 kB / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1889, allocations: 0 / 0.7885 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.228e-06/0.1889, allocations: 4.062 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.223e-06/0.1889, allocations: 4 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.189, allocations: 0 / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.189, allocations: 19.75 kB / 0.7885 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.189, allocations: 8 kB / 0.7885 GB, free: 7.895 MB / 0.6075 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 9.078e-05/0.1891, allocations: 197.8 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.1892, allocations: 116.8 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.1892, allocations: 125.5 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/0.1893, allocations: 176.3 kB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.751e-05/0.1893, allocations: 181.3 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.884e-05/0.1894, allocations: 188.1 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1896, allocations: 429.2 kB / 0.7898 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/0.1896, allocations: 104.9 kB / 0.7899 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.1897, allocations: 117 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.352e-05/0.1897, allocations: 176.3 kB / 0.7902 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-05/0.1898, allocations: 188.2 kB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/0.1898, allocations: 176.3 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.864e-05/0.1899, allocations: 184.2 kB / 0.7907 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.19, allocations: 323.8 kB / 0.7911 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.19, allocations: 193.8 kB / 0.7912 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.1901, allocations: 180.3 kB / 0.7914 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.1902, allocations: 104.9 kB / 0.7915 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.1902, allocations: 184.2 kB / 0.7917 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.1903, allocations: 108.9 kB / 0.7918 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001045/0.1904, allocations: 164.5 kB / 0.7919 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1904, allocations: 4 kB / 0.7919 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002373/0.1906, allocations: 16 kB / 0.792 GB, free: 4.117 MB / 0.6075 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 (0): * Single equations (assignments): 0 * 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.0003324/0.191, allocations: 0.8242 MB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.1911, allocations: 71.95 kB / 0.7928 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1911, allocations: 0 / 0.7928 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.536e-06/0.1911, allocations: 7.938 kB / 0.7928 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1914, allocations: 466.7 kB / 0.7933 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.1931, allocations: 2.129 MB / 0.7954 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.1934, allocations: 0.7119 MB / 0.7961 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.788e-05/0.1934, allocations: 7.984 kB / 0.7961 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/0.1935, allocations: 35.36 kB / 0.7961 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1935, allocations: 0 / 0.7961 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.045/1.238, allocations: 2.645 MB / 0.7987 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/1.239, allocations: 222.6 kB / 0.7989 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/3.148, allocations: 0 / 0.7989 GB, free: 12.97 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)