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.01077/0.01077, allocations: 105.4 kB / 15.74 MB, free: 6.488 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.001721/0.001721, allocations: 196.1 kB / 16.68 MB, free: 6.375 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.545/1.545, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.6111/0.6111, allocations: 95.48 MB / 365.4 MB, free: 9.797 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.001489/0.001489, allocations: 64.56 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1396, allocations: 69.1 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.002814/0.1424, allocations: 1.59 MB / 0.5727 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1438, allocations: 1.031 MB / 0.5737 GB, free: 5.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.406e-05/0.1439, allocations: 4 kB / 0.5737 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.1441, 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.0002194/0.1444, allocations: 51.7 kB / 0.5737 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002489/0.1446, allocations: 79.02 kB / 0.5738 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002449/0.1449, allocations: 217.7 kB / 0.574 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.67e-05/0.145, allocations: 20 kB / 0.574 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.1451, allocations: 75.81 kB / 0.5741 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.1453, allocations: 83.72 kB / 0.5742 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.1453, allocations: 16 kB / 0.5742 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1454, allocations: 59.98 kB / 0.5743 GB, free: 5.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.1455, allocations: 71.81 kB / 0.5743 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.1456, allocations: 103.4 kB / 0.5744 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1459, allocations: 251.1 kB / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1459, allocations: 0 / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1459, allocations: 0 / 0.5747 GB, free: 4.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1459, allocations: 0 / 0.5747 GB, free: 4.633 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.0006823/0.1466, allocations: 0.544 MB / 0.5752 GB, free: 4.035 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1467, allocations: 15.98 kB / 0.5752 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.716e-05/0.1467, allocations: 28.59 kB / 0.5752 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.147, allocations: 256.4 kB / 0.5755 GB, free: 3.703 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.147, allocations: 16.12 kB / 0.5755 GB, free: 3.688 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.147, allocations: 12 kB / 0.5755 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.1474, allocations: 199.4 kB / 0.5757 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1474, allocations: 0 / 0.5757 GB, free: 3.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1474, allocations: 12 kB / 0.5757 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.1475, allocations: 7.984 kB / 0.5757 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008049/0.1483, allocations: 0.7334 MB / 0.5764 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007818/0.1491, allocations: 0.5585 MB / 0.577 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.1494, allocations: 223.5 kB / 0.5772 GB, free: 1.879 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1496, allocations: 100.8 kB / 0.5773 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.1496, allocations: 19.95 kB / 0.5773 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.1499, allocations: 173.5 kB / 0.5775 GB, free: 1.574 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.1499, allocations: 4 kB / 0.5775 GB, free: 1.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0006242/0.1506, allocations: 358.7 kB / 0.5778 GB, free: 1.215 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.1506, allocations: 81.11 kB / 0.5779 GB, free: 1.117 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.1509, allocations: 287.1 kB / 0.5782 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.1509, allocations: 33.7 kB / 0.5782 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.273e-05/0.151, allocations: 124.7 kB / 0.5783 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-05/0.1511, allocations: 106.4 kB / 0.5784 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.1512, allocations: 61.69 kB / 0.5785 GB, free: 496 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1513, allocations: 342.8 kB / 0.5788 GB, free: 144 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.1515, allocations: 75.89 kB / 0.5789 GB, free: 68 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1517, allocations: 101.8 kB / 0.579 GB, free: 15.96 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.152, allocations: 236 kB / 0.5792 GB, free: 15.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.152, allocations: 0 / 0.5792 GB, free: 15.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004131/0.1524, allocations: 295 kB / 0.5795 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.1525, allocations: 29.7 kB / 0.5795 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1525, allocations: 0 / 0.5795 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1525, allocations: 11.97 kB / 0.5795 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1527, allocations: 55.91 kB / 0.5796 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1527, allocations: 0 / 0.5796 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.919e-05/0.1528, allocations: 19.83 kB / 0.5796 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.1529, allocations: 16 kB / 0.5796 GB, free: 15.28 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.0001401/0.153, allocations: 157.7 kB / 0.5798 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.1531, allocations: 23.72 kB / 0.5798 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/0.1532, allocations: 42.64 kB / 0.5798 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.1532, allocations: 7.938 kB / 0.5798 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1532, allocations: 0 / 0.5798 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.1532, allocations: 3.984 kB / 0.5798 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.1535, allocations: 317.2 kB / 0.5801 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.1535, allocations: 4 kB / 0.5801 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1537, allocations: 59.91 kB / 0.5802 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1537, allocations: 4 kB / 0.5802 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1537, allocations: 8 kB / 0.5802 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1537, allocations: 3.938 kB / 0.5802 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1537, allocations: 0 / 0.5802 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.1541, allocations: 312.8 kB / 0.5805 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1543, allocations: 136.7 kB / 0.5807 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.1543, allocations: 11.94 kB / 0.5807 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/0.1544, allocations: 11.92 kB / 0.5807 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.1545, allocations: 23.97 kB / 0.5807 GB, free: 14.08 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1545, allocations: 8 kB / 0.5807 GB, free: 14.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1547, allocations: 228.6 kB / 0.5809 GB, free: 13.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1547, allocations: 0 / 0.5809 GB, free: 13.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.155, 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.000936/0.1559, allocations: 406.7 kB / 0.5814 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004109/0.1564, 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.174e-06/0.1564, allocations: 0 / 0.5816 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.1566, allocations: 119.8 kB / 0.5817 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.1568, allocations: 33.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.0008454/0.1577, allocations: 0.4896 MB / 0.5823 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.158, allocations: 0.7535 MB / 0.583 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.1583, allocations: 146.2 kB / 0.5831 GB, free: 11.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.1584, allocations: 43.42 kB / 0.5832 GB, free: 11.62 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1584, allocations: 0 / 0.5832 GB, free: 11.62 MB / 462.1 MB Notification: Performance of Templates: time 0.006298/0.1647, allocations: 2.517 MB / 0.5856 GB, free: 9.121 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)