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.002635/0.002636, allocations: 357.5 kB / 16.59 MB, free: 5.562 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.478/1.478, allocations: 165.8 MB / 183.1 MB, free: 5.391 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.119/4.119, allocations: 410.7 MB / 0.6001 GB, free: 15.37 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.001813/0.001813, allocations: 205.3 kB / 0.6668 GB, free: 6.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007344/0.0007349, allocations: 12 kB / 0.7429 GB, free: 9.008 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.467, allocations: 67.43 MB / 0.8087 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001684/0.4687, allocations: 1.243 MB / 0.8099 GB, free: 27.56 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009091/0.4697, allocations: 489.2 kB / 0.8104 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.4698, allocations: 4 kB / 0.8104 GB, free: 27.07 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.4699, allocations: 11.92 kB / 0.8104 GB, free: 27.06 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.47, allocations: 11.88 kB / 0.8104 GB, free: 27.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.4702, allocations: 39.88 kB / 0.8105 GB, free: 27.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.4704, allocations: 99.56 kB / 0.8106 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4705, allocations: 16.23 kB / 0.8106 GB, free: 26.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.4706, allocations: 47.83 kB / 0.8106 GB, free: 26.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.4707, allocations: 43.81 kB / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.4708, allocations: 4 kB / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.287e-05/0.4708, allocations: 4 kB / 0.8107 GB, free: 26.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.4709, allocations: 15.92 kB / 0.8107 GB, free: 26.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.4709, allocations: 37.7 kB / 0.8107 GB, free: 26.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.471, allocations: 65.98 kB / 0.8108 GB, free: 26.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.471, allocations: 0 / 0.8108 GB, free: 26.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4711, allocations: 4 kB / 0.8108 GB, free: 26.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.4711, allocations: 0 / 0.8108 GB, free: 26.67 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.0009808/0.4721, allocations: 474.2 kB / 0.8113 GB, free: 26.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4721, allocations: 11.97 kB / 0.8113 GB, free: 26.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.4722, allocations: 23.89 kB / 0.8113 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.4725, allocations: 192.6 kB / 0.8115 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4725, allocations: 0 / 0.8115 GB, free: 25.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.4725, allocations: 19.94 kB / 0.8115 GB, free: 25.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00055/0.4731, allocations: 129.6 kB / 0.8116 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4731, allocations: 0 / 0.8116 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4732, allocations: 4 kB / 0.8116 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.4732, allocations: 7.938 kB / 0.8116 GB, free: 25.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006874/0.4739, allocations: 131.9 kB / 0.8117 GB, free: 25.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007731/0.4747, allocations: 360.6 kB / 0.8121 GB, free: 25.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.4752, allocations: 146.4 kB / 0.8122 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.4756, allocations: 108.9 kB / 0.8123 GB, free: 24.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.4757, allocations: 4 kB / 0.8123 GB, free: 24.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/0.4762, allocations: 147.3 kB / 0.8125 GB, free: 24.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.364e-06/0.4762, allocations: 0 / 0.8125 GB, free: 24.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001226/0.4774, allocations: 339.1 kB / 0.8128 GB, free: 24.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4775, allocations: 93.09 kB / 0.8129 GB, free: 24.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4776, allocations: 136.6 kB / 0.813 GB, free: 24.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4777, allocations: 33.7 kB / 0.8131 GB, free: 24.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.4778, allocations: 100 kB / 0.8132 GB, free: 24.04 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.4778, allocations: 39.48 kB / 0.8132 GB, free: 24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.4778, allocations: 4 kB / 0.8132 GB, free: 23.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.4779, allocations: 322.8 kB / 0.8135 GB, free: 23.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/0.4783, allocations: 91.94 kB / 0.8136 GB, free: 23.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.4787, allocations: 85.56 kB / 0.8137 GB, free: 23.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.4791, allocations: 159.3 kB / 0.8138 GB, free: 23.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4791, allocations: 0 / 0.8138 GB, free: 23.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008625/0.48, allocations: 301 kB / 0.8141 GB, free: 23.02 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.4801, allocations: 74.2 kB / 0.8142 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4801, allocations: 0 / 0.8142 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.4801, allocations: 0 / 0.8142 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.4804, allocations: 19.98 kB / 0.8142 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.4804, allocations: 4 kB / 0.8142 GB, free: 22.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.4807, allocations: 43.8 kB / 0.8142 GB, free: 22.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.4808, allocations: 4 kB / 0.8142 GB, free: 22.86 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.00015/0.4809, allocations: 175.3 kB / 0.8144 GB, free: 22.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.481, allocations: 7.906 kB / 0.8144 GB, free: 22.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.481, allocations: 16.72 kB / 0.8144 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.481, allocations: 3.984 kB / 0.8144 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.481, allocations: 0 / 0.8144 GB, free: 22.65 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.4811, allocations: 89.02 kB / 0.8145 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.4811, allocations: 3.984 kB / 0.8145 GB, free: 22.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.4814, allocations: 31.92 kB / 0.8146 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4816, allocations: 23.97 kB / 0.8146 GB, free: 22.48 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001166/0.4828, allocations: 446.3 kB / 0.815 GB, free: 22.02 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009205/0.4837, allocations: 460.2 kB / 0.8154 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004128/0.4841, allocations: 127.9 kB / 0.8156 GB, free: 21.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.528e-05/0.4842, allocations: 103.3 kB / 0.8157 GB, free: 21.32 MB / 378.7 MB Notification: Performance of Backend: time 7.51e-07/0.4842, allocations: 4 kB / 0.8157 GB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000879/0.4851, allocations: 338 kB / 0.816 GB, free: 20.96 MB / 378.7 MB Notification: Performance of SimCode: time 0.0006651/0.4858, allocations: 0.7437 MB / 0.8167 GB, free: 20.16 MB / 378.7 MB Notification: Performance of Templates: time 0.005701/0.4915, allocations: 1.713 MB / 0.8184 GB, free: 18.45 MB / 378.7 MB