Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating") translateModel(Buildings.Fluid.SolarCollectors.Examples.Concentrating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 107.6 kB / 16.37 MB, free: 6.309 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.001836/0.001836, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.28/1.28, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1909, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Concentrating): time 0.3492/0.5401, allocations: 36.66 MB / 0.8206 GB, free: 26.42 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1706/0.7108, allocations: 159.9 MB / 0.9768 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.7131, allocations: 63.62 kB / 0.9768 GB, free: 5.383 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.7148, allocations: 0.6706 MB / 0.9775 GB, free: 4.707 MB / 0.7637 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3' contains a call to impure function 'Modelica.Utilities.Streams.readLine'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3' contains a call to impure function 'Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3'. [/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.00463/0.7194, allocations: 1.759 MB / 0.9792 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.7243, allocations: 2.089 MB / 0.9812 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0129/0.7372, allocations: 12.63 MB / 0.9936 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008862/0.7461, allocations: 6.474 MB / 0.9999 GB, free: 13.74 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007477/0.7536, allocations: 4.438 MB / 1.004 GB, free: 9.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.7584, allocations: 3.809 MB / 1.008 GB, free: 5.496 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008679/0.7592, allocations: 0.6367 MB / 1.009 GB, free: 4.859 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003563/0.7628, allocations: 1.873 MB / 1.01 GB, free: 2.984 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.7641, allocations: 1.55 MB / 1.012 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.7674, allocations: 3.099 MB / 1.015 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.008232/0.7756, allocations: 9.021 MB / 1.024 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7756, allocations: 7.562 kB / 1.024 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7756, allocations: 0 / 1.024 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001054/0.7757, allocations: 0 / 1.024 GB, free: 5.266 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01064/0.7864, allocations: 6.027 MB / 1.03 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.7864, allocations: 12.03 kB / 1.03 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007467/0.7939, allocations: 1.231 MB / 1.031 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008964/0.8029, allocations: 4.753 MB / 1.036 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.8031, allocations: 299.9 kB / 1.036 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007403/0.8039, allocations: 388 kB / 1.036 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.8145, allocations: 5.776 MB / 1.042 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-05/0.8146, allocations: 15.84 kB / 1.042 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/0.815, allocations: 168 kB / 1.042 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.8152, allocations: 187.6 kB / 1.042 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.8263, allocations: 5.473 MB / 1.048 GB, free: 12.62 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02744/0.8538, allocations: 20.52 MB / 1.068 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00734/0.8612, allocations: 3.582 MB / 1.071 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.8648, allocations: 1.884 MB / 1.073 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/0.8672, allocations: 1.9 MB / 1.075 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004209/0.8714, allocations: 2.054 MB / 1.077 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=266): time 4.599e-06/0.8714, allocations: 0 / 1.077 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=266): time 0.01252/0.884, allocations: 5.052 MB / 1.082 GB, free: 8.32 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.8841, allocations: 231.7 kB / 1.082 GB, free: 8.043 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005221/0.8893, allocations: 3.721 MB / 1.086 GB, free: 4.336 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003653/0.8897, allocations: 81.7 kB / 1.086 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001794/0.8915, allocations: 2.022 MB / 1.088 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009139/0.8924, allocations: 0.9127 MB / 1.088 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009553/0.8934, allocations: 0.6034 MB / 1.089 GB, free: 0.668 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.8935, allocations: 301.1 kB / 1.089 GB, free: 380 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003475/0.897, allocations: 1.568 MB / 1.091 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003975/0.9009, allocations: 2.218 MB / 1.093 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007438/0.9084, allocations: 3.878 MB / 1.097 GB, free: 8.172 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.9084, allocations: 8 kB / 1.097 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.009826/0.9183, allocations: 4.375 MB / 1.101 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.9183, allocations: 12 kB / 1.101 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.9183, allocations: 16.84 kB / 1.101 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.919, allocations: 108.8 kB / 1.101 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.9228, allocations: 0.7689 MB / 1.102 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.9254, allocations: 2.272 MB / 1.104 GB, free: 396 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004032/0.9294, allocations: 436.5 kB / 1.105 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003013/0.9297, allocations: 151.9 kB / 1.105 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005434/0.9352, allocations: 2.859 MB / 1.108 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003925/0.9391, allocations: 2.219 MB / 1.11 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007427/0.9465, allocations: 3.874 MB / 1.114 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.017e-05/0.9466, allocations: 4 kB / 1.114 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of matching and sorting (n=376) (initialization_lambda0): time 0.009935/0.9565, allocations: 4.377 MB / 1.118 GB, free: 1.902 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.9566, allocations: 17.94 kB / 1.118 GB, free: 1.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.9566, allocations: 16 kB / 1.118 GB, free: 1.871 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005878/0.9572, allocations: 112.8 kB / 1.118 GB, free: 1.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/0.9607, allocations: 0.7449 MB / 1.119 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001952/0.9627, allocations: 1.684 MB / 1.12 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003749/0.9664, allocations: 367.6 kB / 1.121 GB, free: 14.83 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/0.9668, allocations: 155.9 kB / 1.121 GB, free: 14.68 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (374): * Single equations (assignments): 372 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007603/0.9675, allocations: 371.4 kB / 1.121 GB, free: 14.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/0.9686, allocations: 383.3 kB / 1.122 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009684/0.9783, allocations: 4.245 MB / 1.126 GB, free: 9.629 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007597/0.9859, allocations: 3.461 MB / 1.129 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.9859, allocations: 0 / 1.129 GB, free: 6.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002679/0.9886, allocations: 0.9915 MB / 1.13 GB, free: 5.062 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/0.9893, allocations: 63.89 kB / 1.13 GB, free: 5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003022/0.9923, allocations: 229.8 kB / 1.13 GB, free: 4.777 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/0.9926, allocations: 170 kB / 1.13 GB, free: 4.609 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01015/1.003, allocations: 4.017 MB / 1.134 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.344/1.347, allocations: 6.238 MB / 1.14 GB, free: 298 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003095/1.35, allocations: 1.788 MB / 1.142 GB, free: 297.7 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003671/1.354, allocations: 2.622 MB / 1.145 GB, free: 296.8 MB / 0.92 GB Notification: Performance of Backend: time 5.01e-07/1.354, allocations: 0 / 1.145 GB, free: 296.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01519/1.369, allocations: 5.621 MB / 1.15 GB, free: 295.1 MB / 0.92 GB Notification: Performance of SimCode: time 0.01856/1.387, allocations: 10.35 MB / 1.16 GB, free: 290.8 MB / 0.92 GB Notification: Performance of Templates: time 0.1351/1.523, allocations: 103.5 MB / 1.261 GB, free: 217.9 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.Concentrating.pipe 2>&1)