Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.65/4.65, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 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.002391/0.002391, allocations: 355.9 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.842/3.842, allocations: 410.7 MB / 1.112 GB, free: 147.8 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.001679/0.001678, allocations: 186.6 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005202/0.0005205, allocations: 13.06 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1558, allocations: 115.3 MB / 1.461 GB, free: 6.605 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001892/0.1578, allocations: 1.66 MB / 1.462 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003759/0.1615, allocations: 3.447 MB / 1.466 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1617, allocations: 0 / 1.466 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1619, allocations: 43.75 kB / 1.466 GB, free: 1.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.1622, allocations: 99.28 kB / 1.466 GB, free: 1.332 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1626, allocations: 95.75 kB / 1.466 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.1629, allocations: 235 kB / 1.466 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1631, allocations: 32.58 kB / 1.466 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002226/0.1633, allocations: 95.61 kB / 1.466 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.1635, allocations: 99.59 kB / 1.466 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1635, allocations: 8 kB / 1.466 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.1638, allocations: 103.8 kB / 1.467 GB, free: 0.6719 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.1639, allocations: 35.83 kB / 1.467 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.164, allocations: 61.58 kB / 1.467 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1643, allocations: 175.6 kB / 1.467 GB, free: 408 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1643, allocations: 0 / 1.467 GB, free: 408 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.898e-06/0.1643, allocations: 0 / 1.467 GB, free: 408 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.46e-06/0.1643, allocations: 0 / 1.467 GB, free: 408 kB / 0.6042 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.001263/0.1656, allocations: 0.588 MB / 1.467 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1656, allocations: 12.02 kB / 1.467 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.405e-05/0.1657, allocations: 23.72 kB / 1.467 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004953/0.1662, allocations: 262.4 kB / 1.468 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1663, allocations: 4 kB / 1.468 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.1663, allocations: 8 kB / 1.468 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006394/0.1669, allocations: 195.7 kB / 1.468 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.167, allocations: 0 / 1.468 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.692e-05/0.167, allocations: 11.92 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.167, allocations: 4 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.168, allocations: 235.8 kB / 1.468 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.1691, allocations: 496.5 kB / 1.469 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005309/0.1696, allocations: 150.5 kB / 1.469 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.1701, allocations: 132.8 kB / 1.469 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/0.1712, allocations: 0.565 MB / 1.469 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.1713, allocations: 42.56 kB / 1.469 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.841e-06/0.1713, allocations: 0 / 1.469 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001596/0.1729, allocations: 417.3 kB / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.173, allocations: 55.34 kB / 1.47 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.1733, allocations: 230.7 kB / 1.47 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.1733, allocations: 29.64 kB / 1.47 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.1735, allocations: 140 kB / 1.47 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.235e-05/0.1735, allocations: 43.45 kB / 1.47 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.1736, allocations: 0 / 1.47 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1737, allocations: 334.8 kB / 1.471 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004809/0.1742, allocations: 119.9 kB / 1.471 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.1747, allocations: 111.9 kB / 1.471 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004692/0.1752, allocations: 115.9 kB / 1.471 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-06/0.1752, allocations: 0 / 1.471 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001071/0.1763, allocations: 305.1 kB / 1.471 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1763, allocations: 8 kB / 1.471 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.173e-06/0.1763, allocations: 0 / 1.471 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1764, allocations: 0 / 1.471 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.1768, allocations: 59.88 kB / 1.471 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.369e-06/0.1768, allocations: 4 kB / 1.471 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.1771, allocations: 39.97 kB / 1.471 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1771, allocations: 4 kB / 1.471 GB, free: 11.4 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 (11): * Single equations (assignments): 11 * 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.0001629/0.1773, allocations: 126.4 kB / 1.471 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-05/0.1774, allocations: 23.67 kB / 1.471 GB, free: 11.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.1786, allocations: 335.8 kB / 1.472 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.127e-06/0.1786, allocations: 0 / 1.472 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1786, allocations: 0 / 1.472 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-06/0.1786, allocations: 4 kB / 1.472 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.1791, allocations: 273.4 kB / 1.472 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-06/0.1791, allocations: 0 / 1.472 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.1795, allocations: 55.94 kB / 1.472 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.566e-06/0.1795, allocations: 0 / 1.472 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.1795, allocations: 15.94 kB / 1.472 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.93e-06/0.1796, allocations: 4 kB / 1.472 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.051e-06/0.1796, allocations: 0 / 1.472 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.1807, allocations: 403.1 kB / 1.473 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.1809, allocations: 108.8 kB / 1.473 GB, free: 9.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.181, allocations: 4 kB / 1.473 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.1813, allocations: 39.92 kB / 1.473 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.1814, allocations: 15.97 kB / 1.473 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1814, allocations: 4 kB / 1.473 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001983/0.1816, allocations: 170 kB / 1.473 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.73e-07/0.1817, allocations: 0 / 1.473 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004415/0.1821, allocations: 55.94 kB / 1.473 GB, free: 9.699 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 (11): * Single equations (assignments): 11 * 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.000251/0.1824, allocations: 135.2 kB / 1.473 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.1834, allocations: 263.7 kB / 1.473 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1834, allocations: 0 / 1.473 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.1839, allocations: 143.8 kB / 1.473 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.1845, allocations: 28.41 kB / 1.473 GB, free: 9.133 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1855, allocations: 493.2 kB / 1.474 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.186, allocations: 0.7433 MB / 1.475 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.1863, allocations: 36.78 kB / 1.475 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.1864, allocations: 19.42 kB / 1.475 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of SimCode: time 1.518e-06/0.1864, allocations: 0 / 1.475 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of Templates: time 0.007289/0.1937, allocations: 2.311 MB / 1.477 GB, free: 5.508 MB / 0.6198 GB