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.001501/0.001501, allocations: 109.4 kB / 15.69 MB, free: 128 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.001657/0.001656, allocations: 186.6 kB / 16.62 MB, free: 6.613 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.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.861/1.861, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001426/0.001426, allocations: 73.27 kB / 0.6723 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2859, allocations: 114.5 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001971/0.2879, allocations: 0.5677 MB / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 3.803e-05/0.2879, allocations: 0 / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.288, allocations: 0 / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.288, allocations: 0 / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.112e-05/0.2881, allocations: 3.938 kB / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.338e-05/0.2881, allocations: 0 / 0.7847 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.2882, allocations: 11.98 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.2883, allocations: 4 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.804e-05/0.2883, allocations: 0 / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.147e-05/0.2883, allocations: 3.984 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2883, allocations: 0 / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-06/0.2883, allocations: 4 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.2883, allocations: 3.938 kB / 0.7847 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.2884, allocations: 3.938 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.889e-05/0.2884, allocations: 0 / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2885, allocations: 0 / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2885, allocations: 0 / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.2885, allocations: 0 / 0.7847 GB, free: 12.16 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.0003662/0.2889, allocations: 319.6 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.2889, allocations: 8.031 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.2889, allocations: 4.938 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.2891, allocations: 160.4 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.2891, allocations: 384 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-06/0.2891, allocations: 384 / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.213e-05/0.2892, allocations: 30.27 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2892, allocations: 192 / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.2892, allocations: 7.922 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2893, allocations: 4 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.791e-05/0.2893, allocations: 3.938 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.2896, allocations: 379.4 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.517e-05/0.2897, allocations: 177.1 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.2898, allocations: 80.14 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2898, allocations: 83.31 kB / 0.7859 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.2899, allocations: 113.8 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2899, allocations: 0 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.115e-05/0.2899, allocations: 25.7 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.29, allocations: 126.7 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.614e-05/0.2901, allocations: 105.8 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2901, allocations: 25.7 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.2902, allocations: 80.14 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.2902, allocations: 0 / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-05/0.2902, allocations: 17.7 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2903, allocations: 310.8 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.2903, allocations: 0 / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-06/0.2903, allocations: 0 / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.966e-05/0.2904, allocations: 75.28 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-05/0.2904, allocations: 83.34 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.54e-05/0.2905, allocations: 37.58 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.2905, allocations: 79.28 kB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/0.2906, allocations: 79.28 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.363e-05/0.2906, allocations: 158.5 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.882e-05/0.2907, allocations: 83.27 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.295e-05/0.2907, allocations: 150.6 kB / 0.7874 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.2908, allocations: 83.22 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.2908, allocations: 79.28 kB / 0.7876 GB, free: 9.02 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.0001185/0.291, allocations: 264.3 kB / 0.7878 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.291, allocations: 104.9 kB / 0.7879 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.803e-05/0.2911, allocations: 112.9 kB / 0.788 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-05/0.2912, allocations: 188.2 kB / 0.7882 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-05/0.2913, allocations: 180.2 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.102e-05/0.2913, allocations: 176.3 kB / 0.7885 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.2916, allocations: 413.1 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/0.2916, allocations: 105 kB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.418e-05/0.2917, allocations: 108.9 kB / 0.7891 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-05/0.2918, allocations: 176.3 kB / 0.7893 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.944e-05/0.2919, allocations: 180.3 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-05/0.292, allocations: 192.5 kB / 0.7897 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/0.292, allocations: 176.3 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/0.2922, allocations: 311.7 kB / 0.7901 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2923, allocations: 186.1 kB / 0.7903 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.574e-05/0.2924, allocations: 184.2 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.2925, allocations: 101 kB / 0.7906 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.2926, allocations: 180.2 kB / 0.7908 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.2926, allocations: 108.9 kB / 0.7909 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.2927, allocations: 87.27 kB / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2927, allocations: 0 / 0.7909 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002465/0.293, allocations: 0 / 0.7909 GB, free: 5.332 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.0001519/0.2931, allocations: 174.5 kB / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.277e-05/0.2932, allocations: 0 / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2932, allocations: 0 / 0.7911 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.645e-06/0.2932, allocations: 8.031 kB / 0.7911 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2936, allocations: 462.4 kB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.2938, allocations: 156.2 kB / 0.7917 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.2942, allocations: 0.6768 MB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.766e-06/0.2942, allocations: 0 / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.928e-05/0.2942, allocations: 7.438 kB / 0.7924 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2942, allocations: 4 kB / 0.7924 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of Templates: time 0.001971/0.2962, allocations: 156.8 kB / 0.7925 GB, free: 3.641 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)