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.001633/0.001633, allocations: 117.7 kB / 17.08 MB, free: 6.012 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.00234/0.00234, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.413/1.413, 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.7809/0.7809, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 63.59 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 76.18 MB / 0.6327 GB, free: 4.434 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002646/0.1345, allocations: 1.529 MB / 0.6342 GB, free: 2.891 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1355, allocations: 0.5766 MB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.1356, allocations: 4 kB / 0.6348 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.666e-05/0.1357, allocations: 7.922 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.1357, allocations: 15.8 kB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.1361, allocations: 99.7 kB / 0.6349 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.1362, allocations: 95.69 kB / 0.635 GB, free: 2.09 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.1363, allocations: 20.22 kB / 0.635 GB, free: 2.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1365, allocations: 47.78 kB / 0.635 GB, free: 2.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.1366, allocations: 51.81 kB / 0.6351 GB, free: 1.969 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.468e-05/0.1367, allocations: 8 kB / 0.6351 GB, free: 1.961 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1368, allocations: 83.86 kB / 0.6352 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.1368, allocations: 23.91 kB / 0.6352 GB, free: 1.855 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.1369, allocations: 43.73 kB / 0.6352 GB, free: 1.812 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1372, allocations: 135.5 kB / 0.6354 GB, free: 1.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1372, allocations: 0 / 0.6354 GB, free: 1.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1372, allocations: 0 / 0.6354 GB, free: 1.68 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.1372, allocations: 3.984 kB / 0.6354 GB, free: 1.676 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.0007717/0.138, allocations: 452.7 kB / 0.6358 GB, free: 1.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1381, allocations: 12.03 kB / 0.6358 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.1381, allocations: 8.844 kB / 0.6358 GB, free: 1.16 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.1383, allocations: 192.1 kB / 0.636 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1383, allocations: 4.375 kB / 0.636 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1384, allocations: 4.375 kB / 0.636 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000306/0.1387, allocations: 117.8 kB / 0.6361 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1387, allocations: 4 kB / 0.6361 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.1387, allocations: 0 / 0.6361 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/0.1387, allocations: 7.984 kB / 0.6361 GB, free: 0.793 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.1391, allocations: 95.84 kB / 0.6362 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.1397, allocations: 344.7 kB / 0.6366 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1401, allocations: 90.5 kB / 0.6366 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.1402, allocations: 56.88 kB / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.1403, allocations: 0 / 0.6367 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.1406, allocations: 119.3 kB / 0.6368 GB, free: 28 kB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 2.955e-06/0.1406, allocations: 112 / 0.6368 GB, free: 28 kB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007416/0.1414, allocations: 209.4 kB / 0.637 GB, free: 15.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1414, allocations: 63.39 kB / 0.6371 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.1416, allocations: 136.1 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.1416, allocations: 29.7 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1417, allocations: 108 kB / 0.6373 GB, free: 15.46 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1417, allocations: 23.62 kB / 0.6373 GB, free: 15.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.1418, allocations: 25.7 kB / 0.6374 GB, free: 15.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1419, allocations: 322.8 kB / 0.6377 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.1421, allocations: 59.95 kB / 0.6377 GB, free: 15.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1423, allocations: 59.95 kB / 0.6378 GB, free: 14.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003629/0.1426, allocations: 142.4 kB / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1426, allocations: 0 / 0.6379 GB, free: 14.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004824/0.1431, allocations: 195.2 kB / 0.6381 GB, free: 14.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.1432, allocations: 37.7 kB / 0.6382 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1432, allocations: 4.469 kB / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1432, allocations: 0 / 0.6382 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.1434, allocations: 23.91 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1434, allocations: 4.062 kB / 0.6382 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1435, allocations: 19.92 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1435, allocations: 7.938 kB / 0.6382 GB, free: 14.51 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.0001262/0.1437, allocations: 129.7 kB / 0.6383 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.1437, allocations: 15.81 kB / 0.6383 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.1437, allocations: 12.72 kB / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.1438, allocations: 4 kB / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1438, allocations: 0 / 0.6384 GB, free: 14.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1438, allocations: 3.984 kB / 0.6384 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.144, allocations: 193.5 kB / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.144, allocations: 0 / 0.6386 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.1441, allocations: 23.97 kB / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1441, allocations: 0 / 0.6386 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.1442, allocations: 8 kB / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1442, allocations: 0 / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1442, allocations: 0 / 0.6386 GB, free: 14.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.1446, allocations: 184.8 kB / 0.6388 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.1447, allocations: 85.02 kB / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.1447, allocations: 0 / 0.6388 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1449, allocations: 15.97 kB / 0.6389 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/0.145, allocations: 15.98 kB / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.145, allocations: 0 / 0.6389 GB, free: 13.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.1451, allocations: 114.3 kB / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1451, allocations: 0 / 0.639 GB, free: 13.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1453, allocations: 47.88 kB / 0.639 GB, free: 13.57 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.0002704/0.1456, allocations: 115.2 kB / 0.6391 GB, free: 13.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000562/0.1462, allocations: 187.2 kB / 0.6393 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1462, allocations: 0 / 0.6393 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1464, allocations: 67.89 kB / 0.6394 GB, free: 13.19 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.1466, allocations: 14.28 kB / 0.6394 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.1472, allocations: 261.4 kB / 0.6396 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1476, allocations: 0.7002 MB / 0.6403 GB, free: 12.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.1476, allocations: 15.44 kB / 0.6403 GB, free: 12.15 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1476, allocations: 7.938 kB / 0.6403 GB, free: 12.14 MB / 494.1 MB Notification: Performance of Templates: time 0.003265/0.1509, allocations: 1.515 MB / 0.6418 GB, free: 10.63 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)