Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange.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.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.504/2.504, allocations: 287.9 MB / 302.9 MB, free: 8.355 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.001449/0.00145, allocations: 169.2 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.002/2.002, allocations: 205.4 MB / 0.6301 GB, free: 10.34 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.00104/0.00104, allocations: 96.08 kB / 0.7434 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.000477, allocations: 10.97 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1587, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Functions.Examples.Exchange): time 0.0006241/0.1594, allocations: 274 kB / 0.979 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.1611, allocations: 1.196 MB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.1612, allocations: 4 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.297e-05/0.1613, allocations: 11.86 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.1613, allocations: 0 / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006458/0.162, allocations: 255.5 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.1621, allocations: 47.88 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.1621, allocations: 8 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.1622, allocations: 39.95 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.1622, allocations: 39.91 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.1623, allocations: 3.984 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.1627, allocations: 167.6 kB / 0.9808 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1627, allocations: 11.91 kB / 0.9808 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.1628, allocations: 37.7 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002821/0.1631, allocations: 191.7 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1631, allocations: 0 / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.808e-06/0.1631, allocations: 7.938 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.115e-06/0.1631, allocations: 4 kB / 0.981 GB, free: 25.88 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000327/0.1634, allocations: 421.2 kB / 0.9814 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1635, allocations: 12.03 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.1635, allocations: 8 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.1636, allocations: 182.9 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.1637, allocations: 0 / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1637, allocations: 8 kB / 0.9816 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.164, allocations: 121.6 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.593e-06/0.164, allocations: 4 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.164, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-06/0.164, allocations: 0 / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.1641, allocations: 71.88 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.1643, allocations: 157.6 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1645, allocations: 114.6 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.627e-06/0.1645, allocations: 0 / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.1645, allocations: 34.56 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 2.682e-06/0.1645, allocations: 3.984 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005781/0.1651, allocations: 376.3 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.1652, allocations: 85.11 kB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.1653, allocations: 129.7 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1653, allocations: 25.7 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.1653, allocations: 92.08 kB / 0.9828 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.1654, allocations: 15.8 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.1654, allocations: 8.031 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.1655, allocations: 318.8 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1656, allocations: 63.94 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1657, allocations: 55.95 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.1658, allocations: 90.03 kB / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.206e-06/0.1659, allocations: 0 / 0.9833 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003857/0.1663, allocations: 231.1 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.1663, allocations: 49.67 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-06/0.1663, allocations: 3.938 kB / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1664, allocations: 64 / 0.9836 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.1664, allocations: 4 kB / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.204e-06/0.1664, allocations: 0 / 0.9836 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.1667, allocations: 23.92 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.446e-05/0.1667, allocations: 15.98 kB / 0.9836 GB, free: 22.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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 0.0001308/0.1669, allocations: 167.5 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.1669, allocations: 11.91 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.167, allocations: 4.375 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-06/0.167, allocations: 0 / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.908e-06/0.167, allocations: 4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-06/0.167, allocations: 4 kB / 0.9838 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.1671, allocations: 177.8 kB / 0.9839 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-06/0.1671, allocations: 4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.352e-06/0.1671, allocations: 0 / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.125e-06/0.1671, allocations: 4 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.1672, allocations: 11.98 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.201e-06/0.1672, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.166e-06/0.1672, allocations: 0 / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.1676, allocations: 298.5 kB / 0.9843 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.1677, allocations: 85.09 kB / 0.9843 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.1677, allocations: 11.98 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002284/0.168, allocations: 15.98 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.168, allocations: 7.984 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.1681, allocations: 19.98 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.1681, allocations: 95.2 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.74e-07/0.1682, allocations: 4 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004425/0.1686, allocations: 88.02 kB / 0.9846 GB, free: 21.85 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: 3 (yI1[1],yI2[1],yI2[2]) * Number of discrete states: 3 (yI2[2],yI2[1],yI1[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001119/0.1697, allocations: 402.3 kB / 0.9849 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004321/0.1702, allocations: 287.2 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.413e-06/0.1702, allocations: 0 / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.1704, allocations: 211.3 kB / 0.9854 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.1706, allocations: 13.81 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.1711, allocations: 254.6 kB / 0.9857 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1712, allocations: 0.6848 MB / 0.9863 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.296e-05/0.1713, allocations: 51.92 kB / 0.9864 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.352e-05/0.1713, allocations: 7.438 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of SimCode: time 1.443e-06/0.1713, allocations: 4 kB / 0.9864 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.007982/0.1793, allocations: 3.873 MB / 0.9902 GB, free: 16.12 MB / 0.6198 GB