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.0009026/0.0009026, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001135/0.001135, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001754, allocations: 275 kB / 291.4 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.941/0.941, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 19.12 kB / 0.598 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.154, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.001518/0.1556, allocations: 1.238 MB / 0.6857 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008545/0.1565, allocations: 0.5324 MB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.1565, allocations: 0 / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.462e-05/0.1566, allocations: 9.422 kB / 0.6862 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.1567, allocations: 11.88 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.157, allocations: 74.38 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.1572, allocations: 87.69 kB / 0.6864 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.1573, allocations: 16.72 kB / 0.6864 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1574, allocations: 40.47 kB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.42e-05/0.1575, allocations: 43.81 kB / 0.6865 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1575, allocations: 4.562 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1577, allocations: 56.64 kB / 0.6865 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.1577, allocations: 15.92 kB / 0.6865 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.1578, allocations: 34.89 kB / 0.6866 GB, free: 13.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.1579, allocations: 92.05 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1579, allocations: 3.938 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1579, allocations: 4.5 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.1579, allocations: 3.938 kB / 0.6867 GB, free: 13.17 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.00072/0.1587, allocations: 444.2 kB / 0.6871 GB, free: 12.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.1587, allocations: 12.03 kB / 0.6871 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.1588, allocations: 15.38 kB / 0.6871 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.1589, allocations: 192.7 kB / 0.6873 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.159, allocations: 4 kB / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.159, allocations: 7.984 kB / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1593, allocations: 118.1 kB / 0.6874 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1593, allocations: 0 / 0.6874 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1593, allocations: 0.625 kB / 0.6874 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1594, allocations: 4 kB / 0.6874 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003058/0.1597, allocations: 112 kB / 0.6875 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.1602, allocations: 348 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1605, allocations: 115 kB / 0.688 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1607, allocations: 70.27 kB / 0.6881 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1607, allocations: 9.109 kB / 0.6881 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.161, allocations: 128.2 kB / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.1611, allocations: 0 / 0.6882 GB, free: 11.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006107/0.1617, allocations: 237.5 kB / 0.6884 GB, free: 11.24 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.1617, allocations: 59.34 kB / 0.6885 GB, free: 11.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1618, allocations: 139.7 kB / 0.6886 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.1619, allocations: 33.7 kB / 0.6886 GB, free: 10.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.1619, allocations: 99.98 kB / 0.6887 GB, free: 10.88 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.162, allocations: 23.7 kB / 0.6887 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.162, allocations: 4 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1621, allocations: 318.8 kB / 0.6891 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.1623, allocations: 67.95 kB / 0.6891 GB, free: 10.47 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1625, allocations: 68.17 kB / 0.6892 GB, free: 10.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1627, allocations: 97.75 kB / 0.6893 GB, free: 10.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1627, allocations: 3.938 kB / 0.6893 GB, free: 10.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000428/0.1631, allocations: 215.2 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.1631, allocations: 37.7 kB / 0.6895 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1632, allocations: 0 / 0.6895 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1632, allocations: 0 / 0.6895 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1633, allocations: 23.97 kB / 0.6895 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1633, allocations: 3.938 kB / 0.6896 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1635, allocations: 35.77 kB / 0.6896 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.1635, allocations: 8 kB / 0.6896 GB, free: 9.961 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/0.1636, allocations: 118.5 kB / 0.6897 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.1636, allocations: 15.86 kB / 0.6897 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.1637, allocations: 12.72 kB / 0.6897 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.1637, allocations: 4 kB / 0.6897 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1637, allocations: 3.984 kB / 0.6897 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1637, allocations: 0 / 0.6897 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.1639, allocations: 197.6 kB / 0.6899 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1639, allocations: 0 / 0.6899 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.164, allocations: 23.97 kB / 0.69 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.164, allocations: 0 / 0.69 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.164, allocations: 7.953 kB / 0.69 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.164, allocations: 0 / 0.69 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.164, allocations: 0 / 0.69 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.1644, allocations: 204.9 kB / 0.6902 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.1645, allocations: 84.95 kB / 0.6902 GB, free: 9.207 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1645, allocations: 4 kB / 0.6902 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.1646, allocations: 23.92 kB / 0.6903 GB, free: 9.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.1647, allocations: 11.98 kB / 0.6903 GB, free: 9.168 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.1647, allocations: 7.984 kB / 0.6903 GB, free: 9.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.268e-05/0.1648, allocations: 105.2 kB / 0.6904 GB, free: 9.059 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1648, allocations: 0 / 0.6904 GB, free: 9.059 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.165, allocations: 43.91 kB / 0.6904 GB, free: 9.016 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001549/0.1652, allocations: 119.2 kB / 0.6905 GB, free: 8.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004528/0.1656, allocations: 207.3 kB / 0.6907 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1657, allocations: 0 / 0.6907 GB, free: 8.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.1659, allocations: 75.88 kB / 0.6908 GB, free: 8.602 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000202/0.1661, allocations: 12 kB / 0.6908 GB, free: 8.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.1666, allocations: 257.1 kB / 0.6911 GB, free: 8.309 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1668, allocations: 0.7005 MB / 0.6917 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.121e-05/0.1669, allocations: 11.98 kB / 0.6918 GB, free: 7.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.1669, allocations: 15.42 kB / 0.6918 GB, free: 7.555 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1669, allocations: 0 / 0.6918 GB, free: 7.555 MB / 494.1 MB Notification: Performance of Templates: time 0.003561/0.1705, allocations: 1.244 MB / 0.693 GB, free: 6.316 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)