Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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.83/1.83, allocations: 288.2 MB / 303.2 MB, free: 8.062 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.001188/0.001188, allocations: 178 kB / 371.8 MB, free: 10.28 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.524/1.524, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0008875/0.0008875, allocations: 86.92 kB / 0.7439 GB, free: 5.957 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003979, allocations: 10.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2036, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001145/0.2048, allocations: 0.93 MB / 0.9804 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001766/0.205, allocations: 49.61 kB / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.205, allocations: 0 / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.708e-05/0.2051, allocations: 0 / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.2052, allocations: 0 / 0.9804 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.2054, allocations: 23.91 kB / 0.9805 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.2054, allocations: 7.938 kB / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.2055, allocations: 0 / 0.9805 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.2055, allocations: 7.984 kB / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.531e-05/0.2055, allocations: 3.984 kB / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.2055, allocations: 0 / 0.9805 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.975e-05/0.2056, allocations: 4 kB / 0.9805 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.2057, allocations: 47.89 kB / 0.9805 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.2057, allocations: 41.64 kB / 0.9806 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.439e-05/0.2058, allocations: 52.12 kB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.2058, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2058, allocations: 0 / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2058, allocations: 0 / 0.9806 GB, free: 26.43 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000307/0.2061, allocations: 406.8 kB / 0.981 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2061, allocations: 16 kB / 0.981 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.2062, allocations: 105.8 kB / 0.9811 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.868e-05/0.2063, allocations: 87.09 kB / 0.9812 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2064, allocations: 274 kB / 0.9815 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.2064, allocations: 150.6 kB / 0.9816 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.2065, allocations: 150.6 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.883e-05/0.2065, allocations: 101 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.2065, allocations: 75.28 kB / 0.9819 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2066, allocations: 154.5 kB / 0.9821 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.2066, allocations: 162.5 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.2066, allocations: 158.5 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.2069, allocations: 497.7 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.758e-05/0.2069, allocations: 165.1 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2069, allocations: 83.28 kB / 0.9831 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.207, allocations: 109.9 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.207, allocations: 0 / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.315e-05/0.207, allocations: 41.45 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.2071, allocations: 130.7 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.2073, allocations: 227 kB / 0.9836 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.2073, allocations: 29.7 kB / 0.9836 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2073, allocations: 108.2 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.2073, allocations: 0 / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.2073, allocations: 0 / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.2074, allocations: 330.8 kB / 0.984 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.2075, allocations: 52.16 kB / 0.9841 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.408e-05/0.2075, allocations: 62.02 kB / 0.9841 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/0.2076, allocations: 56.72 kB / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2076, allocations: 0 / 0.9842 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002355/0.2078, allocations: 186.4 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2079, allocations: 10.02 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2079, allocations: 0 / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2079, allocations: 4 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.2079, allocations: 0 / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.2079, allocations: 0 / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.2079, allocations: 19.73 kB / 0.9844 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.208, allocations: 4 kB / 0.9844 GB, free: 22.33 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.845e-05/0.2081, allocations: 205.8 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.2081, allocations: 116.9 kB / 0.9847 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.488e-05/0.2081, allocations: 113.5 kB / 0.9848 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.401e-05/0.2082, allocations: 180.2 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.923e-05/0.2082, allocations: 184.2 kB / 0.9852 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/0.2082, allocations: 184.2 kB / 0.9853 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2084, allocations: 437.2 kB / 0.9857 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.2084, allocations: 112.9 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.408e-05/0.2084, allocations: 101 kB / 0.986 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.416e-05/0.2084, allocations: 181.2 kB / 0.9861 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2085, allocations: 180.2 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/0.2085, allocations: 180.3 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-05/0.2085, allocations: 192.2 kB / 0.9867 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.424e-05/0.2086, allocations: 311.6 kB / 0.9869 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.834e-05/0.2087, allocations: 193.9 kB / 0.9871 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.2087, allocations: 192.4 kB / 0.9873 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.2088, allocations: 104.9 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.2088, allocations: 184.3 kB / 0.9876 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.2088, allocations: 112.9 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.245e-05/0.2089, allocations: 156.6 kB / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2089, allocations: 0 / 0.9879 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002271/0.2092, allocations: 20 kB / 0.9879 GB, free: 18.55 MB / 0.6198 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 (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.000233/0.2094, allocations: 0.8164 MB / 0.9887 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2095, allocations: 79.91 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.2095, allocations: 0 / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.2095, allocations: 3.938 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.2097, allocations: 0.5341 MB / 0.9893 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.2102, allocations: 0.5109 MB / 0.9898 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001456/0.2104, allocations: 0.7121 MB / 0.9905 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.89e-05/0.2104, allocations: 15.97 kB / 0.9905 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.2104, allocations: 27.42 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2104, allocations: 4 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.2216, allocations: 2.161 MB / 0.9926 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001269/0.2217, allocations: 221.4 kB / 0.9928 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/1.729, allocations: 4 kB / 0.9928 GB, free: 13.48 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_maint.8.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)