Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009236/0.0009239, allocations: 180.7 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000858/0.0008582, allocations: 87.09 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 16.53 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.3536, allocations: 130.9 MB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.3539, allocations: 67.95 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.000446/0.3544, allocations: 376.9 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.698e-06/0.3544, allocations: 0 / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3544, allocations: 3.938 kB / 1.029 GB, free: 12.18 MB / 0.6823 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.0002226/0.3546, allocations: 311.5 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3547, allocations: 12.09 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.692e-05/0.3547, allocations: 4.922 kB / 1.03 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.3548, allocations: 168.3 kB / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3548, allocations: 384 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.3548, allocations: 384 / 1.03 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.097e-05/0.3549, allocations: 34.2 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.3549, allocations: 192 / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.3549, allocations: 3.938 kB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.355, allocations: 0 / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.363e-05/0.355, allocations: 0 / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.3553, allocations: 384.6 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.3554, allocations: 177 kB / 1.031 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.3554, allocations: 80.14 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3554, allocations: 79.31 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.3555, allocations: 109.8 kB / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3555, allocations: 0 / 1.031 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 6.436e-05/0.3556, allocations: 29.69 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.3556, allocations: 126.7 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.091e-05/0.3557, allocations: 97.86 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.3557, allocations: 29.64 kB / 1.031 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.3558, allocations: 80.14 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-06/0.3558, allocations: 0 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-06/0.3558, allocations: 128 / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/0.3559, allocations: 324.4 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.246e-06/0.3559, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-06/0.3559, allocations: 0 / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.304e-05/0.3559, allocations: 75.28 kB / 1.032 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.02e-05/0.356, allocations: 75.28 kB / 1.032 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.09e-05/0.356, allocations: 37.62 kB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.356, allocations: 79.28 kB / 1.032 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.3561, allocations: 83.22 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.6e-05/0.3561, allocations: 150.6 kB / 1.032 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.391e-05/0.3562, allocations: 83.28 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-05/0.3562, allocations: 154.5 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.718e-05/0.3563, allocations: 83.22 kB / 1.032 GB, free: 9.145 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.3563, allocations: 79.22 kB / 1.032 GB, free: 9.066 MB / 0.6823 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.000107/0.3564, allocations: 272.3 kB / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.3565, allocations: 101 kB / 1.033 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.3566, allocations: 108.1 kB / 1.033 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-05/0.3566, allocations: 180.2 kB / 1.033 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.815e-05/0.3567, allocations: 180.3 kB / 1.033 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-05/0.3568, allocations: 188.2 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.357, allocations: 401.2 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-05/0.357, allocations: 105 kB / 1.034 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.106e-05/0.3571, allocations: 108.9 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.192e-05/0.3571, allocations: 180.2 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/0.3572, allocations: 180.2 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.139e-05/0.3572, allocations: 188.3 kB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.822e-05/0.3573, allocations: 180.2 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.3574, allocations: 307.8 kB / 1.035 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.699e-05/0.3575, allocations: 186 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.835e-05/0.3576, allocations: 184.7 kB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.3577, allocations: 109 kB / 1.035 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.324e-05/0.3577, allocations: 180.2 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3578, allocations: 101 kB / 1.036 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.808e-05/0.3578, allocations: 79.28 kB / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3578, allocations: 0 / 1.036 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002518/0.3581, allocations: 0 / 1.036 GB, free: 5.398 MB / 0.6823 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.0001225/0.3582, allocations: 174.6 kB / 1.036 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 3.069e-05/0.3582, allocations: 7.953 kB / 1.036 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3582, allocations: 4 kB / 1.036 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3583, allocations: 3.938 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3586, allocations: 0.5356 MB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001766/0.3588, allocations: 150 kB / 1.037 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.359, allocations: 0.6731 MB / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.793e-06/0.359, allocations: 0 / 1.037 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.3591, allocations: 7.438 kB / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3591, allocations: 0 / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of Templates: time 0.001444/0.3605, allocations: 164.2 kB / 1.037 GB, free: 3.621 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)