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.649/1.649, allocations: 288.4 MB / 304.3 MB, free: 8.184 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.0009104/0.0009103, allocations: 188.4 kB / 373 MB, free: 10.15 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.527/1.527, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0008014/0.0008014, allocations: 90.17 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004277, allocations: 13.94 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7907/1.035, allocations: 137.1 MB / 1.115 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.035, allocations: 67.78 kB / 1.115 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001151/1.037, allocations: 367.8 kB / 1.115 GB, free: 32.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/1.037, allocations: 0 / 1.115 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.022e-06/1.037, allocations: 3.938 kB / 1.115 GB, free: 32.1 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.00025/1.037, allocations: 316.4 kB / 1.115 GB, free: 31.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/1.037, allocations: 7.688 kB / 1.115 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/1.037, allocations: 0.9375 kB / 1.115 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/1.037, allocations: 160.4 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/1.037, allocations: 384 / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/1.037, allocations: 7.312 kB / 1.116 GB, free: 31.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.083e-05/1.037, allocations: 30.27 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.037, allocations: 192 / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.037, allocations: 6.812 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.037, allocations: 0 / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/1.037, allocations: 3.844 kB / 1.116 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/1.038, allocations: 381.2 kB / 1.116 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/1.038, allocations: 176.9 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/1.038, allocations: 80.14 kB / 1.116 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/1.038, allocations: 78.72 kB / 1.116 GB, free: 30.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/1.038, allocations: 106.4 kB / 1.116 GB, free: 30.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/1.038, allocations: 0 / 1.116 GB, free: 30.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.306e-05/1.038, allocations: 37.05 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/1.038, allocations: 130.7 kB / 1.117 GB, free: 30.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.176e-05/1.038, allocations: 93.05 kB / 1.117 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/1.038, allocations: 29.55 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/1.038, allocations: 80.14 kB / 1.117 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/1.038, allocations: 0 / 1.117 GB, free: 30.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/1.038, allocations: 0 / 1.117 GB, free: 30.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.038, allocations: 310.8 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-06/1.038, allocations: 0 / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-06/1.038, allocations: 128 / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.159e-05/1.038, allocations: 81.69 kB / 1.117 GB, free: 29.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.598e-05/1.038, allocations: 78.89 kB / 1.117 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.207e-05/1.039, allocations: 38.05 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/1.039, allocations: 79.25 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/1.039, allocations: 82.31 kB / 1.117 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-05/1.039, allocations: 150.6 kB / 1.118 GB, free: 29.47 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/1.039, allocations: 79.22 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.209e-05/1.039, allocations: 154.6 kB / 1.118 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.472e-05/1.039, allocations: 86.83 kB / 1.118 GB, free: 29.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/1.039, allocations: 79.22 kB / 1.118 GB, free: 29.08 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.0001351/1.039, allocations: 263.4 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/1.039, allocations: 108.8 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/1.039, allocations: 110.9 kB / 1.118 GB, free: 28.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-05/1.039, allocations: 180.6 kB / 1.119 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.545e-05/1.039, allocations: 189.3 kB / 1.119 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/1.04, allocations: 180.1 kB / 1.119 GB, free: 28.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/1.04, allocations: 404.5 kB / 1.119 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/1.04, allocations: 108 kB / 1.119 GB, free: 27.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/1.04, allocations: 108 kB / 1.119 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-05/1.04, allocations: 181.7 kB / 1.12 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/1.04, allocations: 176.3 kB / 1.12 GB, free: 27.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.669e-05/1.04, allocations: 180.2 kB / 1.12 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.917e-05/1.04, allocations: 185.4 kB / 1.12 GB, free: 26.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/1.04, allocations: 314.6 kB / 1.12 GB, free: 26.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/1.04, allocations: 181.2 kB / 1.121 GB, free: 26.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/1.04, allocations: 183.1 kB / 1.121 GB, free: 25.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.808e-05/1.041, allocations: 101 kB / 1.121 GB, free: 25.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/1.041, allocations: 183.9 kB / 1.121 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/1.041, allocations: 108.9 kB / 1.121 GB, free: 25.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.028e-05/1.041, allocations: 85.28 kB / 1.121 GB, free: 25.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/1.041, allocations: 0 / 1.121 GB, free: 25.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002554/1.041, allocations: 0 / 1.121 GB, free: 25.48 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.0001655/1.041, allocations: 173.2 kB / 1.121 GB, free: 25.32 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.74e-05/1.041, allocations: 4.578 kB / 1.121 GB, free: 25.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.041, allocations: 4 kB / 1.121 GB, free: 25.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-06/1.041, allocations: 0 / 1.121 GB, free: 25.31 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/1.042, allocations: 0.5253 MB / 1.122 GB, free: 24.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002447/1.042, allocations: 156.8 kB / 1.122 GB, free: 24.61 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/1.042, allocations: 0.6731 MB / 1.123 GB, free: 23.91 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.027e-05/1.042, allocations: 0 / 1.123 GB, free: 23.91 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/1.042, allocations: 7.438 kB / 1.123 GB, free: 23.9 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.042, allocations: 0 / 1.123 GB, free: 23.9 MB / 0.698 GB Notification: Performance of Templates: time 0.002033/1.044, allocations: 159 kB / 1.123 GB, free: 23.86 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)