Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.811/1.811, allocations: 288.3 MB / 303.2 MB, free: 8.059 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.00118/0.00118, allocations: 181 kB / 371.9 MB, free: 10.29 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.758/1.758, allocations: 205.4 MB / 0.6306 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 98.84 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005396/0.0005398, allocations: 16.05 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2898, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.0008025/0.2906, allocations: 284.5 kB / 0.9797 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 3.426e-05/0.2907, allocations: 0 / 0.9797 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.2907, allocations: 0 / 0.9797 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.2908, allocations: 4 kB / 0.9797 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.85e-05/0.2908, allocations: 0 / 0.9797 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.354e-05/0.2908, allocations: 7.938 kB / 0.9797 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.2909, allocations: 7.984 kB / 0.9797 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.291, allocations: 0 / 0.9797 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.291, allocations: 0 / 0.9797 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.112e-05/0.291, allocations: 3.938 kB / 0.9797 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.291, allocations: 4 kB / 0.9797 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-06/0.2911, allocations: 0 / 0.9797 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.496e-06/0.2911, allocations: 0 / 0.9797 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.2911, allocations: 25.7 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.503e-05/0.2912, allocations: 3.984 kB / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2912, allocations: 0 / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2912, allocations: 0 / 0.9798 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.2912, allocations: 4 kB / 0.9798 GB, free: 27.32 MB / 0.6198 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.0002285/0.2914, allocations: 307.4 kB / 0.9801 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.2915, allocations: 8.031 kB / 0.9801 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.2915, allocations: 0 / 0.9801 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.2916, allocations: 163 kB / 0.9802 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2917, allocations: 4 kB / 0.9802 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.2917, allocations: 4 kB / 0.9802 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.2918, allocations: 29.69 kB / 0.9803 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.2918, allocations: 4 kB / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2918, allocations: 3.938 kB / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2918, allocations: 0 / 0.9803 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.2918, allocations: 7.938 kB / 0.9803 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002832/0.2921, allocations: 381.1 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.061e-05/0.2922, allocations: 169.2 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.215e-05/0.2922, allocations: 79.28 kB / 0.9809 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.2923, allocations: 113.8 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.2923, allocations: 0 / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.644e-05/0.2924, allocations: 29.61 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2924, allocations: 134.7 kB / 0.9812 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.2925, allocations: 93.94 kB / 0.9812 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-06/0.2925, allocations: 29.73 kB / 0.9813 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/0.2926, allocations: 84.14 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-06/0.2926, allocations: 0 / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-07/0.2926, allocations: 0 / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.2926, allocations: 314.8 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.458e-06/0.2927, allocations: 0 / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.915e-06/0.2927, allocations: 0 / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.497e-05/0.2927, allocations: 79.28 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/0.2927, allocations: 83.22 kB / 0.9818 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.46e-05/0.2928, allocations: 29.7 kB / 0.9818 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.2928, allocations: 83.22 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.2929, allocations: 75.28 kB / 0.982 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.015e-05/0.2929, allocations: 162.5 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-05/0.2929, allocations: 79.27 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-05/0.293, allocations: 154.5 kB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.069e-05/0.2931, allocations: 79.28 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2931, allocations: 83.28 kB / 0.9825 GB, free: 24.29 MB / 0.6198 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 6.733e-05/0.2932, allocations: 261.7 kB / 0.9828 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.2932, allocations: 104.9 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.2933, allocations: 116.1 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.2933, allocations: 185.2 kB / 0.9832 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.2933, allocations: 176.3 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.2934, allocations: 180.3 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.2936, allocations: 409.1 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/0.2936, allocations: 101 kB / 0.984 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.2936, allocations: 108.9 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.753e-05/0.2937, allocations: 184.3 kB / 0.9843 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/0.2937, allocations: 184.2 kB / 0.9844 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-05/0.2938, allocations: 180.5 kB / 0.9846 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.453e-05/0.2938, allocations: 180.3 kB / 0.9848 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.882e-05/0.2939, allocations: 315.8 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.56e-05/0.2939, allocations: 182.1 kB / 0.9853 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.294, allocations: 184.2 kB / 0.9854 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.039e-05/0.2941, allocations: 101 kB / 0.9855 GB, free: 21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.2941, allocations: 180.2 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.2941, allocations: 101 kB / 0.9858 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.445e-05/0.2942, allocations: 91.27 kB / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2942, allocations: 0 / 0.9859 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004324/0.2946, allocations: 0 / 0.9859 GB, free: 20.62 MB / 0.6198 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.0001198/0.2948, allocations: 174.5 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.218e-05/0.2948, allocations: 3.938 kB / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2948, allocations: 0 / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.904e-06/0.2948, allocations: 96 / 0.9861 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.2951, allocations: 0.5226 MB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000195/0.2953, allocations: 161.9 kB / 0.9867 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.2954, allocations: 0.6731 MB / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.656e-06/0.2955, allocations: 0 / 0.9874 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.2955, allocations: 7.438 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.2955, allocations: 4 kB / 0.9874 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.002165/0.2977, allocations: 156.1 kB / 0.9875 GB, free: 18.86 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)