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.001246/0.001246, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.583/1.583, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.6263/0.6263, allocations: 95.48 MB / 365.2 MB, free: 9.887 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.001632/0.001632, allocations: 71.89 kB / 445.4 MB, free: 9.602 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3349, allocations: 69.07 MB / 0.5024 GB, free: 17.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.002938/0.3379, allocations: 1.656 MB / 0.504 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3396, allocations: 1.383 MB / 0.5053 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.466e-05/0.3397, allocations: 4 kB / 0.5053 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.34, allocations: 27.78 kB / 0.5054 GB, free: 14.29 MB / 382.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.0002503/0.3403, allocations: 55.7 kB / 0.5054 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000399/0.3407, allocations: 163.2 kB / 0.5056 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002548/0.3409, allocations: 225.7 kB / 0.5058 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.3411, allocations: 37.89 kB / 0.5058 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.973e-05/0.3412, allocations: 71.83 kB / 0.5059 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3414, allocations: 99.7 kB / 0.506 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.3414, allocations: 16 kB / 0.506 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.3416, allocations: 155.9 kB / 0.5062 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.493e-05/0.3417, allocations: 79.75 kB / 0.5062 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.909e-05/0.3419, allocations: 103.3 kB / 0.5063 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.3422, allocations: 315 kB / 0.5066 GB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.3422, allocations: 8 kB / 0.5066 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3422, allocations: 3.938 kB / 0.5066 GB, free: 12.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.3422, allocations: 0 / 0.5066 GB, free: 12.98 MB / 382.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.0007803/0.343, allocations: 0.5751 MB / 0.5072 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3431, allocations: 11.98 kB / 0.5072 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.3431, allocations: 32.56 kB / 0.5072 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.3434, allocations: 262.9 kB / 0.5075 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.3434, allocations: 16 kB / 0.5075 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.3435, allocations: 20 kB / 0.5075 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003107/0.3438, allocations: 212.4 kB / 0.5077 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3438, allocations: 0 / 0.5077 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.3439, allocations: 7.984 kB / 0.5077 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.3439, allocations: 4 kB / 0.5077 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.3445, allocations: 0.7412 MB / 0.5085 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007397/0.3453, allocations: 0.5822 MB / 0.509 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.3457, allocations: 308.2 kB / 0.5093 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3458, allocations: 101.4 kB / 0.5094 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.3463, allocations: 0.6651 MB / 0.5101 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.3467, allocations: 179.2 kB / 0.5103 GB, free: 8.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/0.3467, allocations: 0 / 0.5103 GB, free: 8.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006349/0.3473, allocations: 357 kB / 0.5106 GB, free: 8.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.3474, allocations: 81.11 kB / 0.5107 GB, free: 8.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.3477, allocations: 297.4 kB / 0.511 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.3477, allocations: 29.7 kB / 0.511 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.3478, allocations: 133 kB / 0.5111 GB, free: 8.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.3479, allocations: 114.3 kB / 0.5112 GB, free: 7.926 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.348, allocations: 61.7 kB / 0.5113 GB, free: 7.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.3481, allocations: 338.8 kB / 0.5116 GB, free: 7.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.3482, allocations: 75.95 kB / 0.5117 GB, free: 7.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.3483, allocations: 118.7 kB / 0.5118 GB, free: 7.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3487, allocations: 238.3 kB / 0.512 GB, free: 7.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3487, allocations: 4.031 kB / 0.512 GB, free: 7.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004283/0.3491, allocations: 315.3 kB / 0.5123 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/0.3492, allocations: 29.7 kB / 0.5123 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3492, allocations: 0 / 0.5123 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.283e-05/0.3492, allocations: 4 kB / 0.5123 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.3495, allocations: 63.84 kB / 0.5124 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.3495, allocations: 7.984 kB / 0.5124 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.3496, allocations: 23.69 kB / 0.5124 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.3496, allocations: 15.98 kB / 0.5125 GB, free: 6.609 MB / 382.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.0001528/0.3498, allocations: 161.8 kB / 0.5126 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.3498, allocations: 31.66 kB / 0.5126 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004921/0.3503, allocations: 323.9 kB / 0.5129 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3504, allocations: 7.938 kB / 0.513 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3504, allocations: 4 kB / 0.513 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3504, allocations: 3.984 kB / 0.513 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.3507, allocations: 329.2 kB / 0.5133 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.3507, allocations: 0 / 0.5133 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.3509, allocations: 59.91 kB / 0.5133 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3509, allocations: 4 kB / 0.5133 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.3509, allocations: 8 kB / 0.5133 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3509, allocations: 0 / 0.5133 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3509, allocations: 0 / 0.5133 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.3513, allocations: 332.9 kB / 0.5137 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.3514, allocations: 136.7 kB / 0.5138 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.812e-05/0.3515, allocations: 8 kB / 0.5138 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.386e-05/0.3515, allocations: 8 kB / 0.5138 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.444e-05/0.3516, allocations: 23.97 kB / 0.5138 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.3516, allocations: 15.98 kB / 0.5138 GB, free: 5.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3518, allocations: 224.5 kB / 0.5141 GB, free: 4.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3518, allocations: 0 / 0.5141 GB, free: 4.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003024/0.3521, allocations: 67.98 kB / 0.5141 GB, free: 4.793 MB / 382.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.000993/0.3531, allocations: 418.3 kB / 0.5145 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004563/0.3536, allocations: 358.9 kB / 0.5149 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3536, allocations: 0 / 0.5149 GB, free: 4.156 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3538, allocations: 131.8 kB / 0.515 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.354, allocations: 36.2 kB / 0.515 GB, free: 3.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.3549, allocations: 0.5148 MB / 0.5155 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3552, allocations: 0.7657 MB / 0.5163 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.3555, allocations: 134.9 kB / 0.5164 GB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.3556, allocations: 47.42 kB / 0.5165 GB, free: 2.484 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3556, allocations: 0 / 0.5165 GB, free: 2.484 MB / 382.1 MB Notification: Performance of Templates: time 0.006462/0.362, allocations: 2.71 MB / 0.5191 GB, free: 15.79 MB / 398.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)