Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.904/2.904, 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.001399/0.001399, allocations: 184.3 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.02/2.02, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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: 94.34 kB / 0.7434 GB, free: 6.434 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004689, allocations: 12.38 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1527, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002011/0.1547, allocations: 1.738 MB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.1587, allocations: 3.343 MB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.1589, allocations: 4 kB / 0.9837 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.1591, allocations: 43.73 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.1595, allocations: 131.5 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.1598, allocations: 119.7 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002647/0.1601, allocations: 195.6 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1603, allocations: 40.91 kB / 0.9842 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.1605, allocations: 115.6 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.1607, allocations: 127.5 kB / 0.9845 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.1607, allocations: 8 kB / 0.9845 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.161, allocations: 115.8 kB / 0.9846 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.221e-05/0.161, allocations: 47.81 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.1611, allocations: 61.58 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.1614, allocations: 219.5 kB / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.487e-06/0.1614, allocations: 0 / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.96e-06/0.1614, allocations: 0 / 0.9849 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.388e-06/0.1614, allocations: 0 / 0.9849 GB, free: 21.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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001083/0.1625, allocations: 0.6269 MB / 0.9855 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.1625, allocations: 12.03 kB / 0.9855 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009909/0.1635, allocations: 167.4 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.1643, allocations: 323.2 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1643, allocations: 8.188 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.1644, allocations: 12 kB / 0.986 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/0.1652, allocations: 258.9 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.917e-06/0.1652, allocations: 0 / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.1652, allocations: 0 / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-06/0.1653, allocations: 4 kB / 0.9862 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1665, allocations: 344.2 kB / 0.9866 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.1679, allocations: 0.6021 MB / 0.9872 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.1686, allocations: 198.4 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/0.1695, allocations: 0.5728 MB / 0.9879 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.1695, allocations: 30.56 kB / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.064e-06/0.1695, allocations: 0 / 0.9879 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.002088/0.1716, allocations: 0.5706 MB / 0.9885 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.1717, allocations: 51.41 kB / 0.9885 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.1719, allocations: 260.6 kB / 0.9888 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.172, allocations: 29.7 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.794e-05/0.1721, allocations: 155.9 kB / 0.989 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.1721, allocations: 39.44 kB / 0.989 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.1722, allocations: 11.94 kB / 0.989 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.905e-05/0.1723, allocations: 342.8 kB / 0.9893 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.1729, allocations: 171.9 kB / 0.9895 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006263/0.1735, allocations: 185.2 kB / 0.9897 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006244/0.1742, allocations: 173.4 kB / 0.9899 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-06/0.1742, allocations: 4 kB / 0.9899 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00141/0.1756, allocations: 429 kB / 0.9903 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.1757, allocations: 4 kB / 0.9903 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.627e-06/0.1757, allocations: 0 / 0.9903 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1757, allocations: 4 kB / 0.9903 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.1763, allocations: 79.92 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.938e-06/0.1763, allocations: 3.984 kB / 0.9904 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.1767, allocations: 63.8 kB / 0.9904 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.1767, allocations: 7.984 kB / 0.9904 GB, free: 15.89 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 (17): * Single equations (assignments): 17 * 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.0001446/0.1769, allocations: 133.7 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.177, allocations: 23.72 kB / 0.9906 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.1784, allocations: 439.3 kB / 0.991 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.064e-06/0.1785, allocations: 0 / 0.991 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/0.1785, allocations: 4 kB / 0.991 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.706e-06/0.1785, allocations: 0 / 0.991 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003563/0.1789, allocations: 305.3 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.1789, allocations: 3.938 kB / 0.9913 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.1795, allocations: 79.86 kB / 0.9914 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.506e-05/0.1795, allocations: 0 / 0.9914 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.1796, allocations: 11.98 kB / 0.9914 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.464e-06/0.1796, allocations: 0 / 0.9914 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.598e-06/0.1796, allocations: 0 / 0.9914 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.1812, allocations: 499 kB / 0.9919 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.1813, allocations: 124.7 kB / 0.992 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.1814, allocations: 7.984 kB / 0.992 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/0.1819, allocations: 55.94 kB / 0.992 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.285e-05/0.182, allocations: 15.98 kB / 0.992 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.182, allocations: 7.984 kB / 0.9921 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000167/0.1822, allocations: 187.1 kB / 0.9922 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.21e-07/0.1822, allocations: 0 / 0.9922 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004463/0.1827, allocations: 75.89 kB / 0.9923 GB, free: 13.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: 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.0002054/0.1829, allocations: 131.1 kB / 0.9924 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00137/0.1843, allocations: 377.1 kB / 0.9928 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.043e-06/0.1843, allocations: 3.938 kB / 0.9928 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006629/0.1849, allocations: 195.9 kB / 0.993 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1853, allocations: 40.52 kB / 0.993 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.1865, allocations: 0.5836 MB / 0.9936 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.1867, allocations: 0.7516 MB / 0.9943 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003634/0.1871, allocations: 49.38 kB / 0.9944 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.1872, allocations: 23.42 kB / 0.9944 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of SimCode: time 1.628e-06/0.1872, allocations: 0 / 0.9944 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of Templates: time 0.007497/0.1947, allocations: 2.843 MB / 0.9972 GB, free: 8.84 MB / 0.6198 GB