Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001614/0.001614, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.349/1.349, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.711/1.711, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001385/0.001385, allocations: 67.19 kB / 0.671 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2715, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003202/0.2747, allocations: 1.616 MB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.2758, allocations: 0.6126 MB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.18e-05/0.2759, allocations: 4 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.276, allocations: 7.938 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.2761, allocations: 15.84 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.2765, allocations: 83.86 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.2766, allocations: 95.64 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.2767, allocations: 24.2 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.2768, allocations: 43.84 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.2769, allocations: 47.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2769, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2771, allocations: 67.89 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.141e-05/0.2771, allocations: 19.92 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.005e-05/0.2772, allocations: 43.77 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.2774, allocations: 135.8 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2774, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2774, allocations: 0 / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2774, allocations: 0 / 0.7856 GB, free: 11.09 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007906/0.2782, allocations: 456.7 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2782, allocations: 12.03 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.2783, allocations: 12.78 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.2785, allocations: 200.1 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.2785, allocations: 4.375 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.2785, allocations: 4.375 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.2788, allocations: 105.9 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2789, allocations: 4 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2789, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.2789, allocations: 4 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.2792, allocations: 95.84 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.2799, allocations: 344.7 kB / 0.7868 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.2802, allocations: 94.5 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.2803, allocations: 56.88 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.2804, allocations: 11.94 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003379/0.2807, allocations: 107.3 kB / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2807, allocations: 0 / 0.787 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0006472/0.2814, allocations: 213.5 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.2814, allocations: 51.41 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.2815, allocations: 144.3 kB / 0.7874 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.2816, allocations: 29.7 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.913e-05/0.2816, allocations: 104.1 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.2817, allocations: 23.62 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.2817, allocations: 25.7 kB / 0.7876 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2819, allocations: 322.8 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.2821, allocations: 63.95 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.2822, allocations: 51.95 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.2826, allocations: 150.8 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.2826, allocations: 0 / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004596/0.2831, allocations: 199.2 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.2831, allocations: 37.8 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2831, allocations: 7.938 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2832, allocations: 0 / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2833, allocations: 19.97 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.2833, allocations: 7.938 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.2835, allocations: 19.92 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.2835, allocations: 4 kB / 0.7884 GB, free: 7.918 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.000103/0.2836, allocations: 122.4 kB / 0.7886 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.2836, allocations: 11.81 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.2837, allocations: 16.72 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.2837, allocations: 4 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2837, allocations: 0 / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2837, allocations: 3.984 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.2839, allocations: 197.6 kB / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2839, allocations: 0 / 0.7888 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.2841, allocations: 15.97 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2841, allocations: 4 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2841, allocations: 0 / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2841, allocations: 0 / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2841, allocations: 80 / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.2845, allocations: 196.7 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.2846, allocations: 85.02 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.2846, allocations: 0 / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2848, allocations: 19.95 kB / 0.7891 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.906e-05/0.2848, allocations: 15.98 kB / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.2849, allocations: 0 / 0.7891 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.601e-05/0.2849, allocations: 111.2 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2849, allocations: 4 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002509/0.2852, allocations: 43.88 kB / 0.7893 GB, free: 6.984 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001776/0.2854, allocations: 115.2 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004734/0.2858, allocations: 191.2 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2859, allocations: 4 kB / 0.7896 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.2861, allocations: 63.89 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.2863, allocations: 26.27 kB / 0.7896 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.2869, allocations: 255.6 kB / 0.7899 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.2871, allocations: 0.7002 MB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.759e-05/0.2872, allocations: 15.77 kB / 0.7906 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.2873, allocations: 11.44 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2873, allocations: 4 kB / 0.7906 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of Templates: time 0.003594/0.2909, allocations: 1.331 MB / 0.7919 GB, free: 4.223 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)