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.001572/0.001572, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001425/0.001425, allocations: 192 kB / 16.13 MB, free: 6.699 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.499/1.499, allocations: 205.1 MB / 222 MB, free: 4.777 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.5603/0.5603, allocations: 95.47 MB / 364.8 MB, free: 10.14 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.001349/0.001349, allocations: 76.55 kB / 444.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3276, allocations: 69.06 MB / 0.5017 GB, free: 17.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertRadiation): time 0.002406/0.3301, allocations: 1.659 MB / 0.5033 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.3311, allocations: 1.011 MB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.698e-05/0.3312, allocations: 4 kB / 0.5043 GB, free: 14.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3314, allocations: 27.86 kB / 0.5043 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.3315, allocations: 31.91 kB / 0.5044 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.3318, allocations: 71.84 kB / 0.5044 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3319, allocations: 197.6 kB / 0.5046 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3321, allocations: 25.95 kB / 0.5046 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.3321, allocations: 67.77 kB / 0.5047 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3323, allocations: 79.78 kB / 0.5048 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.3323, allocations: 8 kB / 0.5048 GB, free: 14.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.361e-05/0.3324, allocations: 51.97 kB / 0.5048 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.3325, allocations: 63.83 kB / 0.5049 GB, free: 14.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.3326, allocations: 91.39 kB / 0.505 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3328, allocations: 235.2 kB / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3328, allocations: 0 / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3328, allocations: 0 / 0.5052 GB, free: 14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3328, allocations: 4 kB / 0.5052 GB, free: 14 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.0005954/0.3334, allocations: 0.5556 MB / 0.5058 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.3334, allocations: 15.97 kB / 0.5058 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.3335, allocations: 24.66 kB / 0.5058 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.3337, allocations: 255.8 kB / 0.506 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3337, allocations: 8.375 kB / 0.5061 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3337, allocations: 19.94 kB / 0.5061 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.334, allocations: 195.9 kB / 0.5063 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.334, allocations: 0 / 0.5063 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.334, allocations: 4 kB / 0.5063 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.334, allocations: 4 kB / 0.5063 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006589/0.3347, allocations: 0.7407 MB / 0.507 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.3354, allocations: 0.5549 MB / 0.5075 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.3358, allocations: 215.5 kB / 0.5077 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001273/0.3359, allocations: 100.8 kB / 0.5078 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.3359, allocations: 27.94 kB / 0.5079 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003446/0.3363, allocations: 169.5 kB / 0.508 GB, free: 10.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.3363, allocations: 0 / 0.508 GB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005327/0.3368, allocations: 358.8 kB / 0.5084 GB, free: 10.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3369, allocations: 85.05 kB / 0.5084 GB, free: 10.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.3371, allocations: 295 kB / 0.5087 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.3371, allocations: 29.7 kB / 0.5088 GB, free: 10.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.872e-05/0.3372, allocations: 120.8 kB / 0.5089 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.3372, allocations: 106.4 kB / 0.509 GB, free: 9.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.3373, allocations: 65.59 kB / 0.509 GB, free: 9.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.3374, allocations: 338.8 kB / 0.5094 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3375, allocations: 87.89 kB / 0.5094 GB, free: 9.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3376, allocations: 101.7 kB / 0.5095 GB, free: 9.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.3379, allocations: 228.1 kB / 0.5098 GB, free: 9.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3379, allocations: 0 / 0.5098 GB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003348/0.3382, allocations: 295 kB / 0.51 GB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.3382, allocations: 37.69 kB / 0.5101 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3383, allocations: 0 / 0.5101 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3383, allocations: 0 / 0.5101 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3385, allocations: 59.84 kB / 0.5101 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3385, allocations: 4.031 kB / 0.5101 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.3386, allocations: 31.75 kB / 0.5102 GB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3386, allocations: 8 kB / 0.5102 GB, free: 8.656 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 0.0001/0.3387, allocations: 165.7 kB / 0.5103 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3387, allocations: 19.72 kB / 0.5104 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005224/0.3393, allocations: 368.4 kB / 0.5107 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3393, allocations: 11.94 kB / 0.5107 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3393, allocations: 0 / 0.5107 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3393, allocations: 3.984 kB / 0.5107 GB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.3395, allocations: 313.3 kB / 0.511 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3395, allocations: 0 / 0.511 GB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.3397, allocations: 59.91 kB / 0.5111 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3397, allocations: 0 / 0.5111 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.3397, allocations: 8 kB / 0.5111 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3397, allocations: 7.938 kB / 0.5111 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3397, allocations: 0 / 0.5111 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.34, allocations: 314.3 kB / 0.5114 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3401, allocations: 132.7 kB / 0.5115 GB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.3402, allocations: 4 kB / 0.5115 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-05/0.3402, allocations: 15.92 kB / 0.5115 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.3403, allocations: 23.97 kB / 0.5116 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3403, allocations: 8 kB / 0.5116 GB, free: 7.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3405, allocations: 232.6 kB / 0.5118 GB, free: 6.898 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3405, allocations: 0 / 0.5118 GB, free: 6.898 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002516/0.3407, allocations: 59.84 kB / 0.5118 GB, free: 6.84 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.0007992/0.3415, allocations: 408.3 kB / 0.5122 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003352/0.3419, allocations: 271.2 kB / 0.5125 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3419, allocations: 0 / 0.5125 GB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.342, allocations: 120.7 kB / 0.5126 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.3423, allocations: 31.98 kB / 0.5126 GB, free: 6.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.343, allocations: 0.5721 MB / 0.5132 GB, free: 5.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/0.3432, allocations: 0.7574 MB / 0.5139 GB, free: 4.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002643/0.3435, allocations: 138.1 kB / 0.5141 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.89e-05/0.3436, allocations: 39.42 kB / 0.5141 GB, free: 4.598 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3436, allocations: 0 / 0.5141 GB, free: 4.598 MB / 382.1 MB Notification: Performance of Templates: time 0.004828/0.3484, allocations: 2.394 MB / 0.5164 GB, free: 2.219 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)