Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.569/1.569, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001134/0.001134, allocations: 169 kB / 366.7 MB, free: 1.633 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.706/1.706, allocations: 205.2 MB / 0.626 GB, free: 7.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 100.3 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.442e-05, allocations: 4 kB / 0.8597 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.706, allocations: 116.3 MB / 0.9733 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.9081, allocations: 137.3 MB / 1.107 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.9084, allocations: 71.94 kB / 1.107 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004803/0.9089, allocations: 374.2 kB / 1.108 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9089, allocations: 0 / 1.108 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.9089, allocations: 0.5312 kB / 1.108 GB, free: 12.41 MB / 0.7136 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.0002788/0.9092, allocations: 299.1 kB / 1.108 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.9093, allocations: 12.91 kB / 1.108 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.9093, allocations: 0 / 1.108 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.9094, allocations: 167.4 kB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.9095, allocations: 0.5312 kB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.9095, allocations: 0 / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.66e-05/0.9095, allocations: 12.36 kB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.619e-05/0.9096, allocations: 32.06 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9096, allocations: 0 / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.9096, allocations: 0.9688 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9096, allocations: 0 / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.91, allocations: 361.1 kB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.312e-05/0.91, allocations: 170.5 kB / 1.109 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.9101, allocations: 89.23 kB / 1.109 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.9101, allocations: 75.28 kB / 1.109 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.9102, allocations: 111.5 kB / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.9102, allocations: 0 / 1.109 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.471e-05/0.9103, allocations: 26.42 kB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.9103, allocations: 51.41 kB / 1.109 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.9104, allocations: 86.03 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.9104, allocations: 26.23 kB / 1.109 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.9105, allocations: 84.67 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.9105, allocations: 0 / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-07/0.9105, allocations: 2.969 kB / 1.109 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.9106, allocations: 317.4 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-06/0.9106, allocations: 1.219 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.9107, allocations: 0 / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.374e-05/0.9107, allocations: 87.16 kB / 1.11 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.9107, allocations: 76.75 kB / 1.11 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.819e-05/0.9108, allocations: 29.7 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/0.9109, allocations: 79.28 kB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.9109, allocations: 78.16 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.673e-05/0.911, allocations: 158.5 kB / 1.11 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-05/0.911, allocations: 75.28 kB / 1.11 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.138e-05/0.9111, allocations: 150.6 kB / 1.11 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.421e-05/0.9111, allocations: 84.52 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.9112, allocations: 75.28 kB / 1.111 GB, free: 9.473 MB / 0.7136 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 () * 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.0001299/0.9113, allocations: 261.1 kB / 1.111 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.3e-05/0.9114, allocations: 105 kB / 1.111 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.9115, allocations: 109.9 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-05/0.9116, allocations: 176.6 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.223e-05/0.9116, allocations: 192.7 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.659e-05/0.9117, allocations: 184.2 kB / 1.111 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.912, allocations: 373.8 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.454e-05/0.912, allocations: 101 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.9121, allocations: 117.8 kB / 1.112 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.671e-05/0.9121, allocations: 181.6 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/0.9122, allocations: 176.3 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.26e-05/0.9123, allocations: 181.6 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.884e-05/0.9124, allocations: 180.3 kB / 1.113 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.9125, allocations: 308.8 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.9126, allocations: 182.1 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.056e-05/0.9127, allocations: 184.2 kB / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/0.9128, allocations: 111.8 kB / 1.113 GB, free: 6.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.672e-05/0.9129, allocations: 180.3 kB / 1.114 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.9129, allocations: 105 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.913, allocations: 75.28 kB / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.913, allocations: 0 / 1.114 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000279/0.9133, allocations: 0 / 1.114 GB, free: 5.867 MB / 0.7136 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 () * 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.0001478/0.9134, allocations: 170.5 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.804e-05/0.9135, allocations: 12.03 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.9135, allocations: 0 / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.9135, allocations: 0 / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.9138, allocations: 0.5238 MB / 1.115 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.914, allocations: 126.4 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.9143, allocations: 0.6729 MB / 1.115 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.235e-06/0.9143, allocations: 1.406 kB / 1.115 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.526e-06/0.9143, allocations: 11.44 kB / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.9143, allocations: 0 / 1.115 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of Templates: time 0.001553/0.9159, allocations: 147.1 kB / 1.115 GB, free: 4.184 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)