Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 118.5 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 194.9 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6782/0.6782, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 65.64 kB / 0.5583 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1354, allocations: 76.19 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002408/0.1379, allocations: 1.532 MB / 0.6342 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008734/0.1388, allocations: 0.5727 MB / 0.6348 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.1388, allocations: 0 / 0.6348 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.139, allocations: 11.88 kB / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.139, allocations: 27.72 kB / 0.6348 GB, free: 2.289 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1394, allocations: 91.77 kB / 0.6349 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1395, allocations: 91.7 kB / 0.635 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.1397, allocations: 28.19 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.1398, allocations: 47.84 kB / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.1399, allocations: 39.83 kB / 0.6351 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1399, allocations: 8 kB / 0.6351 GB, free: 1.984 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.14, allocations: 91.84 kB / 0.6352 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1401, allocations: 27.91 kB / 0.6352 GB, free: 1.867 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.1401, allocations: 35.73 kB / 0.6352 GB, free: 1.832 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1403, allocations: 151.5 kB / 0.6354 GB, free: 1.684 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1404, allocations: 0 / 0.6354 GB, free: 1.684 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1404, allocations: 0 / 0.6354 GB, free: 1.684 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.1404, allocations: 0 / 0.6354 GB, free: 1.684 MB / 478.1 MB 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.0007365/0.1411, allocations: 452.7 kB / 0.6358 GB, free: 1.188 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.1412, allocations: 12.03 kB / 0.6358 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.1412, allocations: 16.83 kB / 0.6358 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1414, allocations: 186.1 kB / 0.636 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-06/0.1414, allocations: 384 / 0.636 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1414, allocations: 4.375 kB / 0.636 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1417, allocations: 117.8 kB / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1417, allocations: 0 / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.1417, allocations: 0 / 0.6361 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.1418, allocations: 4 kB / 0.6361 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000289/0.1421, allocations: 91.91 kB / 0.6362 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.1427, allocations: 356.6 kB / 0.6366 GB, free: 332 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.1429, allocations: 86.52 kB / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1431, allocations: 60.88 kB / 0.6367 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1431, allocations: 0 / 0.6367 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.1434, allocations: 119.4 kB / 0.6368 GB, free: 40 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1434, allocations: 3.938 kB / 0.6368 GB, free: 36 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006546/0.1441, allocations: 197.6 kB / 0.637 GB, free: 15.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.1441, allocations: 63.39 kB / 0.6371 GB, free: 15.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1442, allocations: 133.8 kB / 0.6372 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1443, allocations: 29.7 kB / 0.6372 GB, free: 15.58 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.1443, allocations: 108 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.1444, allocations: 27.53 kB / 0.6374 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.264e-05/0.1445, allocations: 29.64 kB / 0.6374 GB, free: 15.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1446, allocations: 326.8 kB / 0.6377 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.1448, allocations: 55.95 kB / 0.6378 GB, free: 15.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.1449, allocations: 55.95 kB / 0.6378 GB, free: 14.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003189/0.1453, allocations: 146.5 kB / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1453, allocations: 0 / 0.6379 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000412/0.1457, allocations: 195.1 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.1457, allocations: 37.7 kB / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1457, allocations: 0 / 0.6382 GB, free: 14.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1458, allocations: 3.938 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1459, allocations: 23.97 kB / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.1459, allocations: 0 / 0.6382 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.146, allocations: 19.92 kB / 0.6382 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1461, allocations: 0 / 0.6382 GB, free: 14.53 MB / 494.1 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.1462, allocations: 125.8 kB / 0.6383 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.095e-05/0.1462, allocations: 15.81 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.1463, allocations: 12.72 kB / 0.6384 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.1463, allocations: 7.984 kB / 0.6384 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.1463, allocations: 0 / 0.6384 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1463, allocations: 4 kB / 0.6384 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.1465, allocations: 193.5 kB / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1465, allocations: 480 / 0.6386 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.1466, allocations: 23.91 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1466, allocations: 0 / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1466, allocations: 8 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1466, allocations: 4 kB / 0.6386 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1466, allocations: 3.938 kB / 0.6386 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.1471, allocations: 180.9 kB / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-05/0.1472, allocations: 85.02 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.1472, allocations: 3.938 kB / 0.6388 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1473, allocations: 19.97 kB / 0.6389 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.1474, allocations: 11.98 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1474, allocations: 4 kB / 0.6389 GB, free: 13.74 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.643e-05/0.1475, allocations: 114.3 kB / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1475, allocations: 0 / 0.639 GB, free: 13.63 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1477, allocations: 43.88 kB / 0.639 GB, free: 13.59 MB / 494.1 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: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001485/0.1479, allocations: 107.2 kB / 0.6391 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.1483, allocations: 195.2 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1483, allocations: 0 / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.1485, allocations: 59.95 kB / 0.6394 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1487, allocations: 19.97 kB / 0.6394 GB, free: 13.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/0.1492, allocations: 257.4 kB / 0.6396 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1496, allocations: 0.6963 MB / 0.6403 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.1496, allocations: 27.36 kB / 0.6404 GB, free: 12.16 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1496, allocations: 0 / 0.6404 GB, free: 12.16 MB / 494.1 MB Notification: Performance of Templates: time 0.003116/0.1528, allocations: 1.525 MB / 0.6418 GB, free: 10.64 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)