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.001372/0.001373, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001321/0.001321, allocations: 195.4 kB / 16.25 MB, free: 6.617 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.454/1.454, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.051/3.051, allocations: 472.6 MB / 0.7448 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 59.31 kB / 0.9115 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4773, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003054/0.4805, allocations: 1.27 MB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003188/0.4808, allocations: 57.98 kB / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.4809, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.4809, allocations: 0 / 1.069 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.4811, allocations: 11.94 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002156/0.4813, allocations: 15.97 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.4814, allocations: 11.94 kB / 1.069 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.4815, allocations: 3.938 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.113e-05/0.4815, allocations: 11.97 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/0.4816, allocations: 21.44 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.4817, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.4818, allocations: 8 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.4819, allocations: 48.44 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.4819, allocations: 35.69 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.4821, allocations: 75.92 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.4821, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4821, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.4821, allocations: 0 / 1.069 GB, free: 9.195 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.0005495/0.4827, allocations: 426.8 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.4828, allocations: 15.95 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.957e-05/0.4829, allocations: 92.03 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.4831, allocations: 266.8 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/0.4832, allocations: 158.5 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.871e-05/0.4832, allocations: 150.6 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.019e-05/0.4833, allocations: 109 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.4834, allocations: 75.28 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.757e-05/0.4834, allocations: 150.6 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.4835, allocations: 154.6 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.4836, allocations: 150.6 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.4839, allocations: 0.5015 MB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4841, allocations: 169.1 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.4841, allocations: 84.14 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.4841, allocations: 75.28 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.4842, allocations: 109.8 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.4842, allocations: 0 / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.895e-05/0.4843, allocations: 41.45 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.4844, allocations: 126.7 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.4847, allocations: 231 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.4847, allocations: 25.7 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.4848, allocations: 108 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.4848, allocations: 4 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.4849, allocations: 41.69 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.485, allocations: 330.8 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.4851, allocations: 55.95 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.4852, allocations: 55.97 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.4854, allocations: 132.8 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.4854, allocations: 0 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003448/0.4857, allocations: 174.1 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.4857, allocations: 8 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4857, allocations: 3.938 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4858, allocations: 4.062 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-07/0.4858, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.4858, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.546e-05/0.4858, allocations: 19.69 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.4859, allocations: 11.92 kB / 1.073 GB, free: 4.969 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.0001511/0.486, allocations: 205 kB / 1.073 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.4861, allocations: 112.8 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.478e-05/0.4861, allocations: 121.2 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/0.4862, allocations: 184.3 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-05/0.4863, allocations: 184.2 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-05/0.4864, allocations: 180.2 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.4867, allocations: 437.1 kB / 1.074 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.4867, allocations: 104.9 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.4867, allocations: 105 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.711e-05/0.4868, allocations: 184.2 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.4869, allocations: 188.3 kB / 1.075 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.461e-05/0.487, allocations: 176.3 kB / 1.075 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.289e-05/0.487, allocations: 184.4 kB / 1.075 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4872, allocations: 327.5 kB / 1.076 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.4873, allocations: 186 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.4874, allocations: 184.3 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4875, allocations: 104.9 kB / 1.076 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/0.4876, allocations: 180.3 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.655e-05/0.4877, allocations: 112.9 kB / 1.076 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001244/0.4878, allocations: 155.2 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4878, allocations: 0 / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002589/0.4881, allocations: 16 kB / 1.077 GB, free: 1.195 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.0002102/0.4883, allocations: 182.5 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001765/0.4885, allocations: 75.97 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4885, allocations: 0 / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.4885, allocations: 4.062 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.4889, allocations: 463.6 kB / 1.077 GB, free: 480 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.4894, allocations: 326 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.4898, allocations: 0.708 MB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.594e-05/0.4898, allocations: 7.984 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.661e-05/0.4899, allocations: 15.42 kB / 1.078 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.4899, allocations: 4 kB / 1.078 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of Templates: time 0.003612/0.4935, allocations: 0.7267 MB / 1.079 GB, free: 14.64 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)