Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001252/0.001252, 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 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.569/1.569, allocations: 252 MB / 0.5102 GB, free: 4.812 MB / 414.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.0005145/0.0005145, allocations: 23.44 kB / 0.6243 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5286, allocations: 106.3 MB / 0.7281 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01394/0.5426, allocations: 11.4 MB / 0.7392 GB, free: 32 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.7183, allocations: 144.9 MB / 0.8808 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.7211, allocations: 63.62 kB / 0.8808 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.006862/0.728, allocations: 2.007 MB / 0.8828 GB, free: 12.62 MB / 0.7012 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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‘. Notification: Performance of NFTyping.typeBindings: time 0.004858/0.7328, allocations: 1.407 MB / 0.8842 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.7383, allocations: 1.683 MB / 0.8858 GB, free: 9.539 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009/0.7473, allocations: 7.132 MB / 0.8928 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00296/0.7503, allocations: 1.66 MB / 0.8944 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.7546, allocations: 2.07 MB / 0.8964 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00412/0.7588, allocations: 2.031 MB / 0.8984 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008117/0.7596, allocations: 156 kB / 0.8985 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.7645, allocations: 2.091 MB / 0.9006 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.7676, allocations: 2.999 MB / 0.9035 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.7691, allocations: 0.7884 MB / 0.9043 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008663/0.7778, allocations: 6.114 MB / 0.9103 GB, free: 396 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7778, allocations: 0 / 0.9103 GB, free: 396 kB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7778, allocations: 0 / 0.9103 GB, free: 396 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002143/0.7781, allocations: 0 / 0.9103 GB, free: 396 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.4275/1.206, allocations: 4.652 MB / 0.9148 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.206, allocations: 9.062 kB / 0.9148 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04002/1.246, allocations: 4.427 MB / 0.9191 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03291/1.279, allocations: 11.55 MB / 0.9304 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/1.279, allocations: 221 kB / 0.9306 GB, free: 168.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00139/1.28, allocations: 289.5 kB / 0.9309 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/1.291, allocations: 4.334 MB / 0.9351 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-05/1.292, allocations: 0 / 0.9351 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005037/1.292, allocations: 108 kB / 0.9352 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/1.292, allocations: 60 kB / 0.9353 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008738/1.301, allocations: 3.945 MB / 0.9391 GB, free: 159.2 MB / 0.7169 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.0232/1.324, allocations: 19.42 MB / 0.9581 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/1.331, allocations: 3.658 MB / 0.9617 GB, free: 135.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0055/1.337, allocations: 2.635 MB / 0.9643 GB, free: 132.6 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/1.337, allocations: 429.4 kB / 0.9647 GB, free: 132.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006014/1.343, allocations: 2.859 MB / 0.9675 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=201): time 4.799e-06/1.343, allocations: 0 / 0.9675 GB, free: 129.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=201): time 0.03996/1.383, allocations: 13.37 MB / 0.9805 GB, free: 115.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/1.384, allocations: 385.2 kB / 0.9809 GB, free: 115.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01414/1.398, allocations: 12.81 MB / 0.9934 GB, free: 102.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008967/1.399, allocations: 77.7 kB / 0.9935 GB, free: 102.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.4, allocations: 1.627 MB / 0.9951 GB, free: 100.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/1.401, allocations: 0.6727 MB / 0.9957 GB, free: 100.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003726/1.401, allocations: 63.94 kB / 0.9958 GB, free: 100.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.401, allocations: 432.3 kB / 0.9962 GB, free: 99.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01316/1.415, allocations: 9.412 MB / 1.005 GB, free: 90.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01378/1.428, allocations: 9.884 MB / 1.015 GB, free: 80.26 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/1.442, allocations: 9.448 MB / 1.024 GB, free: 70.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.582e-05/1.442, allocations: 0 / 1.024 GB, free: 70.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.0372/1.479, allocations: 21.77 MB / 1.046 GB, free: 48.96 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000343/1.48, allocations: 469.8 kB / 1.046 GB, free: 48.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04008/1.52, allocations: 13.67 MB / 1.059 GB, free: 34.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07834/1.598, allocations: 10.88 MB / 1.07 GB, free: 23.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005332/1.603, allocations: 0.8804 MB / 1.071 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009805/1.613, allocations: 7.89 MB / 1.078 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006495/1.62, allocations: 0.668 MB / 1.079 GB, free: 13.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009463/1.621, allocations: 191.5 kB / 1.079 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.621, allocations: 5.094 kB / 1.079 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03456/1.655, allocations: 20.67 MB / 1.1 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02769/1.683, allocations: 12.46 MB / 1.112 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003519/1.687, allocations: 1.184 MB / 1.113 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006367/1.693, allocations: 0.971 MB / 1.114 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.708, allocations: 11.7 MB / 1.125 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006997/1.715, allocations: 0.6116 MB / 1.126 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001397/1.717, allocations: 187.3 kB / 1.126 GB, free: 13.3 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 302 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 49,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005466/1.722, allocations: 1.992 MB / 1.128 GB, free: 11.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.724, allocations: 351.4 kB / 1.128 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/1.747, allocations: 7.954 MB / 1.136 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.796e-05/1.747, allocations: 20.22 kB / 1.136 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/1.747, allocations: 4 kB / 1.136 GB, free: 2.938 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.796e-05/1.747, allocations: 19.83 kB / 1.136 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03069/1.778, allocations: 12.72 MB / 1.149 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03599/1.814, allocations: 7.765 MB / 1.156 GB, free: 14.22 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002821/1.817, allocations: 415.4 kB / 1.156 GB, free: 13.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09523/1.912, allocations: 15.69 MB / 1.172 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001097/1.913, allocations: 83.92 kB / 1.172 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/1.926, allocations: 7.917 MB / 1.18 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.926, allocations: 4.156 kB / 1.18 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03849/1.964, allocations: 8.282 MB / 1.188 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003489/1.968, allocations: 1.05 MB / 1.189 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0017/1.97, allocations: 48 kB / 1.189 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004909/1.975, allocations: 343.5 kB / 1.189 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005323/1.975, allocations: 141.8 kB / 1.189 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000441/1.976, allocations: 107.7 kB / 1.189 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.008877/1.984, allocations: 8.116 MB / 1.197 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.01e-07/1.984, allocations: 0 / 1.197 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.007982/1.992, allocations: 2.533 MB / 1.2 GB, free: 1.035 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 2 {12 57,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002833/1.995, allocations: 0.98 MB / 1.201 GB, free: 296 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.04352/2.039, allocations: 25.72 MB / 1.226 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/2.039, allocations: 0 / 1.226 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.009108/2.048, allocations: 3.739 MB / 1.229 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004313/2.052, allocations: 0.7274 MB / 1.23 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3947/2.447, allocations: 17.37 MB / 1.247 GB, free: 301.1 MB / 0.8575 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:754:5-754:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]