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.0009429/0.0009432, allocations: 98.5 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001056, allocations: 183.1 kB / 16.92 MB, free: 6.691 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7922/0.7922, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.0004768, allocations: 11.98 kB / 495.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1865, allocations: 77.52 MB / 0.5599 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.001745/0.1883, allocations: 1.255 MB / 0.5612 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1894, allocations: 0.5768 MB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.1895, allocations: 3.938 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.759e-05/0.1896, allocations: 3.938 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.1897, allocations: 15.86 kB / 0.5617 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.19, allocations: 75.86 kB / 0.5618 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.1902, allocations: 91.69 kB / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1903, allocations: 20.23 kB / 0.5619 GB, free: 6.977 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.1904, allocations: 39.78 kB / 0.562 GB, free: 6.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.1905, allocations: 47.81 kB / 0.562 GB, free: 6.891 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1906, allocations: 4 kB / 0.562 GB, free: 6.887 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.1907, allocations: 59.89 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.715e-05/0.1908, allocations: 15.92 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1908, allocations: 57.5 kB / 0.5621 GB, free: 6.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.1911, allocations: 139.8 kB / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1911, allocations: 0 / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1911, allocations: 0 / 0.5623 GB, free: 6.613 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1911, allocations: 0 / 0.5623 GB, free: 6.613 MB / 430.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.0009068/0.192, allocations: 448.8 kB / 0.5627 GB, free: 6.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1921, allocations: 8.031 kB / 0.5627 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.1921, allocations: 8.844 kB / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1924, allocations: 205.7 kB / 0.5629 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1924, allocations: 8.375 kB / 0.5629 GB, free: 5.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.1924, allocations: 8.375 kB / 0.5629 GB, free: 5.852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/0.1928, allocations: 117.9 kB / 0.563 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1928, allocations: 0 / 0.563 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1928, allocations: 0 / 0.563 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.1928, allocations: 4 kB / 0.563 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.1932, allocations: 107.9 kB / 0.5631 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006754/0.1939, allocations: 356.7 kB / 0.5635 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.1942, allocations: 106.5 kB / 0.5636 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1944, allocations: 68.88 kB / 0.5637 GB, free: 5.039 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.1944, allocations: 4 kB / 0.5637 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.1948, allocations: 119.3 kB / 0.5638 GB, free: 4.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.1948, allocations: 0 / 0.5638 GB, free: 4.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007423/0.1956, allocations: 249.2 kB / 0.564 GB, free: 4.656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1956, allocations: 55.41 kB / 0.5641 GB, free: 4.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1958, allocations: 139.7 kB / 0.5642 GB, free: 4.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1958, allocations: 25.7 kB / 0.5642 GB, free: 4.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.196, allocations: 100 kB / 0.5643 GB, free: 4.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.196, allocations: 31.7 kB / 0.5643 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1961, allocations: 21.72 kB / 0.5644 GB, free: 4.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002046/0.1963, allocations: 326.8 kB / 0.5647 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.1965, allocations: 63.95 kB / 0.5647 GB, free: 3.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000203/0.1967, allocations: 71.95 kB / 0.5648 GB, free: 3.793 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.1971, allocations: 166.5 kB / 0.565 GB, free: 3.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1971, allocations: 4 kB / 0.565 GB, free: 3.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005082/0.1976, allocations: 211.2 kB / 0.5652 GB, free: 3.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.1977, allocations: 37.7 kB / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1977, allocations: 0 / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1977, allocations: 0 / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1979, allocations: 23.97 kB / 0.5652 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1979, allocations: 0 / 0.5652 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.1981, allocations: 31.83 kB / 0.5653 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1981, allocations: 4 kB / 0.5653 GB, free: 3.297 MB / 430.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.0001038/0.1982, allocations: 125.7 kB / 0.5654 GB, free: 3.164 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.1982, allocations: 7.906 kB / 0.5654 GB, free: 3.156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.1983, allocations: 16.72 kB / 0.5654 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.479e-05/0.1983, allocations: 4 kB / 0.5654 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1983, allocations: 7.984 kB / 0.5654 GB, free: 3.129 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1983, allocations: 3.984 kB / 0.5654 GB, free: 3.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.1985, allocations: 197.5 kB / 0.5656 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1985, allocations: 0 / 0.5656 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.1987, allocations: 23.97 kB / 0.5656 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.1987, allocations: 0 / 0.5656 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.1987, allocations: 0 / 0.5656 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1987, allocations: 4.406 kB / 0.5656 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.1987, allocations: 0 / 0.5656 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.1992, allocations: 216.8 kB / 0.5658 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.1992, allocations: 81.02 kB / 0.5659 GB, free: 2.527 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1992, allocations: 4 kB / 0.5659 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.1994, allocations: 19.97 kB / 0.5659 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.1995, allocations: 11.98 kB / 0.566 GB, free: 2.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1995, allocations: 8 kB / 0.566 GB, free: 2.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.963e-05/0.1996, allocations: 113.3 kB / 0.5661 GB, free: 2.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1996, allocations: 0 / 0.5661 GB, free: 2.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1999, allocations: 43.84 kB / 0.5661 GB, free: 2.332 MB / 430.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.0001699/0.2, allocations: 111.2 kB / 0.5662 GB, free: 2.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004887/0.2005, allocations: 211.2 kB / 0.5664 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2006, allocations: 0 / 0.5664 GB, free: 1.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.2008, allocations: 75.89 kB / 0.5665 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.201, allocations: 19.59 kB / 0.5665 GB, free: 1.906 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.2016, allocations: 263 kB / 0.5668 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2018, allocations: 0.7004 MB / 0.5674 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.2019, allocations: 11.77 kB / 0.5675 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.2019, allocations: 11.44 kB / 0.5675 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2019, allocations: 0 / 0.5675 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of Templates: time 0.003967/0.2059, allocations: 1.264 MB / 0.5687 GB, free: 15.61 MB / 446.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)