Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.551/2.551, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001424/0.001424, allocations: 174.1 kB / 371.4 MB, free: 10.68 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.239/2.239, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001009/0.001009, allocations: 91.02 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.0004751, allocations: 18.83 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0009609/0.1567, allocations: 0.6467 MB / 0.9794 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.1582, allocations: 1.227 MB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.1583, allocations: 3.938 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.437e-05/0.1584, allocations: 15.86 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.695e-05/0.1585, allocations: 39.88 kB / 0.9807 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.1592, allocations: 205.7 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.1594, allocations: 171.7 kB / 0.981 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1596, allocations: 37.73 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1597, allocations: 95.73 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.1598, allocations: 87.62 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.1599, allocations: 12 kB / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.16, allocations: 27.98 kB / 0.9813 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.49e-05/0.1601, allocations: 27.91 kB / 0.9813 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.983e-05/0.1601, allocations: 61.58 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.1604, allocations: 247.6 kB / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1604, allocations: 0 / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.04e-06/0.1604, allocations: 0 / 0.9816 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.1604, allocations: 0 / 0.9816 GB, free: 25.29 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007108/0.1612, allocations: 0.537 MB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1612, allocations: 12.02 kB / 0.9821 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.1613, allocations: 19.81 kB / 0.9821 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1616, allocations: 250.5 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.1616, allocations: 8 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.723e-05/0.1617, allocations: 19.98 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.1622, allocations: 191.4 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1622, allocations: 4 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1622, allocations: 4 kB / 0.9826 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.518e-06/0.1622, allocations: 7.953 kB / 0.9826 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005556/0.1628, allocations: 155.8 kB / 0.9827 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1639, allocations: 0.8993 MB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.1643, allocations: 189 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.1643, allocations: 3.938 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000457/0.1648, allocations: 203.4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 3.154e-06/0.1648, allocations: 4 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001108/0.1659, allocations: 333.6 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.166, allocations: 158.2 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1662, allocations: 203.7 kB / 0.9847 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.162e-05/0.1663, allocations: 29.7 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/0.1664, allocations: 136.2 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.1664, allocations: 35.64 kB / 0.9849 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.1665, allocations: 8 kB / 0.9849 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.1665, allocations: 330.8 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.167, allocations: 135.9 kB / 0.9853 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.1675, allocations: 192.7 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.1679, allocations: 191.3 kB / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.603e-06/0.1679, allocations: 0 / 0.9857 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001126/0.1691, allocations: 440.5 kB / 0.9861 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.1691, allocations: 71.39 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.597e-06/0.1691, allocations: 0 / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1692, allocations: 4 kB / 0.9862 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1694, allocations: 48 kB / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.387e-06/0.1694, allocations: 0 / 0.9862 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.17, allocations: 99.91 kB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.17, allocations: 15.98 kB / 0.9863 GB, free: 20.02 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0001535/0.1702, allocations: 151.4 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.027e-05/0.1702, allocations: 15.81 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.805e-05/0.1703, allocations: 24.92 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.803e-06/0.1703, allocations: 0 / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.173e-06/0.1703, allocations: 4 kB / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.072e-06/0.1703, allocations: 0 / 0.9865 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.1706, allocations: 253.4 kB / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.758e-06/0.1706, allocations: 0 / 0.9868 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.1708, allocations: 39.97 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1708, allocations: 0 / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1708, allocations: 4 kB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.004e-06/0.1708, allocations: 7.922 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.443e-06/0.1708, allocations: 7.938 kB / 0.9868 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000704/0.1715, allocations: 327.1 kB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1716, allocations: 96.91 kB / 0.9872 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.1717, allocations: 4 kB / 0.9872 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.1718, allocations: 35.92 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.1719, allocations: 19.92 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.172, allocations: 8 kB / 0.9873 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001273/0.1721, allocations: 144.4 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.91e-07/0.1721, allocations: 4 kB / 0.9874 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003931/0.1725, allocations: 43.98 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * 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.000136/0.1726, allocations: 111.2 kB / 0.9876 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009638/0.1736, allocations: 410.5 kB / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.511e-06/0.1736, allocations: 0 / 0.988 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003731/0.174, allocations: 108.3 kB / 0.9881 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1744, allocations: 36.03 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.1751, allocations: 367.5 kB / 0.9885 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.1753, allocations: 0.7328 MB / 0.9892 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.1754, allocations: 21.41 kB / 0.9892 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.1754, allocations: 19.42 kB / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of SimCode: time 1.538e-06/0.1755, allocations: 0 / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.007248/0.1827, allocations: 2.784 MB / 0.9919 GB, free: 14.09 MB / 0.6198 GB