Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.47/2.47, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001391/0.001391, allocations: 187.4 kB / 325.8 MB, free: 2.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.585/2.585, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.98 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005063/0.0005066, allocations: 16.31 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.00145/0.2434, allocations: 0.9347 MB / 0.9 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000271/0.2437, allocations: 51.83 kB / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.2438, allocations: 0 / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.2438, allocations: 0 / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.244, allocations: 15.97 kB / 0.9 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000132/0.2441, allocations: 7.938 kB / 0.9 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.2442, allocations: 23.97 kB / 0.9 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.06e-05/0.2443, allocations: 5.125 kB / 0.9001 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.29e-05/0.2443, allocations: 15.92 kB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.2444, allocations: 15.98 kB / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2444, allocations: 0 / 0.9001 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.2445, allocations: 4 kB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.597e-05/0.2446, allocations: 51.88 kB / 0.9001 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.027e-05/0.2446, allocations: 41.64 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.937e-05/0.2447, allocations: 40.19 kB / 0.9002 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2448, allocations: 4 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.296e-06/0.2448, allocations: 3.984 kB / 0.9002 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2448, allocations: 0 / 0.9002 GB, free: 64.16 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.0004105/0.2452, allocations: 414.8 kB / 0.9006 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2453, allocations: 12.03 kB / 0.9006 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.926e-05/0.2453, allocations: 88.06 kB / 0.9007 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.2455, allocations: 263.5 kB / 0.901 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.706e-05/0.2455, allocations: 154.9 kB / 0.9011 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.2456, allocations: 154.9 kB / 0.9013 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.169e-05/0.2456, allocations: 105.5 kB / 0.9014 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.2457, allocations: 75.47 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.2457, allocations: 158.4 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.2457, allocations: 150.6 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.2458, allocations: 158.5 kB / 0.9019 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2461, allocations: 497.7 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.488e-05/0.2462, allocations: 169.2 kB / 0.9025 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.2462, allocations: 84.14 kB / 0.9026 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.2462, allocations: 83.22 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.2463, allocations: 109.8 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.403e-06/0.2463, allocations: 0 / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 9.227e-05/0.2464, allocations: 53.38 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.2464, allocations: 126.7 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.2467, allocations: 227 kB / 0.9032 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.2467, allocations: 25.7 kB / 0.9032 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.2468, allocations: 116 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-06/0.2468, allocations: 0 / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/0.2468, allocations: 4 kB / 0.9033 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.675e-05/0.2469, allocations: 326.8 kB / 0.9036 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.247, allocations: 51.97 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2472, allocations: 55.95 kB / 0.9037 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.2473, allocations: 69.39 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2473, allocations: 0 / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004151/0.2477, allocations: 171.5 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2478, allocations: 8.062 kB / 0.904 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2478, allocations: 3.938 kB / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.2478, allocations: 0 / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.413e-06/0.2478, allocations: 0 / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2478, allocations: 0 / 0.904 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.471e-05/0.2479, allocations: 15.75 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.248, allocations: 4 kB / 0.904 GB, free: 60.08 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 0.0001239/0.2481, allocations: 201.1 kB / 0.9042 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.2482, allocations: 116.8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.2482, allocations: 129.4 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.023e-05/0.2483, allocations: 176.3 kB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.921e-05/0.2483, allocations: 180.2 kB / 0.9047 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-05/0.2484, allocations: 176.3 kB / 0.9049 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2486, allocations: 441.2 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.528e-05/0.2486, allocations: 108.9 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.2487, allocations: 101 kB / 0.9055 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-05/0.2487, allocations: 184.2 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/0.2488, allocations: 180.2 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.865e-05/0.2488, allocations: 180.2 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.642e-05/0.2489, allocations: 184.2 kB / 0.9062 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.249, allocations: 323.6 kB / 0.9065 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.2491, allocations: 193.9 kB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.2492, allocations: 180.5 kB / 0.9069 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2493, allocations: 112.9 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.533e-05/0.2494, allocations: 180.3 kB / 0.9072 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.2494, allocations: 109 kB / 0.9073 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000185/0.2496, allocations: 156.6 kB / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2496, allocations: 0 / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003346/0.2499, allocations: 19.94 kB / 0.9074 GB, free: 56.3 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.0002007/0.2502, allocations: 174.5 kB / 0.9076 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2504, allocations: 83.95 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2504, allocations: 0 / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.2504, allocations: 0 / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.2508, allocations: 0.5262 MB / 0.9082 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005208/0.2513, allocations: 305.4 kB / 0.9085 GB, free: 55.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.2516, allocations: 0.716 MB / 0.9092 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.869e-05/0.2517, allocations: 11.98 kB / 0.9092 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.2517, allocations: 7.438 kB / 0.9092 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.032e-06/0.2517, allocations: 0 / 0.9092 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.004194/0.2559, allocations: 0.6792 MB / 0.9099 GB, free: 53.74 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)