Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7759/0.7759, allocations: 143.4 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.2 MB / 447.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 99.91 kB / 0.5188 GB, free: 1.148 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001754/0.001754, allocations: 269.8 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 12.53 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1474, allocations: 82.79 MB / 0.7737 GB, free: 13.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.583, allocations: 110.2 MB / 0.8813 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.5832, allocations: 82.59 kB / 0.8814 GB, free: 31.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.009705/0.5929, allocations: 3.54 MB / 0.8849 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.603e-06/0.593, allocations: 0 / 0.8849 GB, free: 31.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.593, allocations: 4 kB / 0.8849 GB, free: 31.24 MB / 0.5417 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.0005749/0.5936, allocations: 456.1 kB / 0.8853 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5936, allocations: 8.906 kB / 0.8853 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.5937, allocations: 10.5 kB / 0.8853 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.5939, allocations: 202.3 kB / 0.8855 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.5939, allocations: 6.562 kB / 0.8855 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.5939, allocations: 3.781 kB / 0.8855 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.5942, allocations: 113.2 kB / 0.8857 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5942, allocations: 2.531 kB / 0.8857 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5943, allocations: 0 / 0.8857 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.5943, allocations: 4 kB / 0.8857 GB, free: 30.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003271/0.5946, allocations: 111.1 kB / 0.8858 GB, free: 30.55 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.5952, allocations: 367.1 kB / 0.8861 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.5956, allocations: 112.8 kB / 0.8862 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.5956, allocations: 0.9375 kB / 0.8862 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000289/0.5959, allocations: 125.4 kB / 0.8863 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.5959, allocations: 0 / 0.8863 GB, free: 30.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0006789/0.5966, allocations: 311.3 kB / 0.8866 GB, free: 30.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.5966, allocations: 62.02 kB / 0.8867 GB, free: 29.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.5967, allocations: 127.4 kB / 0.8868 GB, free: 29.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.5968, allocations: 26.27 kB / 0.8868 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.5968, allocations: 104 kB / 0.8869 GB, free: 29.78 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.5968, allocations: 29.64 kB / 0.887 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/0.5969, allocations: 1.25 kB / 0.887 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/0.5969, allocations: 320.8 kB / 0.8873 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.5971, allocations: 65.22 kB / 0.8873 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.5973, allocations: 66.11 kB / 0.8874 GB, free: 29.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.5975, allocations: 95.23 kB / 0.8875 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5975, allocations: 112 / 0.8875 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004523/0.598, allocations: 222.9 kB / 0.8877 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.598, allocations: 33.08 kB / 0.8877 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.598, allocations: 0 / 0.8877 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.5981, allocations: 0.75 kB / 0.8877 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5982, allocations: 33 kB / 0.8878 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.5982, allocations: 0 / 0.8878 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.5984, allocations: 21.45 kB / 0.8878 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.5984, allocations: 9.844 kB / 0.8878 GB, free: 29.29 MB / 0.5417 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 ($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: 1 * Record equations: 1 * 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 7.773e-05/0.5985, allocations: 116.7 kB / 0.8879 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.5985, allocations: 7.438 kB / 0.8879 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.599, allocations: 188.6 kB / 0.8881 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.599, allocations: 6.344 kB / 0.8881 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.599, allocations: 3.953 kB / 0.8881 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.599, allocations: 0.6562 kB / 0.8881 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.5992, allocations: 208 kB / 0.8883 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.5992, allocations: 0.5625 kB / 0.8883 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.5993, allocations: 24.66 kB / 0.8883 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5993, allocations: 0 / 0.8883 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5994, allocations: 3.688 kB / 0.8883 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5994, allocations: 5.062 kB / 0.8883 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5994, allocations: 4 kB / 0.8883 GB, free: 28.92 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.5998, allocations: 209.5 kB / 0.8885 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.5998, allocations: 84.42 kB / 0.8886 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.5999, allocations: 1.234 kB / 0.8886 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.6, allocations: 19.38 kB / 0.8886 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/0.6001, allocations: 20.73 kB / 0.8887 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.6001, allocations: 4.125 kB / 0.8887 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.152e-05/0.6002, allocations: 114.8 kB / 0.8888 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6002, allocations: 0 / 0.8888 GB, free: 28.66 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002683/0.6004, allocations: 38.61 kB / 0.8888 GB, free: 28.65 MB / 0.5417 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: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001575/0.6006, allocations: 130.2 kB / 0.8889 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.6011, allocations: 229.8 kB / 0.8892 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6011, allocations: 0 / 0.8892 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002161/0.6013, allocations: 105.2 kB / 0.8893 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.6015, allocations: 11.12 kB / 0.8893 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.602, allocations: 256 kB / 0.8895 GB, free: 28.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.6031, allocations: 0.7029 MB / 0.8902 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.656e-05/0.6032, allocations: 14.28 kB / 0.8902 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.6032, allocations: 16.19 kB / 0.8902 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of SimCode: time 3.81e-07/0.6032, allocations: 4 kB / 0.8902 GB, free: 43.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.004044/0.6073, allocations: 1.282 MB / 0.8915 GB, free: 43.44 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)