Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.001369/0.001369, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.974/2.974, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 62.75 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.534, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003188/0.5373, allocations: 1.207 MB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003261/0.5377, allocations: 55.81 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.5377, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.308e-05/0.5378, allocations: 0 / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.5379, allocations: 7.938 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.5382, allocations: 15.97 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.148e-05/0.5383, allocations: 15.94 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.07e-05/0.5383, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.236e-05/0.5384, allocations: 7.984 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.746e-05/0.5385, allocations: 12.67 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.5385, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.5386, allocations: 8 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.5388, allocations: 48.44 kB / 1.07 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.5388, allocations: 39.69 kB / 1.07 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.539, allocations: 75.92 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.539, allocations: 3.938 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.876e-06/0.539, allocations: 4 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.539, allocations: 0 / 1.07 GB, free: 8.883 MB / 0.8262 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.0005706/0.5396, allocations: 422.8 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.5397, allocations: 12.03 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.639e-05/0.5398, allocations: 92.03 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.54, allocations: 263.4 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-05/0.5401, allocations: 158.6 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.5402, allocations: 154.6 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.006e-05/0.5403, allocations: 111.1 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.564e-05/0.5403, allocations: 75.28 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.5404, allocations: 150.6 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.724e-05/0.5405, allocations: 158.5 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.933e-05/0.5406, allocations: 158.5 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.541, allocations: 497.7 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.5411, allocations: 169.1 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.363e-05/0.5411, allocations: 84.14 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.5412, allocations: 75.28 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.5412, allocations: 113.8 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5413, allocations: 0 / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001236/0.5414, allocations: 37.52 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/0.5415, allocations: 134.7 kB / 1.072 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.5418, allocations: 223 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5418, allocations: 25.7 kB / 1.073 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.5419, allocations: 120 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.5419, allocations: 0 / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.542, allocations: 37.69 kB / 1.073 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.5422, allocations: 326.8 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.461e-05/0.5423, allocations: 63.89 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.776e-05/0.5424, allocations: 52.91 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.5426, allocations: 143.3 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5426, allocations: 0 / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000379/0.543, allocations: 169.5 kB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.543, allocations: 8.062 kB / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.543, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.543, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.308e-06/0.5431, allocations: 4 kB / 1.073 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5431, allocations: 3.984 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.608e-05/0.5431, allocations: 19.69 kB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.5432, allocations: 7.984 kB / 1.074 GB, free: 4.664 MB / 0.8262 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.0001594/0.5433, allocations: 205.6 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.5434, allocations: 124.7 kB / 1.074 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.5435, allocations: 117.3 kB / 1.074 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.5436, allocations: 184.1 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.112e-05/0.5437, allocations: 180.3 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/0.5437, allocations: 180.2 kB / 1.074 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.544, allocations: 441.1 kB / 1.075 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-05/0.5441, allocations: 105 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/0.5441, allocations: 104.9 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.907e-05/0.5442, allocations: 188.3 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.5443, allocations: 176.3 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.033e-05/0.5444, allocations: 184.1 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.716e-05/0.5445, allocations: 184.3 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.5447, allocations: 319.8 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.5448, allocations: 186 kB / 1.076 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.5449, allocations: 188.2 kB / 1.076 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.893e-05/0.545, allocations: 105 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/0.5451, allocations: 188.2 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.5451, allocations: 101 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001398/0.5453, allocations: 151.2 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5453, allocations: 0 / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002753/0.5455, allocations: 20 kB / 1.077 GB, free: 0.8906 MB / 0.8262 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.0002277/0.5458, allocations: 174.5 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.546, allocations: 83.91 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.546, allocations: 0 / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.785e-06/0.546, allocations: 3.938 kB / 1.077 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.5464, allocations: 463.7 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.547, allocations: 306.1 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.5474, allocations: 0.7119 MB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.5475, allocations: 4 kB / 1.079 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.5475, allocations: 15.42 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.5475, allocations: 0 / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of Templates: time 0.004205/0.5517, allocations: 0.7305 MB / 1.079 GB, free: 14.35 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile (rm -f Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1)