Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.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.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 116.3 kB / 16.38 MB, free: 6.016 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.001526/0.001526, allocations: 185.1 kB / 17.31 MB, free: 5.617 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.767/1.767, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001463/0.001463, allocations: 68.12 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1956, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.3596/0.5552, allocations: 63.61 MB / 0.8469 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1623/0.7176, allocations: 159.7 MB / 1.003 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.7201, allocations: 59.62 kB / 1.003 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.7219, allocations: 0.6511 MB / 1.004 GB, free: 9.898 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1250:3-1403:19:writable] Warning: Pure function 'Modelica.Math.Matrices.leastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgelsy_vec'. [/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.007651/0.7296, allocations: 3.093 MB / 1.007 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.006224/0.7358, allocations: 2.741 MB / 1.009 GB, free: 4.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01254/0.7484, allocations: 13.19 MB / 1.022 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008125/0.7565, allocations: 6.657 MB / 1.029 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01444/0.771, allocations: 7.925 MB / 1.036 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006007/0.7771, allocations: 3.902 MB / 1.04 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001405/0.7785, allocations: 0.668 MB / 1.041 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009326/0.7878, allocations: 4.716 MB / 1.045 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001954/0.7898, allocations: 1.616 MB / 1.047 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004348/0.7942, allocations: 3.17 MB / 1.05 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/0.8052, allocations: 10.11 MB / 1.06 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.8052, allocations: 0 / 1.06 GB, free: 36 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8052, allocations: 0 / 1.06 GB, free: 36 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001306/0.8053, allocations: 0 / 1.06 GB, free: 36 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01471/0.8201, allocations: 6.286 MB / 1.066 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.8201, allocations: 8.031 kB / 1.066 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.833, allocations: 1.723 MB / 1.068 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01039/0.8435, allocations: 4.99 MB / 1.073 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/0.8437, allocations: 304 kB / 1.073 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.8448, allocations: 396 kB / 1.073 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.8569, allocations: 5.909 MB / 1.079 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-05/0.857, allocations: 11.94 kB / 1.079 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/0.8575, allocations: 172 kB / 1.079 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.8576, allocations: 163.8 kB / 1.08 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/0.8695, allocations: 5.639 MB / 1.085 GB, free: 6.109 MB / 0.8731 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.03003/0.8996, allocations: 21.16 MB / 1.106 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007952/0.9076, allocations: 3.838 MB / 1.109 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/0.9115, allocations: 1.917 MB / 1.111 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003235/0.9148, allocations: 2.949 MB / 1.114 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004759/0.9196, allocations: 2.135 MB / 1.116 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=284): time 5.32e-06/0.9196, allocations: 4 kB / 1.116 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of matching and sorting (n=284): time 0.01721/0.9368, allocations: 6.833 MB / 1.123 GB, free: 13.55 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.937, allocations: 239.9 kB / 1.123 GB, free: 13.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005969/0.9429, allocations: 3.718 MB / 1.127 GB, free: 9.562 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0007511/0.9437, allocations: 77.7 kB / 1.127 GB, free: 9.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002048/0.9458, allocations: 2.011 MB / 1.129 GB, free: 7.449 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.9473, allocations: 0.9704 MB / 1.13 GB, free: 6.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/0.9484, allocations: 0.6312 MB / 1.13 GB, free: 5.824 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.9485, allocations: 309.1 kB / 1.131 GB, free: 5.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003825/0.9523, allocations: 1.647 MB / 1.132 GB, free: 3.863 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004295/0.9566, allocations: 2.267 MB / 1.135 GB, free: 1.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3409/1.298, allocations: 3.989 MB / 1.138 GB, free: 297.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/1.298, allocations: 5.25 kB / 1.138 GB, free: 297.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.009514/1.307, allocations: 4.554 MB / 1.143 GB, free: 297.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/1.307, allocations: 12.88 kB / 1.143 GB, free: 297.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.307, allocations: 18.78 kB / 1.143 GB, free: 297.3 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005762/1.308, allocations: 107.9 kB / 1.143 GB, free: 297.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003582/1.311, allocations: 0.8021 MB / 1.144 GB, free: 297.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/1.313, allocations: 2.269 MB / 1.146 GB, free: 295.4 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004182/1.317, allocations: 447 kB / 1.146 GB, free: 295.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/1.318, allocations: 169.3 kB / 1.147 GB, free: 295.4 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005351/1.323, allocations: 2.963 MB / 1.149 GB, free: 294.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003896/1.327, allocations: 2.261 MB / 1.152 GB, free: 293.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007385/1.334, allocations: 3.983 MB / 1.156 GB, free: 291.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-05/1.334, allocations: 3.844 kB / 1.156 GB, free: 291.6 MB / 0.92 GB Notification: Performance of matching and sorting (n=389) (initialization_lambda0): time 0.009958/1.344, allocations: 4.56 MB / 1.16 GB, free: 290.2 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.344, allocations: 12.03 kB / 1.16 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/1.344, allocations: 19.72 kB / 1.16 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005404/1.345, allocations: 110.4 kB / 1.16 GB, free: 290.2 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/1.348, allocations: 0.7871 MB / 1.161 GB, free: 290.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/1.35, allocations: 1.675 MB / 1.163 GB, free: 288.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004219/1.354, allocations: 376.1 kB / 1.163 GB, free: 288.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003315/1.355, allocations: 167.9 kB / 1.163 GB, free: 288.5 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (387): * Single equations (assignments): 385 * 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.0007591/1.355, allocations: 371.5 kB / 1.163 GB, free: 288.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007914/1.356, allocations: 389.3 kB / 1.164 GB, free: 288.1 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0118/1.368, allocations: 4.986 MB / 1.169 GB, free: 286.3 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009147/1.377, allocations: 4.09 MB / 1.173 GB, free: 284.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/1.377, allocations: 0 / 1.173 GB, free: 284.6 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002113/1.379, allocations: 1.039 MB / 1.174 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006593/1.38, allocations: 62.36 kB / 1.174 GB, free: 284 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/1.383, allocations: 221 kB / 1.174 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000398/1.383, allocations: 214.1 kB / 1.174 GB, free: 283.9 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01113/1.395, allocations: 4.674 MB / 1.179 GB, free: 282.3 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01226/1.407, allocations: 6.313 MB / 1.185 GB, free: 279.7 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003544/1.41, allocations: 1.872 MB / 1.187 GB, free: 279 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003851/1.414, allocations: 2.615 MB / 1.189 GB, free: 278.1 MB / 0.92 GB Notification: Performance of Backend: time 4.91e-07/1.414, allocations: 4 kB / 1.189 GB, free: 278.1 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01408/1.428, allocations: 6.296 MB / 1.195 GB, free: 276.2 MB / 0.92 GB Notification: Performance of SimCode: time 0.0147/1.443, allocations: 10.69 MB / 1.206 GB, free: 271.3 MB / 0.92 GB Notification: Performance of Templates: time 0.1257/1.569, allocations: 111 MB / 1.314 GB, free: 164.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)