Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.IO.Files.Examples.Printer.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.Files.Examples.Printer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.IO.Files.Examples.Printer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.92/2.92, allocations: 287.9 MB / 302.9 MB, free: 8.262 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.00144/0.00144, allocations: 180.5 kB / 371.4 MB, free: 10.67 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.076/2.076, allocations: 205.4 MB / 0.6301 GB, free: 10.31 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.001035/0.001035, allocations: 102.4 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.0004865, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1578, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.001553/0.1594, allocations: 1.273 MB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1607, allocations: 0.6998 MB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.1607, allocations: 0 / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.199e-05/0.1608, allocations: 11.88 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.1609, allocations: 15.95 kB / 0.9807 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.1613, allocations: 87.77 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1615, allocations: 87.83 kB / 0.9809 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1616, allocations: 29.09 kB / 0.9809 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.71e-05/0.1617, allocations: 47.78 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.1618, allocations: 51.75 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1618, allocations: 4 kB / 0.981 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1619, allocations: 39.91 kB / 0.981 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.162, allocations: 23.91 kB / 0.9811 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.162, allocations: 41.64 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1622, allocations: 112 kB / 0.9812 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.1622, allocations: 4 kB / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.928e-06/0.1622, allocations: 0 / 0.9812 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.1623, allocations: 4 kB / 0.9812 GB, free: 25.64 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006948/0.163, allocations: 0.5272 MB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.163, allocations: 12.02 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.1631, allocations: 15.81 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1633, allocations: 206.8 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1633, allocations: 11.94 kB / 0.982 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.1634, allocations: 11.94 kB / 0.982 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.1637, allocations: 139.3 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.691e-06/0.1637, allocations: 0 / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1638, allocations: 4 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-06/0.1638, allocations: 4 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.1641, allocations: 83.94 kB / 0.9822 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.1647, allocations: 484.6 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.165, allocations: 89.12 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.165, allocations: 4.125 kB / 0.9827 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.1654, allocations: 160.9 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=12): time 2.841e-06/0.1654, allocations: 0 / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12): time 0.0006618/0.1661, allocations: 205.4 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1661, allocations: 77.11 kB / 0.9832 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.1663, allocations: 166.9 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1663, allocations: 33.7 kB / 0.9834 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.1664, allocations: 104.3 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.1664, allocations: 35.64 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-06/0.1665, allocations: 4 kB / 0.9835 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.881e-05/0.1665, allocations: 326.8 kB / 0.9838 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.1667, allocations: 39.95 kB / 0.9838 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.1669, allocations: 130.1 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1671, allocations: 55.98 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.158e-06/0.1671, allocations: 0 / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004533/0.1676, allocations: 181.5 kB / 0.9842 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1676, allocations: 8 kB / 0.9842 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.489e-06/0.1676, allocations: 7.938 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1677, allocations: 8.188 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1678, allocations: 19.98 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1678, allocations: 4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.168, allocations: 15.98 kB / 0.9843 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.168, allocations: 12 kB / 0.9843 GB, free: 22.2 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: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.0001342/0.1681, allocations: 133.9 kB / 0.9844 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.1682, allocations: 23.73 kB / 0.9844 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.1683, allocations: 13.78 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1683, allocations: 3.953 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.004e-06/0.1683, allocations: 4 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-06/0.1683, allocations: 3.984 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.1691, allocations: 0.5521 MB / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1691, allocations: 0 / 0.985 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.806e-05/0.1692, allocations: 23.94 kB / 0.985 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1692, allocations: 4 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.1693, allocations: 3.984 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.807e-06/0.1693, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.1693, allocations: 3.938 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000451/0.1698, allocations: 340.3 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.1698, allocations: 88.92 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.1698, allocations: 8 kB / 0.9854 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.1701, allocations: 23.97 kB / 0.9855 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.1702, allocations: 15.98 kB / 0.9855 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.1702, allocations: 7.938 kB / 0.9855 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.504e-05/0.1703, allocations: 128.2 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.89e-07/0.1703, allocations: 0 / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004702/0.1708, allocations: 36 kB / 0.9856 GB, free: 20.7 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004481/0.1713, allocations: 200 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004347/0.1717, allocations: 123.8 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.1717, allocations: 0.5625 kB / 0.9859 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.1719, allocations: 59.95 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1723, allocations: 17.52 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.1728, allocations: 270.7 kB / 0.9863 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.173, allocations: 0.7199 MB / 0.987 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.27e-05/0.1731, allocations: 20.53 kB / 0.987 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.1731, allocations: 15.44 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.256e-06/0.1731, allocations: 0 / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.00578/0.1789, allocations: 1.584 MB / 0.9886 GB, free: 17.69 MB / 0.6198 GB