Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.754/1.754, allocations: 287.5 MB / 302.6 MB, free: 8.223 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.0008976/0.0008977, allocations: 184.8 kB / 371.2 MB, free: 10.83 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.771/1.771, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008962/0.000896, allocations: 100.3 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004247, allocations: 11.95 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2877, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001105/0.2889, allocations: 277.9 kB / 0.979 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 6.674e-05/0.289, allocations: 4 kB / 0.979 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.289, allocations: 0 / 0.979 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.2891, allocations: 0 / 0.979 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.2891, allocations: 3.938 kB / 0.979 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.764e-05/0.2892, allocations: 4 kB / 0.979 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.2893, allocations: 4 kB / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2894, allocations: 0 / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.2894, allocations: 0 / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.2895, allocations: 3.938 kB / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.2895, allocations: 4 kB / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.194e-06/0.2895, allocations: 0 / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.2895, allocations: 0 / 0.979 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.2896, allocations: 25.7 kB / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.2896, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.2897, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.376e-06/0.2897, allocations: 0 / 0.979 GB, free: 27.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.2897, allocations: 4 kB / 0.979 GB, free: 27.85 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.0003519/0.29, allocations: 317.5 kB / 0.9793 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.2901, allocations: 8.031 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.2902, allocations: 0.9375 kB / 0.9793 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.2903, allocations: 160.4 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.2903, allocations: 4.375 kB / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.2903, allocations: 384 / 0.9795 GB, free: 27.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2905, allocations: 30.25 kB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.2905, allocations: 4.188 kB / 0.9795 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.2905, allocations: 3.938 kB / 0.9795 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.2905, allocations: 3.984 kB / 0.9795 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.523e-05/0.2905, allocations: 7.938 kB / 0.9795 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000384/0.2909, allocations: 387.5 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.291, allocations: 173.1 kB / 0.9801 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.805e-05/0.2911, allocations: 84.14 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.2911, allocations: 79.22 kB / 0.9802 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.2911, allocations: 109.8 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.2911, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.957e-05/0.2912, allocations: 33.73 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.2913, allocations: 126.7 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.728e-05/0.2914, allocations: 97.86 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.2914, allocations: 25.7 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.2914, allocations: 88.12 kB / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.216e-06/0.2914, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.2914, allocations: 0 / 0.9807 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.2915, allocations: 310.8 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-06/0.2915, allocations: 0 / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-06/0.2915, allocations: 0 / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/0.2916, allocations: 83.34 kB / 0.9811 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/0.2916, allocations: 79.22 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.631e-05/0.2917, allocations: 33.64 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.2917, allocations: 79.28 kB / 0.9812 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.2917, allocations: 79.28 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-05/0.2918, allocations: 154.5 kB / 0.9815 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.2918, allocations: 83.27 kB / 0.9815 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.56e-05/0.2919, allocations: 158.5 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.2919, allocations: 79.28 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.292, allocations: 75.28 kB / 0.9818 GB, free: 24.73 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 0.0001059/0.2921, allocations: 260.3 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.2921, allocations: 104.9 kB / 0.9822 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.2922, allocations: 120.1 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.601e-05/0.2922, allocations: 180.2 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.734e-05/0.2923, allocations: 177.1 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-05/0.2923, allocations: 176.3 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.2925, allocations: 413.1 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/0.2925, allocations: 101 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/0.2925, allocations: 112.9 kB / 0.9834 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.087e-05/0.2925, allocations: 180.3 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.2926, allocations: 176.3 kB / 0.9838 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.14e-05/0.2926, allocations: 184.5 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.254e-05/0.2927, allocations: 176.3 kB / 0.9841 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.684e-05/0.2928, allocations: 319.7 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.2928, allocations: 190 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.2929, allocations: 176.3 kB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.2929, allocations: 105 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.293, allocations: 184.2 kB / 0.985 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.293, allocations: 105 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.293, allocations: 79.27 kB / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.293, allocations: 0 / 0.9852 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002852/0.2933, allocations: 0 / 0.9852 GB, free: 21.06 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.0001407/0.2935, allocations: 170.5 kB / 0.9854 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.98e-05/0.2935, allocations: 8.031 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2936, allocations: 4 kB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.2936, allocations: 0 / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.2939, allocations: 0.5226 MB / 0.9859 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.2941, allocations: 147.3 kB / 0.986 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.2942, allocations: 0.6809 MB / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.14e-05/0.2942, allocations: 0 / 0.9867 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.771e-05/0.2943, allocations: 7.438 kB / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.2943, allocations: 0 / 0.9867 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.00214/0.2964, allocations: 156.2 kB / 0.9869 GB, free: 19.31 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)