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.662/2.662, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.001357/0.001357, allocations: 185.9 kB / 371 MB, free: 10.87 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.118/2.118, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008984/0.0008981, allocations: 98.05 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006459/0.0006462, allocations: 16.14 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2195, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001356/0.2209, allocations: 0.9314 MB / 0.9794 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.2212, allocations: 55.88 kB / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.127e-05/0.2212, allocations: 0 / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.2213, allocations: 0 / 0.9794 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.2214, allocations: 11.92 kB / 0.9794 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.2216, allocations: 12 kB / 0.9794 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.218e-05/0.2217, allocations: 27.89 kB / 0.9795 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.419e-05/0.2217, allocations: 4 kB / 0.9795 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.932e-05/0.2218, allocations: 7.984 kB / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.595e-05/0.2218, allocations: 12 kB / 0.9795 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2219, allocations: 4 kB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.556e-05/0.2219, allocations: 4 kB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.222, allocations: 59.8 kB / 0.9795 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.2221, allocations: 41.64 kB / 0.9796 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.441e-05/0.2222, allocations: 48.11 kB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2222, allocations: 0 / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2222, allocations: 0 / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.2222, allocations: 0 / 0.9796 GB, free: 27.06 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.0003838/0.2226, allocations: 421.2 kB / 0.98 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.2227, allocations: 20.02 kB / 0.9801 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.2227, allocations: 105.8 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.656e-05/0.2228, allocations: 87.09 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.2229, allocations: 262.1 kB / 0.9805 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.223, allocations: 150.6 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.161e-05/0.223, allocations: 154.6 kB / 0.9808 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.931e-05/0.2231, allocations: 113 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.2231, allocations: 75.28 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.2232, allocations: 150.6 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.2232, allocations: 154.5 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.384e-05/0.2232, allocations: 154.6 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.2235, allocations: 0.4938 MB / 0.9819 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.72e-05/0.2236, allocations: 169.1 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.2236, allocations: 80.14 kB / 0.9821 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.2237, allocations: 75.28 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2237, allocations: 117.8 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.2237, allocations: 4 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.87e-05/0.2238, allocations: 37.52 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.2239, allocations: 126.7 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.2241, allocations: 227.1 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.2242, allocations: 25.7 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.2242, allocations: 108.2 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-06/0.2242, allocations: 0 / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.2243, allocations: 0 / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.2243, allocations: 334.8 kB / 0.9831 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2245, allocations: 56.14 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.2246, allocations: 56.34 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.2247, allocations: 66.14 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2247, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003735/0.2251, allocations: 171.9 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2251, allocations: 6.188 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2251, allocations: 0 / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2252, allocations: 0 / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.876e-06/0.2252, allocations: 4 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2252, allocations: 4.062 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.983e-05/0.2253, allocations: 19.62 kB / 0.9835 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.2253, allocations: 8 kB / 0.9835 GB, free: 22.86 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.0001121/0.2255, allocations: 209 kB / 0.9837 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.2255, allocations: 112.8 kB / 0.9838 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.2256, allocations: 113.5 kB / 0.9839 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-05/0.2256, allocations: 180.3 kB / 0.9841 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/0.2257, allocations: 184.2 kB / 0.9843 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.046e-05/0.2257, allocations: 180.3 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.2259, allocations: 441.1 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/0.226, allocations: 101 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.226, allocations: 109 kB / 0.9851 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.444e-05/0.226, allocations: 185.1 kB / 0.9852 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.2261, allocations: 184.3 kB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-05/0.2261, allocations: 180.2 kB / 0.9856 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.435e-05/0.2262, allocations: 184.3 kB / 0.9858 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.804e-05/0.2263, allocations: 311.6 kB / 0.986 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.2263, allocations: 198.1 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.633e-05/0.2264, allocations: 188.2 kB / 0.9864 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.425e-05/0.2265, allocations: 105 kB / 0.9865 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.2266, allocations: 180.2 kB / 0.9867 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.2266, allocations: 101 kB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000161/0.2268, allocations: 164.6 kB / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2268, allocations: 0 / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003351/0.2271, allocations: 20 kB / 0.987 GB, free: 19.09 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.000332/0.2275, allocations: 0.8241 MB / 0.9878 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001945/0.2277, allocations: 87.89 kB / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2277, allocations: 0 / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.2277, allocations: 0 / 0.9878 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2281, allocations: 0.5224 MB / 0.9884 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.2296, allocations: 1.043 MB / 0.9894 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2299, allocations: 0.7082 MB / 0.9901 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.16e-05/0.2299, allocations: 11.98 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.23, allocations: 31.42 kB / 0.9901 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.23, allocations: 0 / 0.9901 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.2549, allocations: 2.506 MB / 0.9926 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/0.2552, allocations: 195.8 kB / 0.9927 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.354/2.609, allocations: 0 / 0.9927 GB, free: 13.17 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)