Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.899/4.899, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002383, allocations: 358.6 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.171/4.171, allocations: 410.7 MB / 1.112 GB, free: 5.98 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001773/0.001773, allocations: 190.2 kB / 1.225 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008239/0.0008243, allocations: 12 kB / 1.348 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6627/0.6635, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001058/0.6646, allocations: 0.9337 MB / 1.462 GB, free: 283.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001744/0.6648, allocations: 50.44 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.541e-05/0.6649, allocations: 4 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.25e-05/0.6649, allocations: 0.7188 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.665, allocations: 7.922 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 9.896e-05/0.6651, allocations: 8.5 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.6652, allocations: 32.89 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.6653, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.6653, allocations: 5.688 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.049e-05/0.6654, allocations: 23.92 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.6654, allocations: 3.938 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.6654, allocations: 4 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.6655, allocations: 53.14 kB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.6656, allocations: 45.64 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.413e-05/0.6656, allocations: 38.52 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.841e-06/0.6657, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.677e-06/0.6657, allocations: 0.5938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.745e-06/0.6657, allocations: 0.7812 kB / 1.462 GB, free: 283.1 MB / 0.8542 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.0003101/0.666, allocations: 411.2 kB / 1.462 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.666, allocations: 11.62 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/0.6661, allocations: 92.56 kB / 1.462 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.6662, allocations: 254.2 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.6663, allocations: 159.2 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.6663, allocations: 155.6 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.22e-05/0.6664, allocations: 102.5 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.6664, allocations: 79.22 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.6664, allocations: 155.6 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.6665, allocations: 154.6 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.6665, allocations: 151.5 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.6667, allocations: 0.4908 MB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 5.014e-05/0.6668, allocations: 172.8 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.72e-05/0.6668, allocations: 84.08 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.6669, allocations: 79.28 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.6669, allocations: 107.1 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.625e-06/0.6669, allocations: 1.656 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.736e-05/0.667, allocations: 33.61 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.667, allocations: 130.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.6672, allocations: 229.1 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.6673, allocations: 25.7 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.6673, allocations: 112.2 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.375e-06/0.6673, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-06/0.6674, allocations: 3.938 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.6674, allocations: 327.5 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.6675, allocations: 57.88 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.6676, allocations: 60.33 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.274e-05/0.6677, allocations: 64.05 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.448e-06/0.6677, allocations: 0 / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003014/0.668, allocations: 172.6 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.6681, allocations: 7.984 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.6681, allocations: 0.7188 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6681, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.476e-06/0.6681, allocations: 0.9688 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.526e-06/0.6681, allocations: 0 / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.905e-05/0.6682, allocations: 11.84 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.6682, allocations: 4.906 kB / 1.466 GB, free: 279.1 MB / 0.8542 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.937e-05/0.6683, allocations: 209.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.6684, allocations: 121.2 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.313e-05/0.6684, allocations: 115.7 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/0.6685, allocations: 186 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/0.6685, allocations: 180.3 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.6685, allocations: 180.3 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.6687, allocations: 440.4 kB / 1.467 GB, free: 277.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.821e-05/0.6688, allocations: 108.9 kB / 1.467 GB, free: 277.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.665e-05/0.6688, allocations: 105.6 kB / 1.467 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-05/0.6688, allocations: 177.3 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.6689, allocations: 181.2 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-05/0.6689, allocations: 185.5 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.627e-05/0.6689, allocations: 180.2 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.595e-05/0.669, allocations: 318 kB / 1.468 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.6691, allocations: 189.9 kB / 1.468 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.6691, allocations: 189.2 kB / 1.469 GB, free: 275.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.6692, allocations: 105 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.6693, allocations: 185.7 kB / 1.469 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.6693, allocations: 105.9 kB / 1.469 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001152/0.6694, allocations: 153.7 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.75e-07/0.6694, allocations: 0.9062 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003267/0.6698, allocations: 24 kB / 1.469 GB, free: 275.3 MB / 0.8542 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.0001244/0.6699, allocations: 180.4 kB / 1.469 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000152/0.6701, allocations: 84.23 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.72e-06/0.6701, allocations: 4.781 kB / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.327e-06/0.6701, allocations: 0 / 1.469 GB, free: 275 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.6705, allocations: 0.5315 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003574/0.6708, allocations: 305.1 kB / 1.47 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.671, allocations: 0.7121 MB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.671, allocations: 7.984 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.6711, allocations: 15.42 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.324e-06/0.6711, allocations: 0 / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003331/0.6744, allocations: 0.6743 MB / 1.472 GB, free: 272.8 MB / 0.8542 GB