Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Python36.Functions.Examples.Exchange") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.838/4.838, allocations: 0.5623 GB / 0.5769 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002494, allocations: 355.7 kB / 0.644 GB, free: 21.54 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.188/4.188, allocations: 410.7 MB / 1.112 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 182.1 kB / 1.225 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 14.45 kB / 1.348 GB, free: 321.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Functions.Examples.Exchange): time 0.0006497/0.1581, allocations: 275 kB / 1.461 GB, free: 220.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001628/0.1598, allocations: 1.194 MB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.1598, allocations: 0 / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 8.208e-05/0.1599, allocations: 11.88 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.16, allocations: 0.6875 kB / 1.462 GB, free: 219.2 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.1607, allocations: 260.3 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.497e-05/0.1608, allocations: 51.89 kB / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.1608, allocations: 9.297 kB / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.1609, allocations: 43.89 kB / 1.463 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.161, allocations: 43.89 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.161, allocations: 4.781 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.1614, allocations: 187.6 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.1615, allocations: 12.58 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1615, allocations: 33.64 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1618, allocations: 193.5 kB / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.159e-06/0.1618, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.015e-06/0.1618, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.546e-06/0.1618, allocations: 0 / 1.463 GB, free: 218.4 MB / 0.8073 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.0003184/0.1621, allocations: 426.6 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1622, allocations: 8.75 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1622, allocations: 8 kB / 1.463 GB, free: 217.9 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.379e-05/0.1623, allocations: 179.9 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.1624, allocations: 0 / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.1624, allocations: 9.25 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1627, allocations: 129.4 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.1627, allocations: 0 / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.1627, allocations: 4.625 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-06/0.1627, allocations: 3.938 kB / 1.464 GB, free: 217.6 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1629, allocations: 61.2 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.163, allocations: 165.6 kB / 1.464 GB, free: 217.3 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1632, allocations: 116.4 kB / 1.464 GB, free: 217.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.1633, allocations: 104.9 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.412e-06/0.1633, allocations: 0 / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.1634, allocations: 39.88 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.728e-06/0.1634, allocations: 0 / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0005251/0.1639, allocations: 287.9 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.164, allocations: 85.83 kB / 1.465 GB, free: 216.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.995e-05/0.1641, allocations: 125.7 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1641, allocations: 32.45 kB / 1.465 GB, free: 216.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.1641, allocations: 88.14 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.003e-05/0.1642, allocations: 11.81 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.1642, allocations: 0 / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.1643, allocations: 326.8 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1644, allocations: 55.95 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1645, allocations: 74.09 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1646, allocations: 85.66 kB / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.072e-06/0.1647, allocations: 0 / 1.465 GB, free: 215.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003664/0.165, allocations: 227.2 kB / 1.466 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.1651, allocations: 45.69 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.983e-06/0.1651, allocations: 1.188 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1651, allocations: 0 / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.541e-06/0.1651, allocations: 0 / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.985e-06/0.1652, allocations: 5.453 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.1655, allocations: 23.92 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.1656, allocations: 11.98 kB / 1.466 GB, free: 215.5 MB / 0.8073 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.0001382/0.1657, allocations: 175.9 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.1657, allocations: 15.89 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.1658, allocations: 8.375 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-06/0.1658, allocations: 3.938 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.913e-06/0.1658, allocations: 1.656 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-06/0.1658, allocations: 0 / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.1659, allocations: 185.5 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-06/0.1659, allocations: 0.7812 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.34e-06/0.166, allocations: 7.875 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.897e-06/0.166, allocations: 1.562 kB / 1.466 GB, free: 215.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/0.166, allocations: 11.98 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.24e-06/0.166, allocations: 0 / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.707e-06/0.166, allocations: 0 / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.1665, allocations: 295.8 kB / 1.466 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.1665, allocations: 85.78 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.1666, allocations: 7.984 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.1668, allocations: 20.58 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1669, allocations: 11.02 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.1669, allocations: 16 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.34e-05/0.167, allocations: 95.25 kB / 1.466 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.09e-07/0.167, allocations: 0 / 1.466 GB, free: 214.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004984/0.1675, allocations: 87.98 kB / 1.467 GB, free: 214.4 MB / 0.8073 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.001062/0.1686, allocations: 402 kB / 1.467 GB, free: 214.1 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004164/0.169, allocations: 288.1 kB / 1.467 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.008e-06/0.169, allocations: 0 / 1.467 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1693, allocations: 220.3 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.1695, allocations: 11.95 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005997/0.1701, allocations: 300.2 kB / 1.468 GB, free: 213.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.1702, allocations: 0.6853 MB / 1.468 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.182e-05/0.1703, allocations: 50 kB / 1.468 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.1704, allocations: 11.44 kB / 1.468 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of SimCode: time 1.654e-06/0.1704, allocations: 1.25 kB / 1.468 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of Templates: time 0.008012/0.1784, allocations: 3.83 MB / 1.472 GB, free: 208.9 MB / 0.8073 GB