Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.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.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01059/0.01059, allocations: 102.2 kB / 15.73 MB, free: 6.035 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.001832/0.001832, allocations: 197.6 kB / 16.67 MB, free: 5.969 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.759/1.759, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.6508/0.6508, 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.001581/0.001582, allocations: 75.89 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1466, allocations: 69.08 MB / 0.5711 GB, free: 8.324 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.003615/0.1503, allocations: 1.598 MB / 0.5727 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00162/0.1519, allocations: 1.035 MB / 0.5737 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.667e-05/0.1521, allocations: 3.938 kB / 0.5737 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002837/0.1524, allocations: 27.84 kB / 0.5737 GB, free: 5.641 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.0002747/0.1526, allocations: 43.78 kB / 0.5737 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.153, allocations: 79.77 kB / 0.5738 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.1533, allocations: 221.6 kB / 0.574 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1534, allocations: 23.98 kB / 0.574 GB, free: 5.277 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1535, allocations: 63.89 kB / 0.5741 GB, free: 5.215 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1538, allocations: 91.7 kB / 0.5742 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.1538, allocations: 16 kB / 0.5742 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.154, allocations: 59.98 kB / 0.5743 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1541, allocations: 75.75 kB / 0.5743 GB, free: 4.977 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1542, allocations: 99.41 kB / 0.5744 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1545, allocations: 251.1 kB / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1545, allocations: 0 / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1546, allocations: 0 / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1546, allocations: 4 kB / 0.5747 GB, free: 4.629 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008312/0.1554, allocations: 0.5402 MB / 0.5752 GB, free: 4.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.1555, allocations: 11.98 kB / 0.5752 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.538e-05/0.1555, allocations: 28.59 kB / 0.5752 GB, free: 3.996 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1558, allocations: 256.4 kB / 0.5755 GB, free: 3.707 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1559, allocations: 16.12 kB / 0.5755 GB, free: 3.691 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.1559, allocations: 16 kB / 0.5755 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.1563, allocations: 199.4 kB / 0.5757 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1563, allocations: 7.922 kB / 0.5757 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.1563, allocations: 8 kB / 0.5757 GB, free: 3.453 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1563, allocations: 7.938 kB / 0.5757 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009728/0.1573, allocations: 0.7334 MB / 0.5764 GB, free: 2.711 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009891/0.1583, allocations: 0.5547 MB / 0.577 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.1587, allocations: 223.4 kB / 0.5772 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.1589, allocations: 104.8 kB / 0.5773 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.669e-05/0.159, allocations: 15.97 kB / 0.5773 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/0.1594, allocations: 165.5 kB / 0.5775 GB, free: 1.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.754e-06/0.1594, allocations: 4 kB / 0.5775 GB, free: 1.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007165/0.1601, allocations: 362.7 kB / 0.5778 GB, free: 1.219 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.1602, allocations: 81.11 kB / 0.5779 GB, free: 1.121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.1606, allocations: 287.1 kB / 0.5782 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1606, allocations: 33.7 kB / 0.5782 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.1607, allocations: 120.7 kB / 0.5783 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1609, allocations: 114.4 kB / 0.5784 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.161, allocations: 57.7 kB / 0.5785 GB, free: 500 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1612, allocations: 338.8 kB / 0.5788 GB, free: 152 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.1613, allocations: 79.95 kB / 0.5789 GB, free: 72 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.1615, allocations: 101.7 kB / 0.579 GB, free: 15.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003443/0.1619, allocations: 232 kB / 0.5792 GB, free: 15.73 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1619, allocations: 4 kB / 0.5792 GB, free: 15.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004596/0.1624, allocations: 294.9 kB / 0.5795 GB, free: 15.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.1624, allocations: 33.7 kB / 0.5795 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1624, allocations: 0 / 0.5795 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.1625, allocations: 7.922 kB / 0.5795 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.1627, allocations: 59.94 kB / 0.5796 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.1627, allocations: 4 kB / 0.5796 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.1628, allocations: 19.84 kB / 0.5796 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.1629, allocations: 11.98 kB / 0.5796 GB, free: 15.29 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 (34): * Single equations (assignments): 33 * 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.0001687/0.163, allocations: 165.7 kB / 0.5798 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.1631, allocations: 23.72 kB / 0.5798 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.1632, allocations: 38.64 kB / 0.5798 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1632, allocations: 7.938 kB / 0.5798 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1632, allocations: 4 kB / 0.5798 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1632, allocations: 0 / 0.5798 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1635, allocations: 317.2 kB / 0.5802 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1636, allocations: 3.984 kB / 0.5802 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1637, allocations: 55.92 kB / 0.5802 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1637, allocations: 0 / 0.5802 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1638, allocations: 11.98 kB / 0.5802 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1638, allocations: 7.938 kB / 0.5802 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1638, allocations: 3.938 kB / 0.5802 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.1642, allocations: 308.9 kB / 0.5805 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.1644, allocations: 136.7 kB / 0.5807 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.1644, allocations: 4 kB / 0.5807 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.541e-05/0.1645, allocations: 11.94 kB / 0.5807 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.1646, allocations: 23.97 kB / 0.5807 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.1646, allocations: 11.98 kB / 0.5807 GB, free: 14.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1648, allocations: 224.6 kB / 0.5809 GB, free: 13.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1648, allocations: 4 kB / 0.5809 GB, free: 13.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1651, allocations: 55.98 kB / 0.581 GB, free: 13.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 (33): * Single equations (assignments): 32 * 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.001051/0.1662, allocations: 409.2 kB / 0.5814 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004715/0.1667, allocations: 275.4 kB / 0.5816 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1667, allocations: 0 / 0.5816 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002182/0.1669, allocations: 123.8 kB / 0.5817 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1672, allocations: 29.86 kB / 0.5818 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000913/0.1681, allocations: 0.4935 MB / 0.5823 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.1685, allocations: 0.7574 MB / 0.583 GB, free: 11.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.1688, allocations: 146 kB / 0.5831 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.023e-05/0.1688, allocations: 39.41 kB / 0.5832 GB, free: 11.62 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.1689, allocations: 4 kB / 0.5832 GB, free: 11.62 MB / 462.1 MB Notification: Performance of Templates: time 0.006525/0.1754, allocations: 2.496 MB / 0.5856 GB, free: 9.133 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.pipe 2>&1)