Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.315/1.315, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 184.1 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 0.5785 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008334/0.0008333, allocations: 98.09 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003781, allocations: 11.94 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.177, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.3229, allocations: 133.4 MB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.3231, allocations: 67.97 kB / 1.032 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009954/0.3331, allocations: 3.521 MB / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3331, allocations: 0 / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.3332, allocations: 4 kB / 1.035 GB, free: 6.922 MB / 0.6823 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.0006049/0.3338, allocations: 456.7 kB / 1.035 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3338, allocations: 8.031 kB / 1.035 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.3339, allocations: 16.84 kB / 1.035 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.3341, allocations: 200.6 kB / 1.036 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3341, allocations: 4.312 kB / 1.036 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3341, allocations: 8.375 kB / 1.036 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.3344, allocations: 106.2 kB / 1.036 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3344, allocations: 8.125 kB / 1.036 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.3344, allocations: 11.94 kB / 1.036 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3344, allocations: 0 / 1.036 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.3348, allocations: 99.92 kB / 1.036 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.3354, allocations: 376.5 kB / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.3357, allocations: 106.5 kB / 1.036 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.3359, allocations: 64.89 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.3359, allocations: 7.984 kB / 1.036 GB, free: 5.316 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002677/0.3362, allocations: 131.3 kB / 1.037 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3362, allocations: 0 / 1.037 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.00068/0.3369, allocations: 225.5 kB / 1.037 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.3369, allocations: 55.34 kB / 1.037 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.3371, allocations: 148.2 kB / 1.037 GB, free: 4.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.3371, allocations: 29.7 kB / 1.037 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3372, allocations: 96.05 kB / 1.037 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3372, allocations: 27.64 kB / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.3372, allocations: 0 / 1.037 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3373, allocations: 330.8 kB / 1.037 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.3375, allocations: 59.95 kB / 1.037 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.3377, allocations: 63.95 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.3381, allocations: 166.5 kB / 1.038 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3381, allocations: 112 / 1.038 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004697/0.3386, allocations: 227 kB / 1.038 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.3386, allocations: 29.7 kB / 1.038 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.3386, allocations: 0 / 1.038 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3387, allocations: 4 kB / 1.038 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3388, allocations: 31.95 kB / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.3388, allocations: 0 / 1.038 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.339, allocations: 19.98 kB / 1.038 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.339, allocations: 0 / 1.038 GB, free: 3.621 MB / 0.6823 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 0.0001019/0.3391, allocations: 129.8 kB / 1.038 GB, free: 3.484 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.3391, allocations: 11.91 kB / 1.038 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004697/0.3396, allocations: 182.7 kB / 1.038 GB, free: 3.289 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3396, allocations: 4 kB / 1.038 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3397, allocations: 3.938 kB / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3397, allocations: 0 / 1.038 GB, free: 3.281 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3399, allocations: 217.4 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3399, allocations: 0 / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.34, allocations: 23.92 kB / 1.038 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.34, allocations: 3.984 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.34, allocations: 8 kB / 1.039 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3401, allocations: 4.094 kB / 1.039 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3401, allocations: 0 / 1.039 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004616/0.3405, allocations: 204.9 kB / 1.039 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.3406, allocations: 81.02 kB / 1.039 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.3406, allocations: 4 kB / 1.039 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.3408, allocations: 23.92 kB / 1.039 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.3408, allocations: 19.97 kB / 1.039 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3409, allocations: 4 kB / 1.039 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.572e-05/0.3409, allocations: 112.8 kB / 1.039 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3409, allocations: 0 / 1.039 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002574/0.3412, allocations: 40 kB / 1.039 GB, free: 2.465 MB / 0.6823 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.0002086/0.3414, allocations: 127.2 kB / 1.039 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.3419, allocations: 229 kB / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3419, allocations: 0 / 1.039 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.3422, allocations: 105.6 kB / 1.039 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.3424, allocations: 10.66 kB / 1.039 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006019/0.343, allocations: 260.6 kB / 1.04 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.3433, allocations: 0.6965 MB / 1.04 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.882e-05/0.3434, allocations: 15.98 kB / 1.04 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.724e-05/0.3434, allocations: 15.42 kB / 1.04 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of SimCode: time 3.51e-07/0.3435, allocations: 0 / 1.04 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of Templates: time 0.004166/0.3476, allocations: 1.269 MB / 1.042 GB, free: 15.67 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)