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.001014/0.001014, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001068/0.001068, allocations: 192.4 kB / 16.13 MB, free: 6.668 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 278.7 kB / 290.2 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9731/0.9731, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 99.88 kB / 0.5945 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1408, allocations: 86.98 MB / 0.6794 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002634/0.1435, allocations: 1.595 MB / 0.681 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.1444, allocations: 0.595 MB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.1444, allocations: 0 / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.091e-05/0.1446, allocations: 11.92 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.1446, allocations: 12.75 kB / 0.6816 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1449, allocations: 72.58 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.891e-05/0.145, allocations: 92.27 kB / 0.6817 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.1451, allocations: 26.25 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.8e-05/0.1452, allocations: 39.91 kB / 0.6818 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.1453, allocations: 51.7 kB / 0.6819 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.1453, allocations: 4 kB / 0.6819 GB, free: 14.67 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.1454, allocations: 59.88 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.1455, allocations: 15.98 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.444e-05/0.1455, allocations: 39.73 kB / 0.682 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1457, allocations: 135.8 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1457, allocations: 4 kB / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.1457, allocations: 0 / 0.6821 GB, free: 14.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1458, allocations: 0 / 0.6821 GB, free: 14.42 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.0007078/0.1465, allocations: 448.8 kB / 0.6825 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.1465, allocations: 12.02 kB / 0.6825 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1466, allocations: 12.75 kB / 0.6826 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.1467, allocations: 188.2 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.1467, allocations: 4.375 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1468, allocations: 8.359 kB / 0.6828 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.1471, allocations: 109.9 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.1471, allocations: 0 / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1471, allocations: 4 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.1471, allocations: 7.984 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.1475, allocations: 83.92 kB / 0.6829 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.1481, allocations: 348.6 kB / 0.6833 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.1484, allocations: 94.56 kB / 0.6834 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001827/0.1486, allocations: 68.81 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.1486, allocations: 0 / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.1489, allocations: 111.3 kB / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.149, allocations: 0 / 0.6835 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006527/0.1496, allocations: 205.4 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.1497, allocations: 55.41 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.1498, allocations: 139.7 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1498, allocations: 25.98 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.1499, allocations: 108 kB / 0.6841 GB, free: 12.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.1499, allocations: 19.66 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.452e-05/0.1499, allocations: 37.7 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1501, allocations: 330.8 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.1503, allocations: 59.89 kB / 0.6845 GB, free: 11.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1504, allocations: 51.95 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/0.1508, allocations: 142.5 kB / 0.6847 GB, free: 11.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1508, allocations: 8 kB / 0.6847 GB, free: 11.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005675/0.1514, allocations: 203 kB / 0.6849 GB, free: 11.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.1514, allocations: 29.7 kB / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1515, allocations: 0 / 0.6849 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1515, allocations: 4 kB / 0.6849 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.1517, allocations: 19.97 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1517, allocations: 4 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.1519, allocations: 15.98 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.152, allocations: 4 kB / 0.6849 GB, free: 11.27 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.0001298/0.1521, allocations: 123.1 kB / 0.6851 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.1522, allocations: 15.89 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.1522, allocations: 8.719 kB / 0.6851 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.1522, allocations: 11.98 kB / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1522, allocations: 0 / 0.6851 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1523, allocations: 4 kB / 0.6851 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.1525, allocations: 197.5 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1525, allocations: 4 kB / 0.6853 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.1527, allocations: 19.97 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1527, allocations: 3.938 kB / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.1528, allocations: 3.984 kB / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1528, allocations: 0 / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1528, allocations: 0 / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.1534, allocations: 188.9 kB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.1535, allocations: 84.95 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.1535, allocations: 7.984 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.1537, allocations: 12.17 kB / 0.6856 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.1538, allocations: 15.92 kB / 0.6856 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.1539, allocations: 7.938 kB / 0.6856 GB, free: 10.48 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.763e-05/0.154, allocations: 116.9 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.154, allocations: 0 / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004392/0.1544, allocations: 39.94 kB / 0.6858 GB, free: 10.33 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.0002176/0.1547, allocations: 115.2 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006839/0.1554, allocations: 179.4 kB / 0.686 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1554, allocations: 4 kB / 0.6861 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003256/0.1557, allocations: 71.92 kB / 0.6861 GB, free: 9.945 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1561, allocations: 15.92 kB / 0.6861 GB, free: 9.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007393/0.1568, allocations: 241.5 kB / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1572, allocations: 0.7004 MB / 0.687 GB, free: 8.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1573, allocations: 11.98 kB / 0.6871 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.1574, allocations: 19.42 kB / 0.6871 GB, free: 8.91 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1574, allocations: 3.938 kB / 0.6871 GB, free: 8.906 MB / 494.1 MB Notification: Performance of Templates: time 0.005081/0.1625, allocations: 1.28 MB / 0.6883 GB, free: 7.637 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)