Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.715/2.715, allocations: 287.9 MB / 302.9 MB, free: 8.289 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 188.5 kB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.36/2.36, allocations: 205.4 MB / 0.6301 GB, free: 10.44 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 91.3 kB / 0.7434 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009198/0.0009203, allocations: 11.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1569, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00102/0.158, allocations: 0.7246 MB / 0.9795 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1596, allocations: 1.289 MB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1598, allocations: 0 / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.268e-05/0.1599, allocations: 11.86 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.16, allocations: 43.86 kB / 0.9808 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.1608, allocations: 230 kB / 0.981 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.1611, allocations: 207.6 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1613, allocations: 61.03 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1614, allocations: 111.7 kB / 0.9814 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.1616, allocations: 127.5 kB / 0.9815 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.1617, allocations: 16 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.1618, allocations: 31.97 kB / 0.9815 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.1619, allocations: 51.83 kB / 0.9816 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.432e-05/0.162, allocations: 65.58 kB / 0.9816 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003137/0.1623, allocations: 307.5 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.882e-06/0.1623, allocations: 0 / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.002e-06/0.1623, allocations: 0 / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1624, allocations: 0 / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009691/0.1633, allocations: 0.5841 MB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1634, allocations: 8.031 kB / 0.9825 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.1635, allocations: 35.66 kB / 0.9825 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1638, allocations: 270.5 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.1639, allocations: 19.98 kB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.828e-05/0.164, allocations: 20 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1647, allocations: 261.2 kB / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1647, allocations: 0 / 0.9831 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.1648, allocations: 11.98 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.135e-06/0.1648, allocations: 15.88 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.1656, allocations: 271.5 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.1671, allocations: 0.7732 MB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.1678, allocations: 234.9 kB / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1678, allocations: 192 / 0.9844 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006687/0.1685, allocations: 277.1 kB / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 3.789e-06/0.1685, allocations: 0 / 0.9846 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001732/0.1703, allocations: 0.589 MB / 0.9852 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.1703, allocations: 55.41 kB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002391/0.1706, allocations: 213.6 kB / 0.9855 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.1707, allocations: 41.7 kB / 0.9855 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.415e-05/0.1708, allocations: 144.5 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/0.1709, allocations: 63.16 kB / 0.9857 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.1709, allocations: 8 kB / 0.9857 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.111e-05/0.171, allocations: 338.8 kB / 0.986 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.1721, allocations: 195.9 kB / 0.9862 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.1732, allocations: 240 kB / 0.9864 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.1743, allocations: 251.3 kB / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.042e-06/0.1744, allocations: 0 / 0.9867 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002669/0.1771, allocations: 0.563 MB / 0.9872 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.1772, allocations: 71.39 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.1772, allocations: 0 / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.1773, allocations: 4 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.1779, allocations: 63.89 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.1779, allocations: 4 kB / 0.9874 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009918/0.1789, allocations: 125.2 kB / 0.9875 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.179, allocations: 15.98 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0003762/0.1794, allocations: 167.7 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.1796, allocations: 23.72 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.1797, allocations: 34.48 kB / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.1797, allocations: 0 / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1797, allocations: 0 / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.047e-06/0.1797, allocations: 0 / 0.9877 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.1822, allocations: 0.8234 MB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.262e-06/0.1822, allocations: 3.984 kB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.1827, allocations: 39.97 kB / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.91e-06/0.1827, allocations: 0 / 0.9886 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.1828, allocations: 11.98 kB / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-06/0.1828, allocations: 0 / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1829, allocations: 0 / 0.9886 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.1849, allocations: 0.5382 MB / 0.9891 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.185, allocations: 92.83 kB / 0.9892 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.103e-05/0.1851, allocations: 11.98 kB / 0.9892 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.1857, allocations: 35.97 kB / 0.9892 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.1858, allocations: 27.95 kB / 0.9893 GB, free: 17.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.1859, allocations: 11.98 kB / 0.9893 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002495/0.1862, allocations: 160.4 kB / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.086e-06/0.1862, allocations: 0 / 0.9894 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009096/0.1871, allocations: 71.84 kB / 0.9895 GB, free: 16.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0002693/0.1874, allocations: 131.2 kB / 0.9896 GB, free: 16.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.19, allocations: 0.5493 MB / 0.9902 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.735e-06/0.19, allocations: 4.25 kB / 0.9902 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.1911, allocations: 199.8 kB / 0.9903 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007416/0.1919, allocations: 44.34 kB / 0.9904 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1937, allocations: 0.5287 MB / 0.9909 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.194, allocations: 0.7523 MB / 0.9916 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.1944, allocations: 41.92 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.1945, allocations: 19.44 kB / 0.9917 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of SimCode: time 2.413e-06/0.1946, allocations: 0 / 0.9917 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of Templates: time 0.01547/0.21, allocations: 3.758 MB / 0.9954 GB, free: 10.75 MB / 0.6198 GB