Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001335/0.001335, allocations: 183.2 kB / 327.3 MB, free: 2.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.4 MB / 0.5783 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007762/0.0007762, allocations: 97.53 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003917, allocations: 8.875 kB / 0.797 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001365/0.2608, allocations: 0.9389 MB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.2611, allocations: 55.83 kB / 0.9018 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.2611, allocations: 0 / 0.9018 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.971e-05/0.2612, allocations: 0 / 0.9018 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2614, allocations: 4 kB / 0.9018 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.2615, allocations: 21.06 kB / 0.9018 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.849e-05/0.2616, allocations: 23.97 kB / 0.9018 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.15e-05/0.2617, allocations: 0 / 0.9018 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.2617, allocations: 7.938 kB / 0.9019 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.2618, allocations: 27.97 kB / 0.9019 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2618, allocations: 0 / 0.9019 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.709e-05/0.2619, allocations: 4 kB / 0.9019 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.2619, allocations: 47.88 kB / 0.9019 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.262, allocations: 41.64 kB / 0.902 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.292e-05/0.262, allocations: 44.19 kB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2621, allocations: 0 / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.2621, allocations: 4 kB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2621, allocations: 0 / 0.902 GB, free: 63.04 MB / 0.6042 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.0003555/0.2624, allocations: 418.6 kB / 0.9024 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.2625, allocations: 8.031 kB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.2626, allocations: 83.19 kB / 0.9025 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2627, allocations: 262.1 kB / 0.9028 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.2627, allocations: 154.5 kB / 0.9029 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.2628, allocations: 154.6 kB / 0.903 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.332e-05/0.2628, allocations: 105 kB / 0.9031 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.2629, allocations: 75.28 kB / 0.9032 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/0.2629, allocations: 150.6 kB / 0.9034 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.2629, allocations: 150.6 kB / 0.9035 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.263, allocations: 150.6 kB / 0.9036 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.2632, allocations: 0.5054 MB / 0.9041 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.222e-05/0.2633, allocations: 173.2 kB / 0.9043 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.2633, allocations: 84.08 kB / 0.9044 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.2633, allocations: 75.28 kB / 0.9045 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.2634, allocations: 113.8 kB / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.2634, allocations: 0 / 0.9046 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.788e-05/0.2635, allocations: 41.45 kB / 0.9046 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.2635, allocations: 126.7 kB / 0.9047 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.2637, allocations: 231 kB / 0.9049 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2637, allocations: 25.7 kB / 0.905 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.2638, allocations: 108.2 kB / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.2638, allocations: 0 / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.2638, allocations: 3.984 kB / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.2639, allocations: 330.8 kB / 0.9054 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.094e-05/0.264, allocations: 56.14 kB / 0.9054 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.129e-05/0.264, allocations: 60.33 kB / 0.9055 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.264e-05/0.2641, allocations: 61.98 kB / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2641, allocations: 0 / 0.9056 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002595/0.2644, allocations: 174.7 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2644, allocations: 4 kB / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2644, allocations: 0 / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2644, allocations: 0 / 0.9057 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2644, allocations: 8.062 kB / 0.9057 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.535e-06/0.2645, allocations: 3.984 kB / 0.9057 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.2645, allocations: 15.75 kB / 0.9058 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2645, allocations: 8 kB / 0.9058 GB, free: 58.96 MB / 0.6042 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 8.742e-05/0.2646, allocations: 213 kB / 0.906 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.2647, allocations: 112.8 kB / 0.9061 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.2647, allocations: 113.5 kB / 0.9062 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/0.2647, allocations: 180.3 kB / 0.9064 GB, free: 58.32 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/0.2648, allocations: 180.2 kB / 0.9065 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.199e-05/0.2648, allocations: 192.2 kB / 0.9067 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.265, allocations: 429.2 kB / 0.9071 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.966e-05/0.265, allocations: 108.9 kB / 0.9072 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.265, allocations: 109 kB / 0.9073 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-05/0.2651, allocations: 180.3 kB / 0.9075 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.172e-05/0.2651, allocations: 184.1 kB / 0.9077 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.957e-05/0.2651, allocations: 176.3 kB / 0.9078 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-05/0.2652, allocations: 188.2 kB / 0.908 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/0.2652, allocations: 311.8 kB / 0.9083 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.2653, allocations: 197.8 kB / 0.9085 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.2653, allocations: 184.5 kB / 0.9087 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.25e-05/0.2654, allocations: 108.9 kB / 0.9088 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.2655, allocations: 176.3 kB / 0.909 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.2655, allocations: 113 kB / 0.9091 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.049e-05/0.2656, allocations: 160.5 kB / 0.9092 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 0.9092 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002145/0.2658, allocations: 20 kB / 0.9092 GB, free: 55.18 MB / 0.6042 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.0001389/0.2659, allocations: 174.5 kB / 0.9094 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.2661, allocations: 83.89 kB / 0.9095 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2661, allocations: 0 / 0.9095 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.2661, allocations: 64 / 0.9095 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.2664, allocations: 0.5321 MB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.2668, allocations: 335 kB / 0.9103 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.2669, allocations: 0.7121 MB / 0.911 GB, free: 53.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.267, allocations: 11.44 kB / 0.911 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.267, allocations: 0 / 0.911 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.002334/0.2693, allocations: 1.108 MB / 0.9121 GB, free: 52.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)