Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 101.4 kB / 15.98 MB, free: 6.348 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.001096/0.001096, allocations: 194.8 kB / 16.91 MB, free: 6.188 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.522/1.522, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.716/1.716, allocations: 292.3 MB / 0.5492 GB, free: 13.65 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.001596/0.001596, allocations: 63.92 kB / 0.6717 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2891, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.00286/0.292, allocations: 0.6043 MB / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 6.151e-05/0.2921, allocations: 3.938 kB / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.2922, allocations: 0 / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.138e-05/0.2922, allocations: 0 / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.158e-05/0.2923, allocations: 4 kB / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.431e-05/0.2924, allocations: 0 / 0.7841 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.2925, allocations: 11.98 kB / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.838e-05/0.2925, allocations: 0 / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.947e-05/0.2926, allocations: 0 / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.496e-05/0.2926, allocations: 0 / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2926, allocations: 0 / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-06/0.2926, allocations: 4 kB / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.2927, allocations: 0 / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.2927, allocations: 3.938 kB / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.2928, allocations: 0 / 0.7842 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2928, allocations: 4 kB / 0.7842 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.346e-06/0.2928, allocations: 0 / 0.7842 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.2928, allocations: 0 / 0.7842 GB, free: 13.26 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.0004971/0.2933, allocations: 315.6 kB / 0.7845 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.2934, allocations: 8.031 kB / 0.7845 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.2934, allocations: 4.938 kB / 0.7845 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.2936, allocations: 160.4 kB / 0.7846 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2937, allocations: 4.312 kB / 0.7846 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.2937, allocations: 384 / 0.7846 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2938, allocations: 30.27 kB / 0.7847 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2938, allocations: 4.188 kB / 0.7847 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.2939, allocations: 7.922 kB / 0.7847 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.2939, allocations: 0 / 0.7847 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.2939, allocations: 0 / 0.7847 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.2944, allocations: 387.4 kB / 0.785 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.2945, allocations: 185 kB / 0.7852 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.2946, allocations: 80.14 kB / 0.7853 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.2946, allocations: 75.28 kB / 0.7854 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.848e-05/0.2947, allocations: 113.9 kB / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.784e-06/0.2947, allocations: 0 / 0.7855 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.154e-05/0.2948, allocations: 29.64 kB / 0.7855 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.019e-05/0.2949, allocations: 130.7 kB / 0.7856 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.295, allocations: 97.86 kB / 0.7857 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.2951, allocations: 25.7 kB / 0.7857 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.2951, allocations: 84.12 kB / 0.7858 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.2951, allocations: 0 / 0.7858 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.2952, allocations: 13.66 kB / 0.7858 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2953, allocations: 314.8 kB / 0.7861 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.893e-06/0.2953, allocations: 8.125 kB / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-06/0.2953, allocations: 0 / 0.7861 GB, free: 11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.2954, allocations: 75.28 kB / 0.7862 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.972e-05/0.2954, allocations: 75.28 kB / 0.7863 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.053e-05/0.2955, allocations: 33.64 kB / 0.7863 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.2955, allocations: 79.28 kB / 0.7864 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-05/0.2956, allocations: 83.22 kB / 0.7865 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.618e-05/0.2957, allocations: 150.6 kB / 0.7866 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.361e-05/0.2957, allocations: 91.2 kB / 0.7867 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.796e-05/0.2958, allocations: 150.6 kB / 0.7869 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.731e-05/0.2959, allocations: 75.28 kB / 0.7869 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.2959, allocations: 79.22 kB / 0.787 GB, free: 10.12 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.0001851/0.2961, allocations: 265 kB / 0.7873 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.2962, allocations: 110 kB / 0.7874 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.2963, allocations: 112 kB / 0.7875 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-05/0.2964, allocations: 184.2 kB / 0.7876 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-05/0.2965, allocations: 180.2 kB / 0.7878 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.401e-05/0.2966, allocations: 176.3 kB / 0.788 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.2968, allocations: 413.2 kB / 0.7884 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-05/0.2969, allocations: 108.9 kB / 0.7885 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.297, allocations: 101 kB / 0.7886 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.185e-05/0.297, allocations: 180.5 kB / 0.7887 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/0.2971, allocations: 180.3 kB / 0.7889 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.979e-05/0.2972, allocations: 184.2 kB / 0.7891 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.349e-05/0.2973, allocations: 188.2 kB / 0.7893 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.2975, allocations: 303.7 kB / 0.7896 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.2976, allocations: 186.1 kB / 0.7897 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.2976, allocations: 180.3 kB / 0.7899 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.093e-05/0.2977, allocations: 108.9 kB / 0.79 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.208e-05/0.2978, allocations: 180.3 kB / 0.7902 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.2979, allocations: 104.9 kB / 0.7903 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.2979, allocations: 83.27 kB / 0.7904 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2979, allocations: 0 / 0.7904 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002781/0.2982, allocations: 0 / 0.7904 GB, free: 6.438 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.0002205/0.2985, allocations: 182.6 kB / 0.7905 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 5.097e-05/0.2985, allocations: 4 kB / 0.7905 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2985, allocations: 0 / 0.7905 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/0.2985, allocations: 0 / 0.7905 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.299, allocations: 459.8 kB / 0.791 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.2993, allocations: 193.9 kB / 0.7912 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.2997, allocations: 0.6729 MB / 0.7918 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.2997, allocations: 7.438 kB / 0.7918 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.2997, allocations: 0 / 0.7918 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of Templates: time 0.001831/0.3016, allocations: 319.9 kB / 0.7921 GB, free: 4.547 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)