Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, 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.003149/0.003149, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.547/1.547, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.132/3.132, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001316, allocations: 62.11 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4796/0.4809, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002976/0.4839, allocations: 0.613 MB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.987e-05/0.484, allocations: 11.92 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.4841, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.4841, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.46e-05/0.4842, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.989e-05/0.4842, allocations: 4 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.88e-05/0.4843, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.4844, allocations: 7.984 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.672e-05/0.4844, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.223e-05/0.4844, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.4844, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-06/0.4844, allocations: 4 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.4845, allocations: 3.984 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.4845, allocations: 3.938 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.4846, allocations: 4 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4846, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4846, allocations: 0 / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.4846, allocations: 0 / 1.068 GB, free: 10.2 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004045/0.485, allocations: 319.6 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.4851, allocations: 11.97 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.175e-05/0.4851, allocations: 0.9375 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.4853, allocations: 164.4 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4853, allocations: 4.312 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.4853, allocations: 4.375 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.479e-05/0.4854, allocations: 30.25 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4854, allocations: 192 / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.4855, allocations: 3.938 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.4855, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.4855, allocations: 4 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/0.4859, allocations: 379.5 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.486, allocations: 181 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.486, allocations: 80.14 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.087e-05/0.4861, allocations: 75.28 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.4861, allocations: 109.8 kB / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.765e-06/0.4861, allocations: 0 / 1.069 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.684e-05/0.4862, allocations: 35.84 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/0.4863, allocations: 134.6 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.4864, allocations: 93.86 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.4864, allocations: 29.7 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.199e-05/0.4865, allocations: 84.12 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.4865, allocations: 4.125 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.4865, allocations: 9.719 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.4866, allocations: 310.8 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.4867, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.4867, allocations: 0 / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.4867, allocations: 79.28 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.661e-05/0.4867, allocations: 75.28 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.844e-05/0.4868, allocations: 33.55 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.4869, allocations: 87.28 kB / 1.07 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.382e-05/0.4869, allocations: 83.22 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.553e-05/0.487, allocations: 154.5 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.487, allocations: 79.22 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-05/0.4871, allocations: 154.6 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.4872, allocations: 75.28 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.4872, allocations: 79.22 kB / 1.071 GB, free: 7.062 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 (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 prepare postOptimizeDAE: time 0.0001266/0.4873, allocations: 268.3 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.4874, allocations: 105 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.428e-05/0.4875, allocations: 115.8 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.307e-05/0.4875, allocations: 176.3 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.041e-05/0.4876, allocations: 176.3 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.83e-05/0.4877, allocations: 188.2 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.488, allocations: 409.1 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/0.4881, allocations: 104.9 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.913e-05/0.4881, allocations: 109 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/0.4882, allocations: 180.5 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.4882, allocations: 188.2 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.712e-05/0.4883, allocations: 180.3 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-05/0.4884, allocations: 188.2 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.4886, allocations: 303.7 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.419e-05/0.4887, allocations: 190.1 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.4888, allocations: 176.3 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.301e-05/0.4889, allocations: 108.9 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.4889, allocations: 180.3 kB / 1.074 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.489, allocations: 104.9 kB / 1.074 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.489, allocations: 83.27 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.489, allocations: 4.094 kB / 1.074 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002758/0.4893, allocations: 4 kB / 1.074 GB, free: 3.371 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.0001974/0.4895, allocations: 170.5 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 4.51e-05/0.4896, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4896, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-06/0.4896, allocations: 0 / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.4901, allocations: 0.5278 MB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.4903, allocations: 158 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.4907, allocations: 0.6692 MB / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.369e-05/0.4907, allocations: 0 / 1.076 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.078e-05/0.4907, allocations: 11.44 kB / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.4907, allocations: 0 / 1.076 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.00292/0.4937, allocations: 162.7 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)