Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.635/4.635, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002369/0.002369, allocations: 362.5 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.797/3.797, allocations: 410.8 MB / 1.112 GB, free: 147.7 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001712/0.001711, allocations: 179.5 kB / 1.225 GB, free: 35.86 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004782, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1503, allocations: 115.3 MB / 1.461 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.001767/0.1521, allocations: 1.578 MB / 1.462 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1555, allocations: 3.237 MB / 1.465 GB, free: 1.707 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.146e-05/0.1556, allocations: 4 kB / 1.465 GB, free: 1.703 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.1558, allocations: 39.75 kB / 1.465 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.1562, allocations: 115.4 kB / 1.466 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 6.611e-05/0.1563, allocations: 19.98 kB / 1.466 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1565, allocations: 163.2 kB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.1566, allocations: 25.66 kB / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.1568, allocations: 71.59 kB / 1.466 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.157, allocations: 83.67 kB / 1.466 GB, free: 1.191 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1571, allocations: 4 kB / 1.466 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.756e-05/0.1572, allocations: 23.92 kB / 1.466 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.1573, allocations: 27.84 kB / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.1573, allocations: 53.64 kB / 1.466 GB, free: 1.078 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.1575, allocations: 107.7 kB / 1.466 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.45e-06/0.1575, allocations: 0 / 1.466 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.835e-06/0.1576, allocations: 7.984 kB / 1.466 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.422e-06/0.1576, allocations: 0 / 1.466 GB, free: 0.9648 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009669/0.1585, allocations: 0.4944 MB / 1.467 GB, free: 432 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1586, allocations: 12.03 kB / 1.467 GB, free: 420 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.1587, allocations: 19.77 kB / 1.467 GB, free: 400 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.1591, allocations: 245.7 kB / 1.467 GB, free: 112 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1591, allocations: 0 / 1.467 GB, free: 112 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1592, allocations: 4 kB / 1.467 GB, free: 108 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.1597, allocations: 153.5 kB / 1.467 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1597, allocations: 4 kB / 1.467 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1597, allocations: 0 / 1.467 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.1598, allocations: 15.98 kB / 1.467 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005992/0.1604, allocations: 167.7 kB / 1.467 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.1613, allocations: 460.5 kB / 1.468 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005613/0.1619, allocations: 178.5 kB / 1.468 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.1623, allocations: 108.8 kB / 1.468 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.1623, allocations: 7.984 kB / 1.468 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1624, allocations: 46.45 kB / 1.468 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 2.265e-06/0.1624, allocations: 0 / 1.468 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.00112/0.1635, allocations: 305.7 kB / 1.468 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1636, allocations: 55.41 kB / 1.468 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.1638, allocations: 209 kB / 1.469 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1639, allocations: 33.7 kB / 1.469 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.164, allocations: 124 kB / 1.469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.1e-05/0.1641, allocations: 47.33 kB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.305e-05/0.1641, allocations: 4 kB / 1.469 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.1643, allocations: 326.8 kB / 1.469 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.1646, allocations: 87.94 kB / 1.469 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.1649, allocations: 83.86 kB / 1.469 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.1653, allocations: 95.44 kB / 1.469 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-06/0.1653, allocations: 0 / 1.469 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007392/0.166, allocations: 233.3 kB / 1.47 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1661, allocations: 7.953 kB / 1.47 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.583e-06/0.1661, allocations: 0 / 1.47 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1661, allocations: 0 / 1.47 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/0.1665, allocations: 35.97 kB / 1.47 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.991e-06/0.1665, allocations: 8 kB / 1.47 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1667, allocations: 19.98 kB / 1.47 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1667, allocations: 7.922 kB / 1.47 GB, free: 13.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001546/0.1669, allocations: 126.4 kB / 1.47 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.167, allocations: 23.66 kB / 1.47 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.435e-05/0.1671, allocations: 29.78 kB / 1.47 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.607e-06/0.1671, allocations: 4 kB / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.71e-06/0.1671, allocations: 0 / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-06/0.1671, allocations: 4 kB / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.1675, allocations: 269.5 kB / 1.47 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-06/0.1675, allocations: 0 / 1.47 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003043/0.1678, allocations: 35.97 kB / 1.47 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.716e-06/0.1679, allocations: 0 / 1.47 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1679, allocations: 0 / 1.47 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.854e-06/0.1679, allocations: 11.94 kB / 1.47 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.057e-06/0.1679, allocations: 3.938 kB / 1.47 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008155/0.1687, allocations: 335.1 kB / 1.47 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.1689, allocations: 108.9 kB / 1.471 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.169, allocations: 4 kB / 1.471 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.1692, allocations: 19.98 kB / 1.471 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.1693, allocations: 19.94 kB / 1.471 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.1693, allocations: 4 kB / 1.471 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001907/0.1695, allocations: 152.5 kB / 1.471 GB, free: 12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.4e-07/0.1695, allocations: 0 / 1.471 GB, free: 12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003733/0.1699, allocations: 36 kB / 1.471 GB, free: 11.96 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001787/0.1701, allocations: 107.2 kB / 1.471 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007002/0.1708, allocations: 187.9 kB / 1.471 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.771e-06/0.1708, allocations: 0 / 1.471 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.1712, allocations: 107.9 kB / 1.471 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.1717, allocations: 28.36 kB / 1.471 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1728, allocations: 0.4974 MB / 1.472 GB, free: 11 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.1732, allocations: 0.7277 MB / 1.472 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.1735, allocations: 60.56 kB / 1.472 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.1736, allocations: 19.42 kB / 1.472 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of SimCode: time 1.497e-06/0.1736, allocations: 0 / 1.472 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of Templates: time 0.005779/0.1794, allocations: 1.597 MB / 1.474 GB, free: 8.594 MB / 0.6198 GB