Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 109.4 kB / 15.69 MB, free: 124 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.001316/0.001316, allocations: 188.4 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.784/1.784, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.882/1.882, allocations: 292.3 MB / 0.5489 GB, free: 12.76 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.001486/0.001486, allocations: 81 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2824, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.002207/0.2846, allocations: 0.7115 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2857, allocations: 0.832 MB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.2858, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.005e-05/0.2858, allocations: 11.92 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.2859, allocations: 7.922 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.2861, allocations: 11.98 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.2863, allocations: 43.91 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2864, allocations: 8 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.2865, allocations: 19.92 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.2866, allocations: 23.91 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.2866, allocations: 4 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.359e-05/0.2866, allocations: 8 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.2867, allocations: 15.92 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.2867, allocations: 7.938 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.2868, allocations: 59.73 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2869, allocations: 0 / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.2869, allocations: 0 / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.2869, allocations: 0 / 0.7859 GB, free: 10.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007485/0.2876, allocations: 383.3 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.2877, allocations: 12.03 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.2877, allocations: 4.844 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2879, allocations: 176.2 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.2879, allocations: 384 / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.2879, allocations: 4.375 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.2882, allocations: 66.22 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2882, allocations: 192 / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2882, allocations: 11.92 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2882, allocations: 7.938 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.2884, allocations: 47.89 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.289, allocations: 292.8 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.2893, allocations: 50.55 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.854e-05/0.2894, allocations: 28.94 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.2894, allocations: 0 / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.2894, allocations: 38.56 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.2894, allocations: 0 / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0003803/0.2898, allocations: 93.53 kB / 0.787 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.2899, allocations: 51.41 kB / 0.7871 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.29, allocations: 113.8 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.29, allocations: 29.7 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.2901, allocations: 92.08 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2901, allocations: 7.891 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.2901, allocations: 17.72 kB / 0.7873 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2903, allocations: 318.8 kB / 0.7876 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.722e-05/0.2903, allocations: 23.97 kB / 0.7877 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.455e-05/0.2904, allocations: 19.98 kB / 0.7877 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2906, allocations: 48.81 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2906, allocations: 0 / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001978/0.2908, allocations: 77.56 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2908, allocations: 4 kB / 0.7878 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2908, allocations: 3.938 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2909, allocations: 4 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.2909, allocations: 11.92 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2909, allocations: 0 / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.291, allocations: 23.92 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2911, allocations: 0 / 0.7878 GB, free: 8.676 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: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001083/0.2912, allocations: 117.8 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.2912, allocations: 0 / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.2915, allocations: 81.55 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2915, allocations: 4 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2915, allocations: 4.375 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2915, allocations: 384 / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.2917, allocations: 177.5 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2917, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.803e-05/0.2918, allocations: 15.86 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2918, allocations: 0 / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.2918, allocations: 7.984 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2918, allocations: 0 / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2918, allocations: 0 / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.292, allocations: 171.5 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.2921, allocations: 85.02 kB / 0.7885 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.2921, allocations: 4 kB / 0.7885 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.2923, allocations: 15.97 kB / 0.7885 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.2923, allocations: 11.98 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2923, allocations: 4 kB / 0.7885 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.2924, allocations: 87.28 kB / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2924, allocations: 0 / 0.7886 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002124/0.2926, allocations: 8 kB / 0.7886 GB, free: 7.789 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001305/0.2927, allocations: 103.2 kB / 0.7887 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.293, allocations: 47.95 kB / 0.7887 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.293, allocations: 4 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.2931, allocations: 23.98 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.2934, allocations: 7.938 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.2937, allocations: 133.4 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.294, allocations: 0.6807 MB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.559e-05/0.2941, allocations: 11.94 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.2941, allocations: 7.438 kB / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2941, allocations: 0 / 0.7896 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of Templates: time 0.00311/0.2972, allocations: 0.8168 MB / 0.7904 GB, free: 5.906 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)