Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001057/0.001057, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.4 MB / 222.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.555/0.555, allocations: 95.58 MB / 365.9 MB, free: 10.38 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005148/0.0005148, allocations: 23.91 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 70.33 MB / 0.505 GB, free: 16.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00128/0.2813, allocations: 1.234 MB / 0.5062 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005946/0.2819, allocations: 495.9 kB / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.266e-05/0.2819, allocations: 0 / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.865e-05/0.282, allocations: 3.938 kB / 0.5067 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.837e-05/0.2821, allocations: 27.89 kB / 0.5067 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.2823, allocations: 31.91 kB / 0.5067 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.012e-05/0.2824, allocations: 67.83 kB / 0.5068 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.2825, allocations: 20.22 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.781e-05/0.2826, allocations: 43.84 kB / 0.5069 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.2827, allocations: 47.81 kB / 0.5069 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2827, allocations: 4 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.512e-05/0.2827, allocations: 4 kB / 0.5069 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.2828, allocations: 11.98 kB / 0.5069 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.2828, allocations: 41.64 kB / 0.507 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.85e-05/0.2829, allocations: 65.84 kB / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2829, allocations: 0 / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2829, allocations: 0 / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.2829, allocations: 0 / 0.507 GB, free: 14.44 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006117/0.2835, allocations: 482.3 kB / 0.5075 GB, free: 13.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.2836, allocations: 15.98 kB / 0.5075 GB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.2836, allocations: 11.81 kB / 0.5075 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2838, allocations: 194.9 kB / 0.5077 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.2838, allocations: 8 kB / 0.5077 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.2838, allocations: 8 kB / 0.5077 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2841, allocations: 137.6 kB / 0.5078 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2841, allocations: 0 / 0.5078 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.2842, allocations: 4 kB / 0.5078 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2842, allocations: 0 / 0.5078 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.2845, allocations: 131.8 kB / 0.508 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/0.285, allocations: 372.6 kB / 0.5083 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/0.2853, allocations: 142.5 kB / 0.5085 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.2854, allocations: 4 kB / 0.5085 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.2857, allocations: 151.4 kB / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.2857, allocations: 0 / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006972/0.2864, allocations: 416.1 kB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.2864, allocations: 93.09 kB / 0.5091 GB, free: 12.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.2865, allocations: 148.6 kB / 0.5092 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.2866, allocations: 29.7 kB / 0.5093 GB, free: 11.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.2866, allocations: 96.12 kB / 0.5094 GB, free: 11.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.2866, allocations: 31.56 kB / 0.5094 GB, free: 11.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.2866, allocations: 8 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.2867, allocations: 318.8 kB / 0.5097 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.2869, allocations: 91.88 kB / 0.5098 GB, free: 11.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.2871, allocations: 87.94 kB / 0.5099 GB, free: 11.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.2873, allocations: 151.3 kB / 0.51 GB, free: 11.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2873, allocations: 4 kB / 0.51 GB, free: 11.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004524/0.2878, allocations: 296.8 kB / 0.5103 GB, free: 10.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.344e-05/0.2878, allocations: 71.39 kB / 0.5104 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2878, allocations: 0 / 0.5104 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2879, allocations: 0 / 0.5104 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.288, allocations: 23.98 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.288, allocations: 7.953 kB / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2882, allocations: 43.8 kB / 0.5104 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2882, allocations: 4 kB / 0.5104 GB, free: 10.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * 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 9.467e-05/0.2883, allocations: 159.5 kB / 0.5106 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.2884, allocations: 11.89 kB / 0.5106 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.2884, allocations: 16.66 kB / 0.5106 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.2884, allocations: 0 / 0.5106 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2884, allocations: 0 / 0.5106 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2884, allocations: 3.953 kB / 0.5106 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2885, allocations: 205.6 kB / 0.5108 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2885, allocations: 4 kB / 0.5108 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.2886, allocations: 23.98 kB / 0.5108 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2887, allocations: 8.438 kB / 0.5109 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2887, allocations: 4 kB / 0.5109 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2887, allocations: 0 / 0.5109 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2887, allocations: 0 / 0.5109 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.2892, allocations: 318.3 kB / 0.5112 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.476e-05/0.2892, allocations: 85.02 kB / 0.5112 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2893, allocations: 8 kB / 0.5113 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001586/0.2894, allocations: 31.95 kB / 0.5113 GB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.807e-05/0.2895, allocations: 19.97 kB / 0.5113 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2895, allocations: 7.938 kB / 0.5113 GB, free: 9.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.86e-05/0.2896, allocations: 111.2 kB / 0.5114 GB, free: 9.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2896, allocations: 0 / 0.5114 GB, free: 9.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.2898, allocations: 32 kB / 0.5114 GB, free: 9.496 MB / 382.1 MB 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: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 8.256e-05/0.2899, allocations: 99.25 kB / 0.5115 GB, free: 9.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005139/0.2904, allocations: 362.7 kB / 0.5119 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2904, allocations: 0 / 0.5119 GB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.2907, allocations: 191.3 kB / 0.5121 GB, free: 8.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.2909, allocations: 22.02 kB / 0.5121 GB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.2913, allocations: 323.6 kB / 0.5124 GB, free: 8.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.2915, allocations: 0.7043 MB / 0.5131 GB, free: 7.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.943e-05/0.2915, allocations: 11.98 kB / 0.5131 GB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.2916, allocations: 15.42 kB / 0.5131 GB, free: 7.688 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2916, allocations: 0 / 0.5131 GB, free: 7.688 MB / 382.1 MB Notification: Performance of Templates: time 0.003265/0.2949, allocations: 1.479 MB / 0.5146 GB, free: 6.215 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) Environment - environmentSimulation: