Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001068/0.001067, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00106/0.00106, allocations: 186.2 kB / 16.25 MB, free: 6.625 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 278.9 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9516/0.9516, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 84.91 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1456, allocations: 86.99 MB / 0.6796 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002446/0.148, allocations: 1.59 MB / 0.6812 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.1489, allocations: 0.5711 MB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.1489, allocations: 1.562 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.777e-05/0.149, allocations: 11.92 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.1491, allocations: 16.39 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1494, allocations: 76.58 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.1496, allocations: 100.5 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1497, allocations: 30.61 kB / 0.682 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.866e-05/0.1498, allocations: 43.89 kB / 0.682 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.501e-05/0.1499, allocations: 51.7 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1499, allocations: 8 kB / 0.6821 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-05/0.15, allocations: 59.95 kB / 0.6821 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.691e-05/0.15, allocations: 11.98 kB / 0.6821 GB, free: 14.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.1501, allocations: 47.72 kB / 0.6822 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1503, allocations: 143.8 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1503, allocations: 0 / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1503, allocations: 0 / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1503, allocations: 0 / 0.6823 GB, free: 14.32 MB / 494.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.0006959/0.151, allocations: 454.5 kB / 0.6827 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.151, allocations: 11.97 kB / 0.6828 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.1511, allocations: 16.75 kB / 0.6828 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1512, allocations: 192.2 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1512, allocations: 4.375 kB / 0.683 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.1513, allocations: 4.375 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1516, allocations: 109.9 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1516, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.1516, allocations: 0 / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.1516, allocations: 7.984 kB / 0.6831 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003186/0.152, allocations: 87.92 kB / 0.6832 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.1525, allocations: 348.6 kB / 0.6835 GB, free: 12.96 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.1529, allocations: 98.44 kB / 0.6836 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.153, allocations: 56.88 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.1531, allocations: 4 kB / 0.6836 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.1534, allocations: 111.4 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.1534, allocations: 0 / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006407/0.154, allocations: 209.4 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.1541, allocations: 59.41 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.1542, allocations: 135.5 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.1542, allocations: 29.7 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.1543, allocations: 108 kB / 0.6843 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/0.1543, allocations: 23.64 kB / 0.6843 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1544, allocations: 25.72 kB / 0.6843 GB, free: 12.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.837e-05/0.1545, allocations: 326.8 kB / 0.6846 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.1547, allocations: 59.89 kB / 0.6847 GB, free: 11.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.1549, allocations: 56.23 kB / 0.6847 GB, free: 11.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/0.1552, allocations: 142.5 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1552, allocations: 4 kB / 0.6849 GB, free: 11.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004441/0.1557, allocations: 207.2 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.571e-05/0.1557, allocations: 39.67 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1557, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1557, allocations: 3.984 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1559, allocations: 15.98 kB / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1559, allocations: 0 / 0.6851 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.156, allocations: 23.98 kB / 0.6852 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1561, allocations: 3.984 kB / 0.6852 GB, free: 11.15 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 8.622e-05/0.1562, allocations: 123.1 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.1562, allocations: 7.906 kB / 0.6853 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.843e-05/0.1562, allocations: 12.72 kB / 0.6853 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.1562, allocations: 11.98 kB / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1562, allocations: 0 / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1563, allocations: 0 / 0.6853 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.1564, allocations: 201.5 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1564, allocations: 0 / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.1565, allocations: 15.98 kB / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.1566, allocations: 0 / 0.6855 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1566, allocations: 7.938 kB / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1566, allocations: 0 / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1566, allocations: 0 / 0.6855 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.157, allocations: 184.9 kB / 0.6857 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.995e-05/0.1571, allocations: 96.94 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1571, allocations: 3.984 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.1572, allocations: 11.98 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.1573, allocations: 15.98 kB / 0.6858 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1573, allocations: 7.922 kB / 0.6858 GB, free: 10.37 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.054e-05/0.1574, allocations: 109.3 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1574, allocations: 4 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1576, allocations: 43.94 kB / 0.686 GB, free: 10.22 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.0001431/0.1578, allocations: 113.3 kB / 0.6861 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004504/0.1583, allocations: 191.3 kB / 0.6863 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1583, allocations: 0 / 0.6863 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/0.1585, allocations: 71.88 kB / 0.6863 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1587, allocations: 12.05 kB / 0.6864 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.1592, allocations: 259.7 kB / 0.6866 GB, free: 9.543 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.1595, allocations: 0.6962 MB / 0.6873 GB, free: 8.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.557e-05/0.1595, allocations: 11.98 kB / 0.6873 GB, free: 8.809 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.1596, allocations: 19.42 kB / 0.6873 GB, free: 8.789 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1596, allocations: 4 kB / 0.6873 GB, free: 8.785 MB / 494.1 MB Notification: Performance of Templates: time 0.003648/0.1633, allocations: 1.324 MB / 0.6886 GB, free: 7.465 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)