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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5966/0.5966, allocations: 94.77 MB / 102.2 MB, free: 10.13 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 180 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.832/1.832, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001758/0.001758, allocations: 113.6 kB / 381.3 MB, free: 18.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.203e-05/2.205e-05, allocations: 4 kB / 449.1 MB, free: 1.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1876, allocations: 61.52 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5854/0.7731, allocations: 94.35 MB / 0.5908 GB, free: 7.566 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.7734, allocations: 75.77 kB / 0.5909 GB, free: 7.496 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006675/0.7801, allocations: 1.868 MB / 0.5927 GB, free: 5.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7801, allocations: 0 / 0.5927 GB, free: 5.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.7802, allocations: 4 kB / 0.5927 GB, free: 5.664 MB / 410.7 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.0008339/0.781, allocations: 454.2 kB / 0.5931 GB, free: 5.172 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.464e-05/0.7811, allocations: 12.03 kB / 0.5931 GB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.296e-05/0.7812, allocations: 15.66 kB / 0.5932 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.7816, allocations: 204 kB / 0.5933 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.7816, allocations: 2.516 kB / 0.5933 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.7816, allocations: 10.23 kB / 0.5934 GB, free: 4.898 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001837/0.7818, allocations: 55.98 kB / 0.5934 GB, free: 4.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.782, allocations: 108.1 kB / 0.5935 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7821, allocations: 0 / 0.5935 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.593e-05/0.7821, allocations: 9.578 kB / 0.5935 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.7821, allocations: 0.5312 kB / 0.5935 GB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.7829, allocations: 338.4 kB / 0.5938 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.7831, allocations: 86.56 kB / 0.5939 GB, free: 4.273 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.7832, allocations: 64.91 kB / 0.594 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.7833, allocations: 4.438 kB / 0.594 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.7835, allocations: 115.4 kB / 0.5941 GB, free: 4.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.285e-06/0.7835, allocations: 0 / 0.5941 GB, free: 4.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003819/0.7839, allocations: 150 kB / 0.5942 GB, free: 3.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.177e-05/0.784, allocations: 89.03 kB / 0.5943 GB, free: 3.824 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.7841, allocations: 128.2 kB / 0.5945 GB, free: 3.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.7842, allocations: 25.7 kB / 0.5945 GB, free: 3.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.241e-05/0.7843, allocations: 112.2 kB / 0.5946 GB, free: 3.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.7843, allocations: 28.22 kB / 0.5946 GB, free: 3.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.7843, allocations: 0 / 0.5946 GB, free: 3.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.7845, allocations: 322.8 kB / 0.5949 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.7846, allocations: 55.91 kB / 0.595 GB, free: 3.137 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.7847, allocations: 51.98 kB / 0.595 GB, free: 3.086 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.351e-05/0.7848, allocations: 45.56 kB / 0.5951 GB, free: 3.043 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7849, allocations: 0 / 0.5951 GB, free: 3.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003022/0.7852, allocations: 165.4 kB / 0.5952 GB, free: 2.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.45e-05/0.7852, allocations: 75.39 kB / 0.5953 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.7853, allocations: 0 / 0.5953 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.7853, allocations: 0 / 0.5953 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.7855, allocations: 27.91 kB / 0.5953 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7855, allocations: 0 / 0.5953 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.7857, allocations: 38.53 kB / 0.5954 GB, free: 2.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.7858, allocations: 13.3 kB / 0.5954 GB, free: 2.715 MB / 410.7 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 () * 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 0.0001407/0.7859, allocations: 142.7 kB / 0.5955 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.7859, allocations: 21.17 kB / 0.5955 GB, free: 2.543 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.786, allocations: 12.62 kB / 0.5955 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.786, allocations: 0 / 0.5955 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.786, allocations: 0.6562 kB / 0.5955 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.786, allocations: 0 / 0.5955 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.7862, allocations: 178.1 kB / 0.5957 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7862, allocations: 4 kB / 0.5957 GB, free: 2.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.7864, allocations: 23.97 kB / 0.5957 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.7864, allocations: 4 kB / 0.5957 GB, free: 2.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.7864, allocations: 5.641 kB / 0.5958 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7864, allocations: 1.875 kB / 0.5958 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.7864, allocations: 3.938 kB / 0.5958 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.7868, allocations: 196.9 kB / 0.5959 GB, free: 2.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.7869, allocations: 100.9 kB / 0.596 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.787, allocations: 4 kB / 0.596 GB, free: 1.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.7871, allocations: 35.91 kB / 0.5961 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.7873, allocations: 23.97 kB / 0.5961 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.7873, allocations: 8.547 kB / 0.5961 GB, free: 1.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.23e-05/0.7874, allocations: 105.2 kB / 0.5962 GB, free: 1.781 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7874, allocations: 0 / 0.5962 GB, free: 1.781 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002315/0.7876, allocations: 27.91 kB / 0.5962 GB, free: 1.754 MB / 410.7 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) * 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 0.0001649/0.7878, allocations: 103.2 kB / 0.5963 GB, free: 1.645 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003991/0.7882, allocations: 286.4 kB / 0.5966 GB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7882, allocations: 0 / 0.5966 GB, free: 1.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.7885, allocations: 163.3 kB / 0.5968 GB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.7887, allocations: 15.98 kB / 0.5968 GB, free: 1.156 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.7892, allocations: 205.2 kB / 0.597 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.7896, allocations: 0.708 MB / 0.5977 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.815e-05/0.7897, allocations: 13.25 kB / 0.5977 GB, free: 200 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.7898, allocations: 7.438 kB / 0.5977 GB, free: 196 kB / 410.7 MB Notification: Performance of SimCode: time 3.8e-07/0.7898, allocations: 4 kB / 0.5977 GB, free: 192 kB / 410.7 MB Notification: Performance of Templates: time 0.004659/0.7944, allocations: 1.409 MB / 0.5991 GB, free: 14.84 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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)