Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.738/2.738, allocations: 287.3 MB / 302.3 MB, free: 8.207 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.001536/0.001536, allocations: 183 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.087/2.087, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001097/0.001097, allocations: 108.2 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004689/0.0004689, allocations: 15.11 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00128/0.2119, allocations: 0.9414 MB / 0.9792 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002018/0.2121, allocations: 45.61 kB / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.2122, allocations: 0 / 0.9792 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.2122, allocations: 4 kB / 0.9793 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2124, allocations: 3.984 kB / 0.9793 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.2125, allocations: 11.98 kB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.563e-05/0.2125, allocations: 4 kB / 0.9793 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.2126, allocations: 3.984 kB / 0.9793 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.2126, allocations: 11.92 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.14e-05/0.2127, allocations: 3.938 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.2127, allocations: 4 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.434e-05/0.2128, allocations: 4 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.2128, allocations: 43.89 kB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.2129, allocations: 41.64 kB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.136e-05/0.213, allocations: 48.12 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.213, allocations: 0 / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.855e-06/0.213, allocations: 4 kB / 0.9794 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.213, allocations: 0 / 0.9794 GB, free: 27.1 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.0003639/0.2134, allocations: 416.8 kB / 0.9798 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2134, allocations: 12.02 kB / 0.9798 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.2135, allocations: 105.8 kB / 0.9799 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.317e-05/0.2136, allocations: 87.09 kB / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.2137, allocations: 262.1 kB / 0.9803 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.2138, allocations: 154.6 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.2138, allocations: 158.5 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.702e-05/0.2139, allocations: 105 kB / 0.9807 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2139, allocations: 75.28 kB / 0.9807 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.2139, allocations: 150.6 kB / 0.9809 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/0.214, allocations: 154.6 kB / 0.981 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.214, allocations: 150.6 kB / 0.9812 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002709/0.2143, allocations: 0.4938 MB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.2143, allocations: 169.1 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2144, allocations: 75.28 kB / 0.9819 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.2144, allocations: 113.9 kB / 0.982 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.2144, allocations: 7.938 kB / 0.982 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.000104/0.2145, allocations: 41.5 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2146, allocations: 130.6 kB / 0.9822 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.2148, allocations: 227.1 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.2149, allocations: 25.7 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.2149, allocations: 112.2 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.215, allocations: 0 / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.024e-06/0.215, allocations: 3.938 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.364e-05/0.215, allocations: 334.8 kB / 0.9828 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.2152, allocations: 52.16 kB / 0.9829 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.2153, allocations: 60.33 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.2154, allocations: 60.7 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.2154, allocations: 0 / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003503/0.2158, allocations: 173.5 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.2158, allocations: 4 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.2158, allocations: 0 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2158, allocations: 0 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.435e-06/0.2158, allocations: 4 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2159, allocations: 8 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.2159, allocations: 11.75 kB / 0.9832 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.216, allocations: 8 kB / 0.9832 GB, free: 22.99 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 0.0001071/0.2161, allocations: 209 kB / 0.9834 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.2161, allocations: 108.9 kB / 0.9835 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.2162, allocations: 113.5 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/0.2162, allocations: 180.2 kB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.298e-05/0.2163, allocations: 184.3 kB / 0.984 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-05/0.2163, allocations: 184.2 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2165, allocations: 437.1 kB / 0.9846 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-05/0.2166, allocations: 101 kB / 0.9847 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.2166, allocations: 112.9 kB / 0.9848 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.258e-05/0.2166, allocations: 181.3 kB / 0.9849 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.2167, allocations: 180.2 kB / 0.9851 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.061e-05/0.2167, allocations: 180.2 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.315e-05/0.2168, allocations: 188.2 kB / 0.9855 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.863e-05/0.2169, allocations: 311.6 kB / 0.9858 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.233e-05/0.2169, allocations: 209.8 kB / 0.986 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.217, allocations: 180.5 kB / 0.9861 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.947e-05/0.2171, allocations: 104.9 kB / 0.9862 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.2172, allocations: 180.3 kB / 0.9864 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.2172, allocations: 101 kB / 0.9865 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001548/0.2174, allocations: 164.6 kB / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2174, allocations: 0 / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003275/0.2177, allocations: 23.94 kB / 0.9867 GB, free: 19.22 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.0003103/0.218, allocations: 0.8202 MB / 0.9875 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001842/0.2182, allocations: 83.91 kB / 0.9876 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2182, allocations: 0 / 0.9876 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.2183, allocations: 0 / 0.9876 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.2185, allocations: 0.5301 MB / 0.9881 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000697/0.2192, allocations: 0.5208 MB / 0.9886 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.2194, allocations: 0.7121 MB / 0.9893 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.2195, allocations: 7.984 kB / 0.9893 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.187e-05/0.2195, allocations: 31.42 kB / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of SimCode: time 8.21e-07/0.2195, allocations: 0 / 0.9893 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.2424, allocations: 2.156 MB / 0.9914 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.2427, allocations: 198.3 kB / 0.9916 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/2.67, allocations: 0 / 0.9916 GB, free: 14.16 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)