Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7169/0.7169, allocations: 128.7 MB / 144.5 MB, free: 1.355 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 197.9 kB / 174.3 MB, free: 5.922 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009458/0.0009458, allocations: 98.34 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 53.25 kB / 0.558 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1383, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002624/0.141, allocations: 1.608 MB / 0.6332 GB, free: 31.44 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007718/0.1418, allocations: 0.5118 MB / 0.6337 GB, free: 30.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.1419, allocations: 3.938 kB / 0.6337 GB, free: 30.92 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.142, allocations: 7.922 kB / 0.6337 GB, free: 30.91 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.025e-05/0.1421, allocations: 15.88 kB / 0.6338 GB, free: 30.89 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.1423, allocations: 43.94 kB / 0.6338 GB, free: 30.85 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1424, allocations: 99.64 kB / 0.6339 GB, free: 30.75 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1425, allocations: 24.22 kB / 0.6339 GB, free: 30.73 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1426, allocations: 47.89 kB / 0.634 GB, free: 30.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.1427, allocations: 51.75 kB / 0.634 GB, free: 30.63 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.1428, allocations: 7.938 kB / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.1428, allocations: 8 kB / 0.634 GB, free: 30.62 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.1428, allocations: 19.92 kB / 0.6341 GB, free: 30.6 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.1429, allocations: 43.78 kB / 0.6341 GB, free: 30.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.1431, allocations: 87.67 kB / 0.6342 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1431, allocations: 4 kB / 0.6342 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1431, allocations: 0 / 0.6342 GB, free: 30.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1431, allocations: 0 / 0.6342 GB, free: 30.46 MB / 442.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.0006933/0.1438, allocations: 478.8 kB / 0.6346 GB, free: 29.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1438, allocations: 12.03 kB / 0.6347 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.1439, allocations: 16.75 kB / 0.6347 GB, free: 29.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.144, allocations: 206.8 kB / 0.6349 GB, free: 29.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1441, allocations: 4.375 kB / 0.6349 GB, free: 29.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.1441, allocations: 4.375 kB / 0.6349 GB, free: 29.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002968/0.1444, allocations: 144.5 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1444, allocations: 4 kB / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1444, allocations: 0 / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1444, allocations: 0 / 0.635 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1448, allocations: 119.9 kB / 0.6351 GB, free: 29.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005296/0.1453, allocations: 352.6 kB / 0.6355 GB, free: 29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000307/0.1456, allocations: 134.4 kB / 0.6356 GB, free: 28.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.1458, allocations: 100.9 kB / 0.6357 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1458, allocations: 4 kB / 0.6357 GB, free: 28.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.1461, allocations: 151.3 kB / 0.6358 GB, free: 28.6 MB / 442.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1462, allocations: 4 kB / 0.6358 GB, free: 28.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006612/0.1468, allocations: 323.1 kB / 0.6361 GB, free: 28.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1469, allocations: 93.09 kB / 0.6362 GB, free: 28.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.459e-05/0.147, allocations: 137.8 kB / 0.6364 GB, free: 28.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.147, allocations: 29.7 kB / 0.6364 GB, free: 27.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.147, allocations: 104 kB / 0.6365 GB, free: 27.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1471, allocations: 31.5 kB / 0.6365 GB, free: 27.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.1471, allocations: 29.7 kB / 0.6366 GB, free: 27.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.909e-05/0.1472, allocations: 326.8 kB / 0.6369 GB, free: 27.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1474, allocations: 83.94 kB / 0.6369 GB, free: 27.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.1476, allocations: 83.94 kB / 0.637 GB, free: 27.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.1479, allocations: 266.3 kB / 0.6373 GB, free: 27.03 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1479, allocations: 0 / 0.6373 GB, free: 27.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004404/0.1484, allocations: 292.8 kB / 0.6376 GB, free: 26.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.549e-05/0.1484, allocations: 71.48 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1484, allocations: 3.938 kB / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1485, allocations: 0 / 0.6376 GB, free: 26.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.1486, allocations: 19.97 kB / 0.6377 GB, free: 26.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1486, allocations: 0 / 0.6377 GB, free: 26.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1488, allocations: 39.8 kB / 0.6377 GB, free: 26.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1489, allocations: 4 kB / 0.6377 GB, free: 26.58 MB / 442.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 (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: 0 * Algorithm blocks: 2 * 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 9.026e-05/0.149, allocations: 167.5 kB / 0.6379 GB, free: 26.4 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.149, allocations: 11.91 kB / 0.6379 GB, free: 26.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.149, allocations: 16.64 kB / 0.6379 GB, free: 26.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.149, allocations: 3.984 kB / 0.6379 GB, free: 26.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.149, allocations: 4 kB / 0.6379 GB, free: 26.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1491, allocations: 0 / 0.6379 GB, free: 26.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1492, allocations: 205.5 kB / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1492, allocations: 0 / 0.6381 GB, free: 26.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1493, allocations: 23.92 kB / 0.6381 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1493, allocations: 0 / 0.6381 GB, free: 26.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1493, allocations: 8 kB / 0.6381 GB, free: 26.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1493, allocations: 0 / 0.6381 GB, free: 26.08 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1493, allocations: 3.984 kB / 0.6381 GB, free: 26.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007726/0.1501, allocations: 0.969 MB / 0.6391 GB, free: 25.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.1501, allocations: 84.92 kB / 0.6391 GB, free: 24.94 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.1502, allocations: 11.92 kB / 0.6392 GB, free: 24.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1503, allocations: 23.97 kB / 0.6392 GB, free: 24.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.529e-05/0.1504, allocations: 23.97 kB / 0.6392 GB, free: 24.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.1505, allocations: 8 kB / 0.6392 GB, free: 24.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.1505, allocations: 109.3 kB / 0.6393 GB, free: 24.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1505, allocations: 0 / 0.6393 GB, free: 24.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.1508, allocations: 24 kB / 0.6393 GB, free: 24.75 MB / 442.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.817e-05/0.1509, allocations: 107.1 kB / 0.6394 GB, free: 24.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.1514, allocations: 350.6 kB / 0.6398 GB, free: 24.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1514, allocations: 0 / 0.6398 GB, free: 24.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002459/0.1517, allocations: 199.2 kB / 0.64 GB, free: 24.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.1519, allocations: 10.39 kB / 0.64 GB, free: 24.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.1525, allocations: 468.6 kB / 0.6404 GB, free: 23.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.1526, allocations: 0.7004 MB / 0.6411 GB, free: 22.83 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1527, allocations: 15.98 kB / 0.6411 GB, free: 22.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.1527, allocations: 11.42 kB / 0.6411 GB, free: 22.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.9e-07/0.1528, allocations: 0 / 0.6411 GB, free: 22.8 MB / 442.7 MB Notification: Performance of Templates: time 0.003323/0.1561, allocations: 1.625 MB / 0.6427 GB, free: 21.19 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)