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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001517/0.001517, allocations: 189.4 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.3 MB / 0.5485 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.66 kB / 0.671 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3307, allocations: 114.5 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.003786/0.3346, allocations: 0.6299 MB / 0.7835 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 8.129e-05/0.3347, allocations: 8 kB / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.3348, allocations: 4 kB / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.227e-05/0.3349, allocations: 0 / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-05/0.335, allocations: 0 / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.374e-05/0.335, allocations: 0 / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.73e-05/0.3351, allocations: 0 / 0.7835 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3353, allocations: 4 kB / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.505e-05/0.3353, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.365e-05/0.3353, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.3354, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.187e-05/0.3354, allocations: 0 / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.893e-05/0.3354, allocations: 3.984 kB / 0.7835 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.3355, allocations: 7.938 kB / 0.7835 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3356, allocations: 8 kB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.3356, allocations: 0 / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.408e-06/0.3356, allocations: 3.938 kB / 0.7835 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.3356, allocations: 3.984 kB / 0.7835 GB, free: 13.23 MB / 0.6075 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.0005716/0.3362, allocations: 307.6 kB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.498e-05/0.3363, allocations: 8.031 kB / 0.7838 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.3363, allocations: 4.875 kB / 0.7838 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.3366, allocations: 160.4 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.3366, allocations: 8.375 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3366, allocations: 4.359 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3368, allocations: 30.27 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3369, allocations: 192 / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3369, allocations: 3.938 kB / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3369, allocations: 0 / 0.784 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.701e-05/0.3369, allocations: 4 kB / 0.784 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005836/0.3375, allocations: 391.4 kB / 0.7844 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3377, allocations: 169.1 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.3378, allocations: 80.14 kB / 0.7846 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.749e-05/0.3378, allocations: 75.28 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.851e-05/0.3379, allocations: 105.8 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 3.447e-06/0.3379, allocations: 4 kB / 0.7848 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001127/0.3381, allocations: 33.67 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.3382, allocations: 134.6 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.3384, allocations: 101.8 kB / 0.7851 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.3384, allocations: 25.7 kB / 0.7851 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.089e-05/0.3385, allocations: 80.14 kB / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.3385, allocations: 0 / 0.7852 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3385, allocations: 9.719 kB / 0.7852 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002549/0.3388, allocations: 315 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.3388, allocations: 0 / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.3388, allocations: 4 kB / 0.7855 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.687e-05/0.3389, allocations: 75.28 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.095e-05/0.339, allocations: 79.28 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.662e-05/0.3391, allocations: 33.58 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/0.3391, allocations: 83.28 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-05/0.3392, allocations: 79.27 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/0.3393, allocations: 154.6 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.185e-05/0.3394, allocations: 79.22 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.123e-05/0.3395, allocations: 154.6 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.3396, allocations: 83.22 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.3396, allocations: 75.28 kB / 0.7864 GB, free: 10.1 MB / 0.6075 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.0002053/0.3399, allocations: 269 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.34, allocations: 110 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.77e-05/0.34, allocations: 108 kB / 0.7868 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001127/0.3402, allocations: 180.2 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001129/0.3403, allocations: 184.2 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001162/0.3404, allocations: 180.3 kB / 0.7873 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.3408, allocations: 405.2 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.141e-05/0.3409, allocations: 104.9 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/0.3409, allocations: 109 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.3411, allocations: 184.5 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001325/0.3412, allocations: 180.3 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001132/0.3413, allocations: 184.2 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001078/0.3415, allocations: 184.3 kB / 0.7886 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3417, allocations: 311.7 kB / 0.7889 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.3418, allocations: 178.1 kB / 0.7891 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.3419, allocations: 184.2 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/0.342, allocations: 101 kB / 0.7894 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.3421, allocations: 184.2 kB / 0.7895 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.3422, allocations: 108.9 kB / 0.7896 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.514e-05/0.3422, allocations: 83.28 kB / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3422, allocations: 0 / 0.7897 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003028/0.3425, allocations: 0 / 0.7897 GB, free: 6.414 MB / 0.6075 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.0002121/0.3428, allocations: 174.6 kB / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.633e-05/0.3428, allocations: 0 / 0.7899 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3428, allocations: 4 kB / 0.7899 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.3428, allocations: 0 / 0.7899 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.3433, allocations: 459.8 kB / 0.7903 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.3437, allocations: 164.2 kB / 0.7905 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3441, allocations: 0.6768 MB / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.118e-05/0.3442, allocations: 0 / 0.7912 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.3442, allocations: 7.438 kB / 0.7912 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.3442, allocations: 0 / 0.7912 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of Templates: time 0.003041/0.3473, allocations: 172.7 kB / 0.7913 GB, free: 4.707 MB / 0.6075 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)