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.002022/0.002027, allocations: 186.6 kB / 15.76 MB, free: 5.996 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.8365/0.8365, allocations: 82.93 MB / 99.42 MB, free: 3.309 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 325.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 86.86 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007452/0.0007452, allocations: 15.98 kB / 471.5 MB, free: 66.57 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1239, allocations: 67.45 MB / 0.5263 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001975/0.126, allocations: 1.239 MB / 0.5276 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.127, allocations: 484.2 kB / 0.528 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.127, allocations: 0 / 0.528 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.232e-05/0.1272, allocations: 11.92 kB / 0.528 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.1272, allocations: 23.91 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.1275, allocations: 39.88 kB / 0.5281 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.1276, allocations: 67.84 kB / 0.5282 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.412e-05/0.1278, allocations: 8.234 kB / 0.5282 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1279, allocations: 47.89 kB / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.128, allocations: 47.81 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.001e-05/0.1281, allocations: 4 kB / 0.5283 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.1281, allocations: 4 kB / 0.5283 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.1282, allocations: 19.91 kB / 0.5283 GB, free: 13.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.1282, allocations: 41.64 kB / 0.5283 GB, free: 13.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1284, allocations: 60.11 kB / 0.5284 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1284, allocations: 0 / 0.5284 GB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.84e-06/0.1284, allocations: 0 / 0.5284 GB, free: 12.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1284, allocations: 0 / 0.5284 GB, free: 12.98 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.0008781/0.1293, allocations: 490.3 kB / 0.5288 GB, free: 12.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1293, allocations: 8.031 kB / 0.5288 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.1294, allocations: 7.906 kB / 0.5289 GB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1297, allocations: 194.8 kB / 0.529 GB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.1297, allocations: 7.984 kB / 0.529 GB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.1297, allocations: 11.95 kB / 0.5291 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.1302, allocations: 129.6 kB / 0.5292 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.952e-06/0.1302, allocations: 0 / 0.5292 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.1302, allocations: 11.98 kB / 0.5292 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-06/0.1303, allocations: 0 / 0.5292 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.1308, allocations: 131.8 kB / 0.5293 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007794/0.1316, allocations: 360.7 kB / 0.5297 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.1321, allocations: 142.5 kB / 0.5298 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1321, allocations: 3.984 kB / 0.5298 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004747/0.1326, allocations: 151.4 kB / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.816e-06/0.1326, allocations: 0 / 0.5299 GB, free: 11.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.001149/0.1338, allocations: 428.1 kB / 0.5304 GB, free: 10.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.1339, allocations: 89.11 kB / 0.5304 GB, free: 10.63 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.1341, allocations: 145.4 kB / 0.5306 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.1341, allocations: 25.7 kB / 0.5306 GB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.719e-05/0.1342, allocations: 103.9 kB / 0.5307 GB, free: 10.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.1343, allocations: 31.55 kB / 0.5307 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.546e-05/0.1343, allocations: 8 kB / 0.5307 GB, free: 10.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1345, allocations: 326.8 kB / 0.5311 GB, free: 9.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.1348, allocations: 87.94 kB / 0.5311 GB, free: 9.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.1352, allocations: 87.94 kB / 0.5312 GB, free: 9.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.1355, allocations: 151.5 kB / 0.5314 GB, free: 9.648 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-06/0.1355, allocations: 0 / 0.5314 GB, free: 9.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007973/0.1363, allocations: 300.8 kB / 0.5317 GB, free: 9.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/0.1364, allocations: 73.42 kB / 0.5317 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-06/0.1365, allocations: 0 / 0.5317 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1365, allocations: 0 / 0.5317 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1367, allocations: 27.97 kB / 0.5318 GB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.716e-06/0.1367, allocations: 4 kB / 0.5318 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/0.137, allocations: 35.86 kB / 0.5318 GB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.137, allocations: 4 kB / 0.5318 GB, free: 9.184 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.0001942/0.1372, allocations: 163.5 kB / 0.5319 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.1373, allocations: 7.906 kB / 0.532 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.1373, allocations: 24.7 kB / 0.532 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-06/0.1373, allocations: 0 / 0.532 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.622e-06/0.1373, allocations: 0 / 0.532 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.77e-06/0.1374, allocations: 3.984 kB / 0.532 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1376, allocations: 209.5 kB / 0.5322 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-06/0.1376, allocations: 0 / 0.5322 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.1378, allocations: 20.45 kB / 0.5322 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1378, allocations: 0 / 0.5322 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.1379, allocations: 7.984 kB / 0.5322 GB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.699e-06/0.1379, allocations: 4 kB / 0.5322 GB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-06/0.1379, allocations: 0 / 0.5322 GB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.1387, allocations: 322.4 kB / 0.5325 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.12e-05/0.1388, allocations: 96.8 kB / 0.5326 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1389, allocations: 0 / 0.5326 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1391, allocations: 35.95 kB / 0.5326 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.1393, allocations: 27.97 kB / 0.5327 GB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1393, allocations: 0 / 0.5327 GB, free: 8.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1394, allocations: 111.2 kB / 0.5328 GB, free: 8.062 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.1394, allocations: 0 / 0.5328 GB, free: 8.062 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.1398, allocations: 24 kB / 0.5328 GB, free: 8.039 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.0001325/0.1399, allocations: 95.25 kB / 0.5329 GB, free: 7.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008508/0.1408, allocations: 358.6 kB / 0.5332 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.1408, allocations: 0 / 0.5332 GB, free: 7.562 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.1412, allocations: 203.3 kB / 0.5334 GB, free: 7.352 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.1415, allocations: 7.953 kB / 0.5334 GB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008359/0.1423, allocations: 327.3 kB / 0.5338 GB, free: 6.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.1427, allocations: 0.7004 MB / 0.5344 GB, free: 6.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.1428, allocations: 15.98 kB / 0.5344 GB, free: 6.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.1429, allocations: 15.44 kB / 0.5345 GB, free: 6.238 MB / 378.7 MB Notification: Performance of SimCode: time 1.512e-06/0.1429, allocations: 0 / 0.5345 GB, free: 6.238 MB / 378.7 MB Notification: Performance of Templates: time 0.005229/0.1482, allocations: 1.483 MB / 0.5359 GB, free: 4.766 MB / 378.7 MB