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.007089/0.007089, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001447/0.001447, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4925/0.4925, allocations: 95.49 MB / 365.4 MB, free: 12.15 MB / 318.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.001703/0.001703, allocations: 79.89 kB / 0.5036 GB, free: 11.83 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5032, allocations: 69.09 MB / 0.5711 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckRadiation): time 0.003941/0.5072, allocations: 1.652 MB / 0.5727 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.5097, allocations: 1.393 MB / 0.5741 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.61e-05/0.5098, allocations: 0 / 0.5741 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.5101, allocations: 23.78 kB / 0.5741 GB, free: 1.043 MB / 430.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.0002483/0.5104, allocations: 55.64 kB / 0.5742 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.5108, allocations: 161.6 kB / 0.5743 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.5111, allocations: 233.6 kB / 0.5745 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.5113, allocations: 31.98 kB / 0.5746 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.5114, allocations: 75.77 kB / 0.5746 GB, free: 0.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002221/0.5116, allocations: 95.77 kB / 0.5747 GB, free: 416 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.5117, allocations: 16 kB / 0.5748 GB, free: 400 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000267/0.5119, allocations: 155.9 kB / 0.5749 GB, free: 244 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.849e-05/0.512, allocations: 83.75 kB / 0.575 GB, free: 160 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.5122, allocations: 107.3 kB / 0.5751 GB, free: 52 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.5126, allocations: 327.3 kB / 0.5754 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5126, allocations: 0 / 0.5754 GB, free: 15.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.5126, allocations: 0 / 0.5754 GB, free: 15.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.5126, allocations: 0 / 0.5754 GB, free: 15.74 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009447/0.5136, allocations: 0.5824 MB / 0.576 GB, free: 15.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.5136, allocations: 11.98 kB / 0.576 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.577e-05/0.5137, allocations: 28.8 kB / 0.576 GB, free: 15.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5141, allocations: 270.8 kB / 0.5763 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.5141, allocations: 12 kB / 0.5763 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.5141, allocations: 20 kB / 0.5763 GB, free: 14.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004043/0.5145, allocations: 208.4 kB / 0.5765 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5146, allocations: 0 / 0.5765 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.5146, allocations: 11.94 kB / 0.5765 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.5146, allocations: 4 kB / 0.5765 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009934/0.5156, allocations: 0.7449 MB / 0.5772 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.5165, allocations: 0.5823 MB / 0.5778 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.517, allocations: 301.2 kB / 0.5781 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001489/0.5171, allocations: 109.3 kB / 0.5782 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006743/0.5178, allocations: 0.6612 MB / 0.5788 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.5182, allocations: 171.4 kB / 0.579 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.804e-06/0.5182, allocations: 0 / 0.579 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007065/0.5189, allocations: 369.1 kB / 0.5794 GB, free: 11.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.519, allocations: 81.11 kB / 0.5794 GB, free: 11.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.5193, allocations: 301.4 kB / 0.5797 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.5194, allocations: 29.7 kB / 0.5798 GB, free: 10.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.152e-05/0.5195, allocations: 129 kB / 0.5799 GB, free: 10.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/0.5196, allocations: 126.9 kB / 0.58 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.87e-05/0.5197, allocations: 65.69 kB / 0.5801 GB, free: 10.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5198, allocations: 334.8 kB / 0.5804 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001362/0.52, allocations: 79.95 kB / 0.5805 GB, free: 10.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.5201, allocations: 118.5 kB / 0.5806 GB, free: 10.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.5205, allocations: 234.4 kB / 0.5808 GB, free: 9.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5205, allocations: 4.031 kB / 0.5808 GB, free: 9.805 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004717/0.521, allocations: 315.3 kB / 0.5811 GB, free: 9.484 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.521, allocations: 33.7 kB / 0.5811 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.521, allocations: 0 / 0.5811 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.521, allocations: 0 / 0.5811 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.5213, allocations: 63.91 kB / 0.5812 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.5214, allocations: 0 / 0.5812 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.214e-05/0.5215, allocations: 23.84 kB / 0.5812 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.5215, allocations: 15.98 kB / 0.5812 GB, free: 9.344 MB / 446.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.000164/0.5217, allocations: 166.3 kB / 0.5814 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.5217, allocations: 27.81 kB / 0.5814 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.5223, allocations: 312.1 kB / 0.5817 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.5223, allocations: 7.984 kB / 0.5817 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5223, allocations: 0 / 0.5817 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.5224, allocations: 11.92 kB / 0.5817 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004159/0.5228, allocations: 333.2 kB / 0.582 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5228, allocations: 0 / 0.582 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.523, allocations: 59.97 kB / 0.5821 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.523, allocations: 0 / 0.5821 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.523, allocations: 12 kB / 0.5821 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.523, allocations: 7.922 kB / 0.5821 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.523, allocations: 0 / 0.5821 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004778/0.5235, allocations: 332.9 kB / 0.5824 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.5237, allocations: 140.8 kB / 0.5826 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.5237, allocations: 8 kB / 0.5826 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.5238, allocations: 4 kB / 0.5826 GB, free: 7.844 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.5239, allocations: 27.95 kB / 0.5826 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.5239, allocations: 16 kB / 0.5826 GB, free: 7.801 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002057/0.5241, allocations: 228.5 kB / 0.5828 GB, free: 7.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5241, allocations: 3.938 kB / 0.5828 GB, free: 7.574 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.5244, allocations: 63.92 kB / 0.5829 GB, free: 7.512 MB / 446.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.001216/0.5257, allocations: 421.3 kB / 0.5833 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004484/0.5261, allocations: 279.1 kB / 0.5836 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5261, allocations: 0 / 0.5836 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.5263, allocations: 131.8 kB / 0.5837 GB, free: 6.828 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.5266, allocations: 36.16 kB / 0.5837 GB, free: 6.793 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008962/0.5275, allocations: 0.5259 MB / 0.5843 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.5279, allocations: 0.7611 MB / 0.585 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000311/0.5283, allocations: 146.9 kB / 0.5851 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.834e-05/0.5284, allocations: 39.42 kB / 0.5852 GB, free: 5.277 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5284, allocations: 0 / 0.5852 GB, free: 5.277 MB / 446.1 MB Notification: Performance of Templates: time 0.007134/0.5355, allocations: 2.745 MB / 0.5879 GB, free: 2.539 MB / 446.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)