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.001405/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001439/0.001439, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.472/1.472, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.104/3.104, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 60.67 kB / 0.9113 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4905, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003071/0.4937, allocations: 1.267 MB / 1.069 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003636/0.4941, allocations: 58 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.4941, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.044e-05/0.4942, allocations: 7.922 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.4944, allocations: 7.984 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.4946, allocations: 7.984 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.4947, allocations: 35.91 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.078e-05/0.4948, allocations: 0 / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.513e-05/0.4948, allocations: 15.92 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.4949, allocations: 13.48 kB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4949, allocations: 4 kB / 1.069 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.102e-05/0.495, allocations: 7.938 kB / 1.069 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4951, allocations: 48.44 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.4952, allocations: 43.69 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.4954, allocations: 75.86 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4954, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4954, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.4954, allocations: 0 / 1.069 GB, free: 9.297 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.0005569/0.496, allocations: 426.8 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.496, allocations: 8.031 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.309e-05/0.4961, allocations: 88.03 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.4964, allocations: 274.7 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.4964, allocations: 154.5 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.4965, allocations: 150.6 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.4966, allocations: 109 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.4967, allocations: 75.28 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.4967, allocations: 150.6 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.614e-05/0.4968, allocations: 154.6 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.4969, allocations: 158.5 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.4973, allocations: 0.4899 MB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4974, allocations: 173.1 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.4975, allocations: 84.12 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.4975, allocations: 75.28 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.4976, allocations: 105.8 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.4976, allocations: 4 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001169/0.4977, allocations: 41.45 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.164e-05/0.4978, allocations: 126.7 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.4981, allocations: 235 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.4981, allocations: 25.7 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.4982, allocations: 104 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-06/0.4982, allocations: 4 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.4983, allocations: 41.69 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4985, allocations: 330.8 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.4986, allocations: 51.97 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.4986, allocations: 62.95 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.4989, allocations: 128.8 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4989, allocations: 0 / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004355/0.4993, allocations: 178 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4994, allocations: 15.92 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.4994, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4994, allocations: 0 / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.4994, allocations: 4.062 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.4994, allocations: 0 / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.4995, allocations: 23.62 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.4995, allocations: 7.938 kB / 1.073 GB, free: 5.074 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.0001859/0.4997, allocations: 201.1 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.054e-05/0.4998, allocations: 116.7 kB / 1.073 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.486e-05/0.4999, allocations: 113.3 kB / 1.073 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001375/0.5, allocations: 192.2 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001013/0.5001, allocations: 180.2 kB / 1.074 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001069/0.5002, allocations: 176.3 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.5007, allocations: 449 kB / 1.074 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-05/0.5008, allocations: 101 kB / 1.074 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.317e-05/0.5008, allocations: 101 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/0.501, allocations: 184.2 kB / 1.075 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5011, allocations: 188.3 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001051/0.5012, allocations: 180.2 kB / 1.075 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001117/0.5013, allocations: 180.2 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.5016, allocations: 327.8 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.5017, allocations: 186 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.5019, allocations: 188.2 kB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.502, allocations: 101 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001163/0.5021, allocations: 180.3 kB / 1.076 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.5022, allocations: 104.9 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001621/0.5024, allocations: 163.1 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5024, allocations: 0 / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002859/0.5026, allocations: 16 kB / 1.076 GB, free: 1.305 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.0002782/0.5029, allocations: 174.5 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.5031, allocations: 79.95 kB / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5032, allocations: 0 / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.5032, allocations: 0 / 1.077 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005434/0.5037, allocations: 0.5263 MB / 1.077 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.5044, allocations: 319.8 kB / 1.077 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004791/0.5049, allocations: 0.7127 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.5049, allocations: 7.984 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.5049, allocations: 11.44 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of SimCode: time 4.71e-07/0.5049, allocations: 4 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.004231/0.5092, allocations: 0.7188 MB / 1.079 GB, free: 14.69 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)