Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.85/1.85, allocations: 288.3 MB / 303.2 MB, free: 8.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 183.3 kB / 371.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.4 MB / 0.6306 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009021/0.0009025, allocations: 95.58 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004306/0.0004305, allocations: 12.69 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2581, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.825/1.083, allocations: 137.1 MB / 1.113 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/1.084, allocations: 74.58 kB / 1.113 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001353/1.085, allocations: 369.9 kB / 1.114 GB, free: 32.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.415e-06/1.085, allocations: 0 / 1.114 GB, free: 32.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.997e-06/1.085, allocations: 3.562 kB / 1.114 GB, free: 32.27 MB / 0.698 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.0003286/1.085, allocations: 307.3 kB / 1.114 GB, free: 31.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.085, allocations: 10.38 kB / 1.114 GB, free: 31.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/1.085, allocations: 7.031 kB / 1.114 GB, free: 31.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/1.086, allocations: 163 kB / 1.114 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/1.086, allocations: 3.375 kB / 1.114 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.086, allocations: 0 / 1.114 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001/1.086, allocations: 33.64 kB / 1.114 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.086, allocations: 0 / 1.114 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/1.086, allocations: 3.844 kB / 1.114 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/1.086, allocations: 0 / 1.114 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.159e-05/1.086, allocations: 0 / 1.114 GB, free: 31.68 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/1.086, allocations: 382.4 kB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/1.086, allocations: 175.9 kB / 1.115 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/1.086, allocations: 75.28 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/1.086, allocations: 109.8 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.086, allocations: 0 / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 9.033e-05/1.087, allocations: 29.42 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.834e-05/1.087, allocations: 126.7 kB / 1.115 GB, free: 30.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.087, allocations: 95.28 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/1.087, allocations: 25.7 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/1.087, allocations: 80.14 kB / 1.115 GB, free: 30.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-06/1.087, allocations: 0 / 1.115 GB, free: 30.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-06/1.087, allocations: 0 / 1.115 GB, free: 30.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001561/1.087, allocations: 325.2 kB / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-06/1.087, allocations: 0 / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-06/1.087, allocations: 0 / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.914e-05/1.087, allocations: 81.31 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/1.087, allocations: 79.28 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.737e-05/1.087, allocations: 28.84 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/1.087, allocations: 84.12 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/1.087, allocations: 79.22 kB / 1.116 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.831e-05/1.087, allocations: 150.6 kB / 1.116 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.472e-05/1.087, allocations: 78.97 kB / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-05/1.088, allocations: 158.5 kB / 1.116 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/1.088, allocations: 76.16 kB / 1.116 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/1.088, allocations: 86.27 kB / 1.116 GB, free: 29.34 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/1.088, allocations: 264.2 kB / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/1.088, allocations: 101.6 kB / 1.117 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/1.088, allocations: 104.1 kB / 1.117 GB, free: 28.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.044e-05/1.088, allocations: 191.7 kB / 1.117 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.609e-05/1.088, allocations: 180.2 kB / 1.117 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.337e-05/1.088, allocations: 184.2 kB / 1.117 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/1.089, allocations: 407.5 kB / 1.118 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.122e-05/1.089, allocations: 103.5 kB / 1.118 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/1.089, allocations: 117.4 kB / 1.118 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.781e-05/1.089, allocations: 176.3 kB / 1.118 GB, free: 27.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.018e-05/1.089, allocations: 183.9 kB / 1.118 GB, free: 27.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.257e-05/1.089, allocations: 176.3 kB / 1.119 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/1.089, allocations: 180.2 kB / 1.119 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/1.089, allocations: 306.2 kB / 1.119 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/1.089, allocations: 195 kB / 1.119 GB, free: 26.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/1.089, allocations: 180.1 kB / 1.119 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.09, allocations: 101 kB / 1.119 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/1.09, allocations: 183.8 kB / 1.12 GB, free: 25.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/1.09, allocations: 105 kB / 1.12 GB, free: 25.81 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.043e-05/1.09, allocations: 82.19 kB / 1.12 GB, free: 25.74 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/1.09, allocations: 0 / 1.12 GB, free: 25.74 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000365/1.09, allocations: 0 / 1.12 GB, free: 25.74 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/1.09, allocations: 173.6 kB / 1.12 GB, free: 25.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.161e-05/1.09, allocations: 4.422 kB / 1.12 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.09, allocations: 96 / 1.12 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.09, allocations: 4 kB / 1.12 GB, free: 25.57 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/1.091, allocations: 0.5261 MB / 1.121 GB, free: 25.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/1.091, allocations: 153.5 kB / 1.121 GB, free: 24.88 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/1.091, allocations: 0.6758 MB / 1.121 GB, free: 24.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.353e-05/1.091, allocations: 4 kB / 1.121 GB, free: 24.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/1.091, allocations: 7.438 kB / 1.121 GB, free: 24.17 MB / 0.698 GB Notification: Performance of SimCode: time 5.72e-07/1.091, allocations: 0 / 1.121 GB, free: 24.17 MB / 0.698 GB Notification: Performance of Templates: time 0.002143/1.094, allocations: 158.6 kB / 1.121 GB, free: 24.12 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)