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: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.775/1.775, allocations: 287.5 MB / 302.6 MB, free: 8.191 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.001217/0.001217, allocations: 189.6 kB / 371.2 MB, free: 10.82 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.227/2.227, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0008538/0.0008533, allocations: 88.02 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 12.47 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3171, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001503/0.3187, allocations: 0.9431 MB / 0.9796 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002839/0.319, allocations: 51.88 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3191, allocations: 0 / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.267e-05/0.3191, allocations: 3.938 kB / 0.9796 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.3194, allocations: 7.984 kB / 0.9797 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.3196, allocations: 4 kB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.3197, allocations: 31.89 kB / 0.9797 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.391e-05/0.3198, allocations: 0 / 0.9797 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.734e-05/0.3199, allocations: 8 kB / 0.9797 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.3199, allocations: 19.92 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.32, allocations: 3.938 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.889e-05/0.3201, allocations: 12 kB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.3201, allocations: 59.86 kB / 0.9798 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.3202, allocations: 37.64 kB / 0.9798 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.3203, allocations: 40.14 kB / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3203, allocations: 0 / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.675e-06/0.3203, allocations: 0 / 0.9799 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3203, allocations: 0 / 0.9799 GB, free: 26.97 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.0004525/0.3208, allocations: 414.9 kB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.3209, allocations: 12.02 kB / 0.9803 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.3209, allocations: 92.03 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.3211, allocations: 263.4 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.3212, allocations: 150.9 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.3212, allocations: 150.9 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.251e-05/0.3213, allocations: 113.5 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3213, allocations: 75.47 kB / 0.9811 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3214, allocations: 158.5 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.243e-05/0.3214, allocations: 150.6 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.3215, allocations: 158.5 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.3217, allocations: 497.7 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.201e-05/0.3218, allocations: 173.1 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.181e-05/0.3218, allocations: 84.14 kB / 0.9822 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.3219, allocations: 75.28 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.3219, allocations: 105.8 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.3219, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 9.825e-05/0.322, allocations: 41.55 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.3221, allocations: 130.7 kB / 0.9826 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.3223, allocations: 223 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3223, allocations: 25.7 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.3224, allocations: 112 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.877e-06/0.3224, allocations: 3.938 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.3224, allocations: 0 / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.3225, allocations: 326.8 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-05/0.3226, allocations: 55.97 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.3227, allocations: 59.95 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3229, allocations: 136.8 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3229, allocations: 0 / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003213/0.3232, allocations: 173.4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.3232, allocations: 10.44 kB / 0.9837 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3232, allocations: 3.984 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3233, allocations: 3.984 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.3233, allocations: 4 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.3233, allocations: 7.875 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.3234, allocations: 15.84 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.3234, allocations: 11.94 kB / 0.9837 GB, free: 22.81 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.0001116/0.3235, allocations: 201.1 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.3236, allocations: 116.7 kB / 0.984 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.3236, allocations: 109.5 kB / 0.9841 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-05/0.3237, allocations: 188.2 kB / 0.9843 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.113e-05/0.3237, allocations: 180.3 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.028e-05/0.3238, allocations: 184.2 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.324, allocations: 429.2 kB / 0.985 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.3241, allocations: 109 kB / 0.9851 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.3241, allocations: 108.9 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-05/0.3241, allocations: 181.1 kB / 0.9854 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.3242, allocations: 188.2 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.822e-05/0.3243, allocations: 184.3 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.035e-05/0.3243, allocations: 184.2 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.3244, allocations: 307.6 kB / 0.9862 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.3245, allocations: 201.8 kB / 0.9864 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.3246, allocations: 184.5 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.65e-05/0.3247, allocations: 101 kB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.426e-05/0.3248, allocations: 184.2 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.3248, allocations: 101 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001115/0.3249, allocations: 160.6 kB / 0.9871 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/0.3249, allocations: 4 kB / 0.9871 GB, free: 19.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003136/0.3252, allocations: 20 kB / 0.9872 GB, free: 19.04 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.0002189/0.3255, allocations: 174.5 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001551/0.3256, allocations: 87.88 kB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3256, allocations: 0 / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3257, allocations: 0 / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.326, allocations: 0.5302 MB / 0.9879 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.3265, allocations: 306.3 kB / 0.9882 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.3267, allocations: 0.7082 MB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.3267, allocations: 8 kB / 0.9889 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.3268, allocations: 11.42 kB / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.783e-06/0.3268, allocations: 0 / 0.9889 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.002959/0.3297, allocations: 0.683 MB / 0.9896 GB, free: 16.48 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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 & ./Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)