Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002457/0.002462, allocations: 355.4 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.404/1.404, allocations: 165.8 MB / 182.5 MB, free: 5.48 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.102/4.102, allocations: 410.7 MB / 0.5995 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001708/0.001707, allocations: 188.5 kB / 0.6662 GB, free: 6.926 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 15.94 kB / 0.7423 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3357, allocations: 67.44 MB / 0.8081 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001482/0.3372, allocations: 1.243 MB / 0.8094 GB, free: 27.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.3381, allocations: 497.2 kB / 0.8098 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.3382, allocations: 0 / 0.8098 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.3383, allocations: 7.922 kB / 0.8098 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.3384, allocations: 11.88 kB / 0.8098 GB, free: 27.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.3386, allocations: 35.88 kB / 0.8099 GB, free: 26.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3388, allocations: 103.6 kB / 0.81 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3389, allocations: 12.22 kB / 0.81 GB, free: 26.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.339, allocations: 43.83 kB / 0.81 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.7e-05/0.3391, allocations: 43.83 kB / 0.8101 GB, free: 26.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3392, allocations: 4 kB / 0.8101 GB, free: 26.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.114e-05/0.3392, allocations: 4 kB / 0.8101 GB, free: 26.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.485e-05/0.3392, allocations: 23.91 kB / 0.8101 GB, free: 26.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.3393, allocations: 37.7 kB / 0.8101 GB, free: 26.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.3394, allocations: 61.98 kB / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.123e-06/0.3395, allocations: 4 kB / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.596e-06/0.3395, allocations: 0 / 0.8102 GB, free: 26.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.193e-06/0.3395, allocations: 0 / 0.8102 GB, free: 26.65 MB / 378.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.0007429/0.3402, allocations: 482.2 kB / 0.8107 GB, free: 26.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3403, allocations: 8.031 kB / 0.8107 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/0.3404, allocations: 11.91 kB / 0.8107 GB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.3405, allocations: 190.9 kB / 0.8109 GB, free: 25.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.3406, allocations: 8 kB / 0.8109 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.3406, allocations: 7.953 kB / 0.8109 GB, free: 25.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.341, allocations: 141.6 kB / 0.811 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3411, allocations: 3.938 kB / 0.811 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.3411, allocations: 0 / 0.811 GB, free: 25.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.709e-06/0.3411, allocations: 4 kB / 0.811 GB, free: 25.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.3416, allocations: 131.9 kB / 0.8112 GB, free: 25.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.3422, allocations: 364.6 kB / 0.8115 GB, free: 25.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.3427, allocations: 146.4 kB / 0.8116 GB, free: 25.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.343, allocations: 104.9 kB / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.3431, allocations: 3.984 kB / 0.8117 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.3435, allocations: 155.2 kB / 0.8119 GB, free: 24.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.428e-06/0.3435, allocations: 0 / 0.8119 GB, free: 24.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001119/0.3447, allocations: 339.1 kB / 0.8122 GB, free: 24.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.784e-05/0.3448, allocations: 93.09 kB / 0.8123 GB, free: 24.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.345, allocations: 135.5 kB / 0.8124 GB, free: 24.15 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.345, allocations: 33.7 kB / 0.8125 GB, free: 24.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.3451, allocations: 104 kB / 0.8126 GB, free: 24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3452, allocations: 31.55 kB / 0.8126 GB, free: 23.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.3452, allocations: 0 / 0.8126 GB, free: 23.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.3453, allocations: 326.8 kB / 0.8129 GB, free: 23.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.3455, allocations: 91.94 kB / 0.813 GB, free: 23.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.3458, allocations: 95.88 kB / 0.8131 GB, free: 23.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000287/0.3461, allocations: 143.3 kB / 0.8132 GB, free: 23.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.342e-06/0.3462, allocations: 3.984 kB / 0.8132 GB, free: 23.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007044/0.3469, allocations: 301 kB / 0.8135 GB, free: 22.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.696e-05/0.3469, allocations: 71.39 kB / 0.8136 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.359e-06/0.347, allocations: 0 / 0.8136 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.347, allocations: 0 / 0.8136 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.3472, allocations: 23.98 kB / 0.8136 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.797e-06/0.3472, allocations: 0 / 0.8136 GB, free: 22.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.3475, allocations: 51.73 kB / 0.8137 GB, free: 22.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.3475, allocations: 4 kB / 0.8137 GB, free: 22.83 MB / 378.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 () * 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 0.0001323/0.3476, allocations: 163.5 kB / 0.8138 GB, free: 22.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3477, allocations: 15.89 kB / 0.8138 GB, free: 22.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.3477, allocations: 12.72 kB / 0.8138 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3477, allocations: 480 / 0.8138 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-06/0.3478, allocations: 0 / 0.8138 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-06/0.3478, allocations: 0 / 0.8138 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3479, allocations: 205.5 kB / 0.814 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3479, allocations: 4 kB / 0.814 GB, free: 22.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.3481, allocations: 23.92 kB / 0.8141 GB, free: 22.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.531e-06/0.3482, allocations: 7.984 kB / 0.8141 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.3482, allocations: 0 / 0.8141 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3482, allocations: 4 kB / 0.8141 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3482, allocations: 0 / 0.8141 GB, free: 22.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.3489, allocations: 310.5 kB / 0.8144 GB, free: 22.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.349, allocations: 92.86 kB / 0.8145 GB, free: 21.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.349, allocations: 4 kB / 0.8145 GB, free: 21.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.3493, allocations: 39.95 kB / 0.8145 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3494, allocations: 19.97 kB / 0.8145 GB, free: 21.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.3494, allocations: 4 kB / 0.8145 GB, free: 21.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.3495, allocations: 110 kB / 0.8146 GB, free: 21.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.39e-07/0.3495, allocations: 0 / 0.8146 GB, free: 21.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003103/0.3498, allocations: 24 kB / 0.8146 GB, free: 21.71 MB / 378.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) * 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 0.000105/0.35, allocations: 100 kB / 0.8147 GB, free: 21.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/0.3507, allocations: 366.6 kB / 0.8151 GB, free: 21.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.027e-06/0.3507, allocations: 4 kB / 0.8151 GB, free: 21.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/0.3511, allocations: 191.4 kB / 0.8153 GB, free: 21.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3514, allocations: 22.44 kB / 0.8153 GB, free: 21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.3522, allocations: 319.5 kB / 0.8156 GB, free: 20.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.3523, allocations: 0.7043 MB / 0.8163 GB, free: 19.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.123e-05/0.3524, allocations: 11.98 kB / 0.8163 GB, free: 19.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3525, allocations: 15.42 kB / 0.8163 GB, free: 19.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.648e-06/0.3525, allocations: 0 / 0.8163 GB, free: 19.9 MB / 378.7 MB Notification: Performance of Templates: time 0.004976/0.3575, allocations: 1.492 MB / 0.8178 GB, free: 18.41 MB / 378.7 MB