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.001231/0.001231, allocations: 107 kB / 15.99 MB, free: 6.359 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.001161/0.001161, allocations: 193.8 kB / 16.91 MB, free: 6.195 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.552/1.552, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001657/0.001657, allocations: 69.28 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3521, allocations: 114.6 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002916/0.3551, allocations: 1.274 MB / 0.7848 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002907/0.3554, allocations: 51.83 kB / 0.7848 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.3554, allocations: 0 / 0.7848 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.3555, allocations: 11.92 kB / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001368/0.3557, allocations: 0 / 0.7848 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.3559, allocations: 15.98 kB / 0.7848 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.532e-05/0.3559, allocations: 19.92 kB / 0.7848 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.66e-05/0.356, allocations: 0 / 0.7848 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.192e-05/0.3561, allocations: 7.938 kB / 0.7849 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.3562, allocations: 17.47 kB / 0.7849 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3562, allocations: 4 kB / 0.7849 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.3563, allocations: 8 kB / 0.7849 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.3565, allocations: 48.44 kB / 0.7849 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.3566, allocations: 39.69 kB / 0.785 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.3567, allocations: 52.06 kB / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.3567, allocations: 0 / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.917e-06/0.3567, allocations: 0 / 0.785 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.3568, allocations: 0 / 0.785 GB, free: 12.32 MB / 0.6075 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.0007137/0.3575, allocations: 422.8 kB / 0.7854 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/0.3575, allocations: 12.03 kB / 0.7854 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.3577, allocations: 84.03 kB / 0.7855 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.358, allocations: 286.6 kB / 0.7858 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.3581, allocations: 154.6 kB / 0.7859 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.79e-05/0.3582, allocations: 154.6 kB / 0.7861 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3584, allocations: 101 kB / 0.7862 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.3584, allocations: 79.28 kB / 0.7863 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.3585, allocations: 154.6 kB / 0.7864 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.182e-05/0.3586, allocations: 150.6 kB / 0.7865 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.3588, allocations: 154.5 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.3594, allocations: 0.4938 MB / 0.7872 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3595, allocations: 169.1 kB / 0.7873 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.3596, allocations: 80.14 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.3597, allocations: 75.28 kB / 0.7875 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.465e-05/0.3598, allocations: 113.8 kB / 0.7876 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.3598, allocations: 0 / 0.7876 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001247/0.3599, allocations: 37.55 kB / 0.7876 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.36, allocations: 134.7 kB / 0.7878 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.3604, allocations: 219.1 kB / 0.788 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.3604, allocations: 25.7 kB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3605, allocations: 116 kB / 0.7881 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-06/0.3605, allocations: 0 / 0.7881 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.3606, allocations: 37.69 kB / 0.7881 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3608, allocations: 330.8 kB / 0.7885 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.744e-05/0.3609, allocations: 59.95 kB / 0.7885 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.607e-05/0.361, allocations: 56.72 kB / 0.7886 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.3612, allocations: 135.6 kB / 0.7887 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3612, allocations: 4 kB / 0.7887 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004083/0.3616, allocations: 177.3 kB / 0.7889 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.3617, allocations: 4 kB / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3617, allocations: 0 / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3617, allocations: 0 / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.934e-06/0.3617, allocations: 0 / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.3617, allocations: 0 / 0.7889 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.3618, allocations: 15.78 kB / 0.7889 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.3618, allocations: 8 kB / 0.7889 GB, free: 8.109 MB / 0.6075 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 0.000196/0.362, allocations: 205.1 kB / 0.7891 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.3621, allocations: 124.7 kB / 0.7892 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.473e-05/0.3622, allocations: 117.5 kB / 0.7893 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000102/0.3623, allocations: 176.3 kB / 0.7895 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.861e-05/0.3624, allocations: 181.3 kB / 0.7897 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.212e-05/0.3625, allocations: 180.3 kB / 0.7898 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.3628, allocations: 453.1 kB / 0.7903 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-05/0.3629, allocations: 101 kB / 0.7904 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.3629, allocations: 101 kB / 0.7905 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.723e-05/0.363, allocations: 184.2 kB / 0.7906 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.3631, allocations: 188.3 kB / 0.7908 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.533e-05/0.3632, allocations: 180.2 kB / 0.791 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.532e-05/0.3633, allocations: 176.3 kB / 0.7912 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.3635, allocations: 327.8 kB / 0.7915 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.3636, allocations: 193.9 kB / 0.7916 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3637, allocations: 184.2 kB / 0.7918 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3638, allocations: 109 kB / 0.7919 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.3639, allocations: 176.3 kB / 0.7921 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.364, allocations: 104.9 kB / 0.7922 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001419/0.3641, allocations: 168.5 kB / 0.7924 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3641, allocations: 0 / 0.7924 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003108/0.3645, allocations: 20 kB / 0.7924 GB, free: 4.32 MB / 0.6075 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.0002217/0.3647, allocations: 178.5 kB / 0.7925 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001664/0.3649, allocations: 75.97 kB / 0.7926 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3649, allocations: 0 / 0.7926 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3649, allocations: 0 / 0.7926 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.3654, allocations: 470.9 kB / 0.7931 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.3659, allocations: 351.8 kB / 0.7934 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.3663, allocations: 0.7119 MB / 0.7941 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.672e-05/0.3663, allocations: 7.438 kB / 0.7941 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3663, allocations: 0 / 0.7941 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of Templates: time 0.002936/0.3693, allocations: 1.118 MB / 0.7952 GB, free: 1.355 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)