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: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 106.9 kB / 16.29 MB, free: 6.43 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.00109/0.00109, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.776/1.776, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.04/2.04, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.00153/0.00153, allocations: 72.33 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3386, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003201/0.3419, allocations: 1.205 MB / 0.7853 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002888/0.3422, allocations: 55.81 kB / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.3423, allocations: 0 / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.3423, allocations: 0 / 0.7853 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.3425, allocations: 3.938 kB / 0.7853 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3427, allocations: 19.97 kB / 0.7853 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.027e-05/0.3428, allocations: 11.94 kB / 0.7853 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.219e-05/0.3428, allocations: 11.98 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.3429, allocations: 4 kB / 0.7854 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.343, allocations: 12.67 kB / 0.7854 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.343, allocations: 4 kB / 0.7854 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.053e-05/0.3431, allocations: 11.98 kB / 0.7854 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.3432, allocations: 44.45 kB / 0.7854 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.3432, allocations: 35.69 kB / 0.7855 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3434, allocations: 75.92 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3434, allocations: 0 / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3434, allocations: 3.938 kB / 0.7855 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3434, allocations: 0 / 0.7855 GB, free: 2.309 MB / 0.6544 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.0005377/0.344, allocations: 430.8 kB / 0.7859 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.344, allocations: 12.03 kB / 0.786 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.411e-05/0.3441, allocations: 92.03 kB / 0.786 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3443, allocations: 268 kB / 0.7863 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.3444, allocations: 162.6 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.738e-05/0.3445, allocations: 150.6 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.3446, allocations: 109 kB / 0.7867 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.3446, allocations: 79.28 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.3447, allocations: 150.6 kB / 0.7869 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.3447, allocations: 154.5 kB / 0.7871 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.346e-05/0.3448, allocations: 154.5 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6387/0.9835, allocations: 494.5 kB / 0.7877 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 9.916e-05/0.9836, allocations: 169.6 kB / 0.7879 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.9837, allocations: 86.86 kB / 0.7879 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.9837, allocations: 75.28 kB / 0.788 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.9838, allocations: 105.8 kB / 0.7881 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 2.444e-06/0.9838, allocations: 0.6562 kB / 0.7881 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 0.0001435/0.9839, allocations: 42.77 kB / 0.7881 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.984, allocations: 130.2 kB / 0.7883 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.9842, allocations: 223.1 kB / 0.7885 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.9843, allocations: 25.7 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.9843, allocations: 113.1 kB / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-06/0.9843, allocations: 0 / 0.7886 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.9844, allocations: 36.7 kB / 0.7887 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.9845, allocations: 332.6 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.951e-05/0.9846, allocations: 55.62 kB / 0.789 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.91e-05/0.9847, allocations: 55.16 kB / 0.7891 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.9848, allocations: 140.3 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9848, allocations: 1 kB / 0.7892 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003794/0.9852, allocations: 177.3 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9853, allocations: 7.188 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.9853, allocations: 0 / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.9853, allocations: 0 / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.9853, allocations: 6.344 kB / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.9853, allocations: 0 / 0.7894 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.404e-05/0.9854, allocations: 22.7 kB / 0.7894 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.9854, allocations: 8.625 kB / 0.7894 GB, free: 47.55 MB / 0.6544 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.317e-05/0.9855, allocations: 200.6 kB / 0.7896 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.9855, allocations: 114.3 kB / 0.7897 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.9856, allocations: 117.1 kB / 0.7898 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.595e-05/0.9856, allocations: 185.2 kB / 0.79 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.039e-05/0.9857, allocations: 179.6 kB / 0.7902 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.764e-05/0.9857, allocations: 184.6 kB / 0.7904 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.9859, allocations: 434.9 kB / 0.7908 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.9859, allocations: 107.8 kB / 0.7909 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.646e-05/0.986, allocations: 113.5 kB / 0.791 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.009e-05/0.986, allocations: 177.6 kB / 0.7912 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/0.9861, allocations: 184.5 kB / 0.7913 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-05/0.9861, allocations: 180 kB / 0.7915 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.208e-05/0.9861, allocations: 182.4 kB / 0.7917 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.83e-05/0.9862, allocations: 316.5 kB / 0.792 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.9863, allocations: 193.5 kB / 0.7922 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.159e-05/0.9863, allocations: 182.4 kB / 0.7923 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.9864, allocations: 106.5 kB / 0.7924 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.9865, allocations: 181.8 kB / 0.7926 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.9865, allocations: 109.6 kB / 0.7927 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001076/0.9866, allocations: 168.1 kB / 0.7929 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9866, allocations: 0 / 0.7929 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002413/0.9869, allocations: 18.53 kB / 0.7929 GB, free: 44.05 MB / 0.6544 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.0001817/0.987, allocations: 177.4 kB / 0.7931 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.9872, allocations: 74.14 kB / 0.7931 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9872, allocations: 1 kB / 0.7931 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.9872, allocations: 0 / 0.7931 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.9876, allocations: 463.6 kB / 0.7936 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.988, allocations: 293.4 kB / 0.7939 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.9883, allocations: 0.7082 MB / 0.7945 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.746e-05/0.9883, allocations: 10.97 kB / 0.7946 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.787e-05/0.9883, allocations: 14.7 kB / 0.7946 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.9883, allocations: 0.75 kB / 0.7946 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.003773/0.9921, allocations: 0.7404 MB / 0.7953 GB, free: 42.49 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (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 & ./Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)