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.001671/0.001671, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.694/1.694, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.793/1.793, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001539/0.001539, allocations: 75.02 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.306/0.3075, allocations: 114.5 MB / 0.7834 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002557/0.3102, allocations: 0.5496 MB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.688e-05/0.3102, allocations: 7.922 kB / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.3103, allocations: 0 / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.919e-05/0.3103, allocations: 0 / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.77e-05/0.3104, allocations: 0 / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.223e-05/0.3104, allocations: 0 / 0.7839 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.3105, allocations: 8 kB / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.3106, allocations: 0 / 0.7839 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.909e-05/0.3106, allocations: 4 kB / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.171e-05/0.3106, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3106, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-06/0.3107, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.3107, allocations: 0 / 0.7839 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.469e-05/0.3107, allocations: 7.938 kB / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.3108, allocations: 0 / 0.784 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3108, allocations: 3.984 kB / 0.784 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3108, allocations: 0 / 0.784 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3108, allocations: 0 / 0.784 GB, free: 12.85 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.0003506/0.3112, allocations: 319.6 kB / 0.7843 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3112, allocations: 8.031 kB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.3113, allocations: 8.875 kB / 0.7843 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.3114, allocations: 164.4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.3114, allocations: 4.359 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.3114, allocations: 4.312 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.3115, allocations: 26.27 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3115, allocations: 192 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3116, allocations: 7.938 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3116, allocations: 0 / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.3116, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.312, allocations: 387.4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.326e-05/0.3121, allocations: 173.1 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.3121, allocations: 80.14 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3122, allocations: 79.28 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.711e-05/0.3122, allocations: 113.9 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.3122, allocations: 0 / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.874e-05/0.3123, allocations: 29.64 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.3124, allocations: 130.6 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.3125, allocations: 101.8 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.3125, allocations: 25.83 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.3125, allocations: 84.14 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.834e-06/0.3125, allocations: 0 / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-05/0.3126, allocations: 9.719 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3127, allocations: 314.8 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.668e-06/0.3127, allocations: 0 / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-06/0.3127, allocations: 0 / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.3127, allocations: 75.28 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-05/0.3128, allocations: 75.28 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.692e-05/0.3128, allocations: 41.58 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.214e-05/0.3129, allocations: 80.22 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/0.3129, allocations: 79.27 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.722e-05/0.313, allocations: 158.5 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.3131, allocations: 83.22 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.966e-05/0.3131, allocations: 150.6 kB / 0.7867 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.965e-05/0.3132, allocations: 83.22 kB / 0.7867 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.3133, allocations: 75.28 kB / 0.7868 GB, free: 9.703 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.0001219/0.3134, allocations: 265 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.244e-05/0.3135, allocations: 109 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.34e-05/0.3135, allocations: 109.1 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.006e-05/0.3136, allocations: 184.3 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-05/0.3137, allocations: 180.2 kB / 0.7876 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.855e-05/0.3138, allocations: 176.3 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.3141, allocations: 405.2 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.41e-05/0.3141, allocations: 112.9 kB / 0.7883 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.942e-05/0.3142, allocations: 101 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-05/0.3143, allocations: 188.2 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.3144, allocations: 180.2 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.291e-05/0.3145, allocations: 184.5 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001128/0.3146, allocations: 184.3 kB / 0.7891 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.3148, allocations: 315.7 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.3149, allocations: 178.1 kB / 0.7895 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.53e-05/0.3149, allocations: 184.2 kB / 0.7897 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.259e-05/0.315, allocations: 105 kB / 0.7898 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.3151, allocations: 184.2 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.3152, allocations: 104.9 kB / 0.7901 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.3152, allocations: 83.28 kB / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3152, allocations: 0 / 0.7902 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002849/0.3155, allocations: 0 / 0.7902 GB, free: 6.02 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.0001492/0.3157, allocations: 170.5 kB / 0.7903 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.818e-05/0.3157, allocations: 8 kB / 0.7903 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3157, allocations: 0 / 0.7903 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.3157, allocations: 0 / 0.7903 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3161, allocations: 463.9 kB / 0.7908 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002477/0.3164, allocations: 156.2 kB / 0.7909 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.3166, allocations: 0.6729 MB / 0.7916 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.883e-06/0.3166, allocations: 0 / 0.7916 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.3166, allocations: 7.438 kB / 0.7916 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.3166, allocations: 0 / 0.7916 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of Templates: time 0.001976/0.3186, allocations: 179.5 kB / 0.7918 GB, free: 4.316 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)