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.001379/0.001379, allocations: 108 kB / 15.6 MB, free: 132 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.001256/0.001256, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.407/1.407, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.713/1.713, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001565/0.001565, allocations: 67.48 kB / 0.6715 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.273/0.2746, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003209/0.2779, allocations: 1.565 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.2795, allocations: 0.6096 MB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.501e-05/0.2796, allocations: 0 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2797, allocations: 11.88 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.2798, allocations: 19.84 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005296/0.2804, allocations: 95.7 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.2806, allocations: 95.7 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.2807, allocations: 24.22 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.2809, allocations: 47.77 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.281, allocations: 39.84 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.2811, allocations: 11.94 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.2812, allocations: 63.89 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.695e-05/0.2813, allocations: 19.92 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.2814, allocations: 47.77 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.2816, allocations: 131.8 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.2817, allocations: 0 / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.494e-06/0.2817, allocations: 4 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2817, allocations: 0 / 0.7861 GB, free: 10.65 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.001159/0.2829, allocations: 452.7 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.2829, allocations: 8.031 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.741e-05/0.283, allocations: 12.84 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2834, allocations: 192.1 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2834, allocations: 4.312 kB / 0.7867 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.2834, allocations: 16.36 kB / 0.7867 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004271/0.2839, allocations: 105.9 kB / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2839, allocations: 0 / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2839, allocations: 0 / 0.7868 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.805e-05/0.284, allocations: 8 kB / 0.7868 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004533/0.2844, allocations: 87.84 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.2853, allocations: 344.7 kB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.2858, allocations: 90.5 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.2861, allocations: 68.88 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2861, allocations: 0 / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004757/0.2866, allocations: 115.3 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.2866, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0008813/0.2875, allocations: 209.5 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.2875, allocations: 55.41 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.2877, allocations: 144.8 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.088e-05/0.2878, allocations: 29.7 kB / 0.7879 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.2879, allocations: 100.1 kB / 0.788 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.2879, allocations: 31.56 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.288, allocations: 25.7 kB / 0.7881 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2882, allocations: 326.8 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.2885, allocations: 55.95 kB / 0.7884 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.2888, allocations: 55.95 kB / 0.7885 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.2893, allocations: 150.5 kB / 0.7886 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2894, allocations: 7.938 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006957/0.2901, allocations: 195.2 kB / 0.7888 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.271e-05/0.2901, allocations: 33.7 kB / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2902, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.2902, allocations: 0 / 0.7889 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2904, allocations: 23.97 kB / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2904, allocations: 0 / 0.7889 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.2907, allocations: 19.92 kB / 0.7889 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.2907, allocations: 0 / 0.7889 GB, free: 7.492 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.0001555/0.2909, allocations: 138.3 kB / 0.789 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.2909, allocations: 11.81 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.803e-05/0.291, allocations: 12.7 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/0.291, allocations: 8 kB / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.291, allocations: 0 / 0.7891 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.291, allocations: 7.984 kB / 0.7891 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2912, allocations: 189.6 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2912, allocations: 0 / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/0.2914, allocations: 23.97 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2914, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.2914, allocations: 0 / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2914, allocations: 4 kB / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2914, allocations: 0 / 0.7893 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.2918, allocations: 184.8 kB / 0.7895 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.2919, allocations: 88.95 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.2919, allocations: 192 / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2921, allocations: 19.97 kB / 0.7896 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.2922, allocations: 15.92 kB / 0.7896 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.286e-05/0.2922, allocations: 8 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.451e-05/0.2923, allocations: 111.2 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2923, allocations: 0 / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002762/0.2926, allocations: 43.86 kB / 0.7897 GB, free: 6.543 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.0001956/0.2928, allocations: 115.2 kB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004945/0.2933, allocations: 191.2 kB / 0.79 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2933, allocations: 0 / 0.79 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2935, allocations: 67.89 kB / 0.7901 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.2937, allocations: 10.95 kB / 0.7901 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.2944, allocations: 239.6 kB / 0.7903 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.2947, allocations: 0.6963 MB / 0.791 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.676e-05/0.2948, allocations: 19.77 kB / 0.791 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/0.2949, allocations: 11.44 kB / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2949, allocations: 0 / 0.791 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of Templates: time 0.004408/0.2993, allocations: 1.415 MB / 0.7924 GB, free: 3.734 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)