Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007584/0.007584, allocations: 99.92 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 185.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.67/0.67, allocations: 95.48 MB / 365.4 MB, free: 9.785 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.89 kB / 0.5036 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1594, allocations: 69.08 MB / 0.5711 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.00303/0.1625, allocations: 1.668 MB / 0.5727 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1644, allocations: 1.395 MB / 0.5741 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.1645, allocations: 4 kB / 0.5741 GB, free: 5.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.1647, allocations: 23.78 kB / 0.5741 GB, free: 5.297 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.165, allocations: 55.7 kB / 0.5742 GB, free: 5.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1654, allocations: 147.6 kB / 0.5743 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.1657, allocations: 245.5 kB / 0.5745 GB, free: 4.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1659, allocations: 23.98 kB / 0.5746 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.166, allocations: 75.83 kB / 0.5746 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002264/0.1662, allocations: 103.6 kB / 0.5747 GB, free: 4.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1662, allocations: 16 kB / 0.5748 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.1665, allocations: 155.9 kB / 0.5749 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.1666, allocations: 79.81 kB / 0.575 GB, free: 4.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1667, allocations: 103.3 kB / 0.5751 GB, free: 4.309 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003975/0.1671, allocations: 323 kB / 0.5754 GB, free: 3.992 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1671, allocations: 0 / 0.5754 GB, free: 3.992 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1672, allocations: 0 / 0.5754 GB, free: 3.992 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1672, allocations: 0 / 0.5754 GB, free: 3.992 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007163/0.1679, allocations: 0.579 MB / 0.576 GB, free: 3.359 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1679, allocations: 15.98 kB / 0.576 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.168, allocations: 24.66 kB / 0.576 GB, free: 3.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.1683, allocations: 270.6 kB / 0.5763 GB, free: 3.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.1683, allocations: 12 kB / 0.5763 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.1684, allocations: 16 kB / 0.5763 GB, free: 2.988 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.1687, allocations: 208.4 kB / 0.5765 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1687, allocations: 0 / 0.5765 GB, free: 2.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1687, allocations: 8 kB / 0.5765 GB, free: 2.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1688, allocations: 7.984 kB / 0.5765 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/0.1696, allocations: 0.749 MB / 0.5772 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.1704, allocations: 0.5745 MB / 0.5778 GB, free: 1.383 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.1709, allocations: 296.2 kB / 0.5781 GB, free: 1.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.171, allocations: 121.3 kB / 0.5782 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.1716, allocations: 0.6572 MB / 0.5788 GB, free: 164 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.172, allocations: 167.5 kB / 0.579 GB, free: 15.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.172, allocations: 0 / 0.579 GB, free: 15.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007102/0.1727, allocations: 364.9 kB / 0.5793 GB, free: 15.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.1728, allocations: 85.11 kB / 0.5794 GB, free: 15.52 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.1731, allocations: 297.4 kB / 0.5797 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.1731, allocations: 33.7 kB / 0.5797 GB, free: 15.18 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.1732, allocations: 121 kB / 0.5798 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.1734, allocations: 118.3 kB / 0.58 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.1735, allocations: 65.61 kB / 0.58 GB, free: 14.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1736, allocations: 334.8 kB / 0.5803 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1738, allocations: 83.95 kB / 0.5804 GB, free: 14.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.1739, allocations: 122.6 kB / 0.5805 GB, free: 14.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.1743, allocations: 230.5 kB / 0.5808 GB, free: 14.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1743, allocations: 0 / 0.5808 GB, free: 14.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004423/0.1747, allocations: 319.1 kB / 0.5811 GB, free: 13.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/0.1748, allocations: 33.69 kB / 0.5811 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1748, allocations: 0 / 0.5811 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1748, allocations: 4 kB / 0.5811 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.175, allocations: 59.91 kB / 0.5812 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.175, allocations: 7.938 kB / 0.5812 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.144e-05/0.1751, allocations: 19.88 kB / 0.5812 GB, free: 13.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.1752, allocations: 19.98 kB / 0.5812 GB, free: 13.62 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (timCon.tStart,$PRE.timCon.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.1753, allocations: 157.7 kB / 0.5813 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.1754, allocations: 23.72 kB / 0.5814 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005213/0.1759, allocations: 320.1 kB / 0.5817 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1759, allocations: 4 kB / 0.5817 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1759, allocations: 0 / 0.5817 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.1759, allocations: 3.984 kB / 0.5817 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.1762, allocations: 333.1 kB / 0.582 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.1763, allocations: 3.984 kB / 0.582 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.1764, allocations: 63.91 kB / 0.5821 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1765, allocations: 0 / 0.5821 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1765, allocations: 8 kB / 0.5821 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1765, allocations: 0 / 0.5821 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1765, allocations: 4 kB / 0.5821 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.1769, allocations: 328.8 kB / 0.5824 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1771, allocations: 140.7 kB / 0.5825 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.1771, allocations: 8 kB / 0.5825 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.1772, allocations: 8 kB / 0.5825 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.837e-05/0.1773, allocations: 23.97 kB / 0.5826 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1773, allocations: 11.98 kB / 0.5826 GB, free: 12.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001875/0.1775, allocations: 240.4 kB / 0.5828 GB, free: 11.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1775, allocations: 0 / 0.5828 GB, free: 11.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002944/0.1778, allocations: 67.98 kB / 0.5829 GB, free: 11.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,timCon.tStart) * Number of discrete states: 1 (timCon.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009289/0.1787, allocations: 405.7 kB / 0.5833 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.1792, allocations: 279.1 kB / 0.5835 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1792, allocations: 0 / 0.5835 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.1794, allocations: 131.8 kB / 0.5836 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1797, allocations: 37.81 kB / 0.5837 GB, free: 11.08 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1807, allocations: 0.5224 MB / 0.5842 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.1811, allocations: 0.7611 MB / 0.5849 GB, free: 9.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003038/0.1814, allocations: 142.9 kB / 0.5851 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.1815, allocations: 43.41 kB / 0.5851 GB, free: 9.566 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1815, allocations: 3.938 kB / 0.5851 GB, free: 9.562 MB / 462.1 MB Notification: Performance of Templates: time 0.007039/0.1886, allocations: 2.786 MB / 0.5878 GB, free: 6.789 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation.pipe 2>&1)