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.0009761/0.0009764, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001229/0.001229, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.147/2.147, allocations: 205.4 MB / 222.1 MB, free: 5.75 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.6378/0.6378, allocations: 95.64 MB / 366 MB, free: 10.37 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.0006076/0.0006077, allocations: 20 kB / 446.9 MB, free: 9.367 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3845, allocations: 70.33 MB / 0.5051 GB, free: 16.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.001812/0.3863, allocations: 1.297 MB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001349/0.3877, allocations: 0.9608 MB / 0.5073 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.708e-05/0.3878, allocations: 0 / 0.5073 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002615/0.3881, allocations: 27.84 kB / 0.5073 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.3883, allocations: 39.84 kB / 0.5073 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.3886, allocations: 71.66 kB / 0.5074 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002111/0.3888, allocations: 189.6 kB / 0.5076 GB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3889, allocations: 12 kB / 0.5076 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.389, allocations: 63.83 kB / 0.5077 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3892, allocations: 71.8 kB / 0.5077 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3892, allocations: 11.98 kB / 0.5077 GB, free: 13.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3894, allocations: 39.98 kB / 0.5078 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.3894, allocations: 63.81 kB / 0.5078 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.3895, allocations: 57.58 kB / 0.5079 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.3898, allocations: 185.5 kB / 0.5081 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3898, allocations: 4 kB / 0.5081 GB, free: 13.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3898, allocations: 0 / 0.5081 GB, free: 13.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3898, allocations: 0 / 0.5081 GB, free: 13.39 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.0007399/0.3905, allocations: 0.5011 MB / 0.5086 GB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.3906, allocations: 15.98 kB / 0.5086 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.557e-05/0.3907, allocations: 23.72 kB / 0.5086 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.3909, allocations: 250.5 kB / 0.5088 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.391, allocations: 16 kB / 0.5089 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.391, allocations: 16 kB / 0.5089 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.3913, allocations: 187.2 kB / 0.5091 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3913, allocations: 0 / 0.5091 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.3913, allocations: 8 kB / 0.5091 GB, free: 12.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3914, allocations: 7.984 kB / 0.5091 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.392, allocations: 0.7332 MB / 0.5098 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.3926, allocations: 0.5549 MB / 0.5103 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.3929, allocations: 223.5 kB / 0.5105 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.393, allocations: 100.8 kB / 0.5106 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.384e-05/0.3931, allocations: 15.97 kB / 0.5106 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002687/0.3933, allocations: 169.5 kB / 0.5108 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.3934, allocations: 3.938 kB / 0.5108 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0004831/0.3938, allocations: 350.8 kB / 0.5111 GB, free: 10.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3939, allocations: 89.06 kB / 0.5112 GB, free: 9.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.3941, allocations: 287.1 kB / 0.5115 GB, free: 9.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.3941, allocations: 29.7 kB / 0.5115 GB, free: 9.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.278e-05/0.3942, allocations: 124.7 kB / 0.5117 GB, free: 9.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.339e-05/0.3943, allocations: 110.4 kB / 0.5118 GB, free: 9.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.3943, allocations: 8 kB / 0.5118 GB, free: 9.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.3944, allocations: 334.8 kB / 0.5121 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.3945, allocations: 75.97 kB / 0.5122 GB, free: 8.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.3946, allocations: 101.7 kB / 0.5123 GB, free: 8.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.3948, allocations: 131.2 kB / 0.5124 GB, free: 8.738 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3948, allocations: 0 / 0.5124 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003272/0.3951, allocations: 298.9 kB / 0.5127 GB, free: 8.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.3951, allocations: 29.7 kB / 0.5127 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3952, allocations: 32 / 0.5127 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3952, allocations: 8 kB / 0.5127 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3954, allocations: 51.91 kB / 0.5128 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3954, allocations: 7.953 kB / 0.5128 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.783e-05/0.3955, allocations: 23.83 kB / 0.5128 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.3955, allocations: 12 kB / 0.5128 GB, free: 8.297 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 ($whenCondition1,$PRE.timCon.tStart,timCon.tStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.3956, allocations: 153.8 kB / 0.5129 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3957, allocations: 31.66 kB / 0.513 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.3962, allocations: 372.3 kB / 0.5133 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3962, allocations: 4 kB / 0.5133 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3962, allocations: 4 kB / 0.5133 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.3962, allocations: 3.953 kB / 0.5133 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.3965, allocations: 313.3 kB / 0.5136 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3965, allocations: 0 / 0.5136 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.3966, allocations: 59.91 kB / 0.5137 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3966, allocations: 0 / 0.5137 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3967, allocations: 19.92 kB / 0.5137 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.3967, allocations: 4 kB / 0.5137 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3967, allocations: 0 / 0.5137 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.397, allocations: 314.1 kB / 0.514 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.052e-05/0.3971, allocations: 140.7 kB / 0.5141 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3971, allocations: 12 kB / 0.5142 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.3972, allocations: 11.98 kB / 0.5142 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.3972, allocations: 19.97 kB / 0.5142 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3973, allocations: 16 kB / 0.5142 GB, free: 6.742 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3974, allocations: 228.6 kB / 0.5144 GB, free: 6.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3974, allocations: 0 / 0.5144 GB, free: 6.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.3977, allocations: 51.94 kB / 0.5145 GB, free: 6.469 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008463/0.3985, allocations: 407.4 kB / 0.5149 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000322/0.3989, allocations: 263.2 kB / 0.5151 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3989, allocations: 0 / 0.5151 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.399, allocations: 123.8 kB / 0.5152 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.3993, allocations: 35.88 kB / 0.5153 GB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.4, allocations: 0.5673 MB / 0.5158 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001862/0.4002, allocations: 0.7496 MB / 0.5166 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.4005, allocations: 134.2 kB / 0.5167 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.4005, allocations: 43.42 kB / 0.5167 GB, free: 4.234 MB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4006, allocations: 0 / 0.5167 GB, free: 4.234 MB / 382.1 MB Notification: Performance of Templates: time 0.005042/0.4056, allocations: 2.302 MB / 0.519 GB, free: 1.945 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: