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.001643/0.001643, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.002255/0.002255, allocations: 192.1 kB / 16.25 MB, free: 6.156 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.41/1.41, allocations: 205.1 MB / 222.1 MB, free: 4.559 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.571/0.571, allocations: 95.49 MB / 364.9 MB, free: 9.98 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.001359/0.00136, allocations: 63.91 kB / 444.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.275, allocations: 69.07 MB / 0.5019 GB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.002484/0.2775, allocations: 1.647 MB / 0.5035 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009807/0.2785, allocations: 1.019 MB / 0.5045 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.2786, allocations: 0 / 0.5045 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2788, allocations: 19.92 kB / 0.5045 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.279, allocations: 43.83 kB / 0.5046 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2792, allocations: 83.09 kB / 0.5046 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.2793, allocations: 209.7 kB / 0.5048 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.2794, allocations: 29.95 kB / 0.5049 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.819e-05/0.2795, allocations: 71.77 kB / 0.5049 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.2796, allocations: 79.8 kB / 0.505 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.2797, allocations: 16 kB / 0.505 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.55e-05/0.2798, allocations: 63.95 kB / 0.5051 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.968e-05/0.2798, allocations: 75.75 kB / 0.5052 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.803e-05/0.2799, allocations: 95.41 kB / 0.5052 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001967/0.2801, allocations: 251.2 kB / 0.5055 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2801, allocations: 0 / 0.5055 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2801, allocations: 0 / 0.5055 GB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.2801, allocations: 4 kB / 0.5055 GB, free: 13.94 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005443/0.2807, allocations: 0.5439 MB / 0.506 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.2807, allocations: 11.98 kB / 0.506 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.2808, allocations: 24.66 kB / 0.5061 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.281, allocations: 251.8 kB / 0.5063 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.281, allocations: 12.38 kB / 0.5063 GB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.281, allocations: 19.94 kB / 0.5063 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2813, allocations: 195.8 kB / 0.5065 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2813, allocations: 0 / 0.5065 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.2813, allocations: 4 kB / 0.5065 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.2813, allocations: 4 kB / 0.5065 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.2819, allocations: 0.7446 MB / 0.5072 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.2824, allocations: 0.5549 MB / 0.5078 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.2827, allocations: 223.4 kB / 0.508 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2828, allocations: 100.8 kB / 0.5081 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.2829, allocations: 23.97 kB / 0.5081 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002472/0.2831, allocations: 157.6 kB / 0.5083 GB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2831, allocations: 0 / 0.5083 GB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0004704/0.2836, allocations: 362.7 kB / 0.5086 GB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2836, allocations: 89.03 kB / 0.5087 GB, free: 10.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2838, allocations: 295 kB / 0.509 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.2839, allocations: 29.7 kB / 0.509 GB, free: 10.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.2839, allocations: 120.7 kB / 0.5091 GB, free: 9.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.662e-05/0.284, allocations: 118.4 kB / 0.5092 GB, free: 9.871 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.331e-05/0.2841, allocations: 57.61 kB / 0.5093 GB, free: 9.809 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.2841, allocations: 334.8 kB / 0.5096 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.2842, allocations: 83.95 kB / 0.5097 GB, free: 9.391 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.2843, allocations: 105.7 kB / 0.5098 GB, free: 9.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.2846, allocations: 228.1 kB / 0.51 GB, free: 9.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2846, allocations: 0 / 0.51 GB, free: 9.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003218/0.2849, allocations: 298.9 kB / 0.5103 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.2849, allocations: 33.7 kB / 0.5103 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.285, allocations: 0 / 0.5103 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.285, allocations: 0 / 0.5103 GB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2851, allocations: 67.84 kB / 0.5104 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2852, allocations: 4.031 kB / 0.5104 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.2852, allocations: 23.75 kB / 0.5104 GB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.2853, allocations: 15.98 kB / 0.5104 GB, free: 8.598 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 (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 9.814e-05/0.2854, allocations: 157.8 kB / 0.5106 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.2854, allocations: 19.72 kB / 0.5106 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004947/0.2859, allocations: 368.5 kB / 0.511 GB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2859, allocations: 7.938 kB / 0.511 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2859, allocations: 3.984 kB / 0.511 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2859, allocations: 0 / 0.511 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.2861, allocations: 317.3 kB / 0.5113 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2861, allocations: 0 / 0.5113 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2863, allocations: 55.91 kB / 0.5113 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2863, allocations: 0 / 0.5113 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.2863, allocations: 15.98 kB / 0.5113 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2863, allocations: 7.938 kB / 0.5113 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2863, allocations: 0 / 0.5113 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.2866, allocations: 306.2 kB / 0.5116 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.2867, allocations: 140.7 kB / 0.5118 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.943e-05/0.2867, allocations: 7.984 kB / 0.5118 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.2868, allocations: 11.94 kB / 0.5118 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.2868, allocations: 19.97 kB / 0.5118 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.2869, allocations: 12 kB / 0.5118 GB, free: 7.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.287, allocations: 228.6 kB / 0.512 GB, free: 6.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.287, allocations: 4 kB / 0.512 GB, free: 6.844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000242/0.2872, allocations: 63.84 kB / 0.5121 GB, free: 6.781 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 (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.0007156/0.288, allocations: 402.3 kB / 0.5125 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.2884, allocations: 335.1 kB / 0.5128 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2884, allocations: 4 kB / 0.5128 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.2885, allocations: 119.9 kB / 0.5129 GB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.2887, allocations: 32.73 kB / 0.513 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.2894, allocations: 0.5767 MB / 0.5135 GB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.2895, allocations: 0.7574 MB / 0.5143 GB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002298/0.2897, allocations: 130.2 kB / 0.5144 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.2898, allocations: 43.41 kB / 0.5144 GB, free: 4.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2898, allocations: 0 / 0.5144 GB, free: 4.477 MB / 382.1 MB Notification: Performance of Templates: time 0.004421/0.2942, allocations: 2.478 MB / 0.5168 GB, free: 2.016 MB / 382.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)