Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") translateModel(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.HeatTransfer.Windows.Validation.WindowSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.552/2.552, allocations: 287.5 MB / 302.4 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.001319, allocations: 173.7 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.035/2.035, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009594/0.0009591, allocations: 88.91 kB / 0.743 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.000473, allocations: 16.09 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.236, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Validation.WindowSteadyState): time 0.02059/0.2567, allocations: 11.52 MB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 1.092/1.349, allocations: 144.9 MB / 1.131 GB, free: 0.7031 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/1.352, allocations: 61.25 kB / 1.131 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0079/1.36, allocations: 2.018 MB / 1.133 GB, free: 260 kB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.00638/1.366, allocations: 1.394 MB / 1.135 GB, free: 15.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00744/1.374, allocations: 1.684 MB / 1.136 GB, free: 15.73 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01096/1.385, allocations: 7.11 MB / 1.143 GB, free: 14.81 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004538/1.389, allocations: 1.574 MB / 1.145 GB, free: 14.49 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007966/1.397, allocations: 2.062 MB / 1.147 GB, free: 13.85 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007408/1.405, allocations: 2.032 MB / 1.149 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002257/1.407, allocations: 156.7 kB / 1.149 GB, free: 12.97 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/1.419, allocations: 2.385 MB / 1.151 GB, free: 12.26 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.007063/1.426, allocations: 2.986 MB / 1.154 GB, free: 11.45 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003284/1.429, allocations: 0.7861 MB / 1.155 GB, free: 11.26 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01728/1.446, allocations: 6.16 MB / 1.161 GB, free: 7.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/1.447, allocations: 0 / 1.161 GB, free: 7.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.677e-06/1.447, allocations: 0 / 1.161 GB, free: 7.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003111/1.447, allocations: 0 / 1.161 GB, free: 7.781 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 634 * Number of variables: 634 Notification: Performance of Generate backend data structure: time 0.0207/1.468, allocations: 4.624 MB / 1.165 GB, free: 4.699 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.468, allocations: 8.031 kB / 1.165 GB, free: 4.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07259/1.54, allocations: 4.381 MB / 1.17 GB, free: 2.879 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09116/1.631, allocations: 11.53 MB / 1.181 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004459/1.632, allocations: 212.8 kB / 1.181 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/1.634, allocations: 284 kB / 1.181 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02713/1.661, allocations: 4.288 MB / 1.186 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-05/1.661, allocations: 3.938 kB / 1.186 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008981/1.662, allocations: 104 kB / 1.186 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/1.663, allocations: 60 kB / 1.186 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02599/1.689, allocations: 3.881 MB / 1.189 GB, free: 2.586 MB / 0.7136 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.06141/1.75, allocations: 22.44 MB / 1.211 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/1.764, allocations: 2.975 MB / 1.214 GB, free: 8 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01166/1.776, allocations: 2.216 MB / 1.216 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007963/1.777, allocations: 429.8 kB / 1.217 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01231/1.789, allocations: 2.422 MB / 1.219 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=175): time 5.179e-06/1.789, allocations: 0 / 1.219 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=175): time 0.08426/1.873, allocations: 11.83 MB / 1.231 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000413/1.874, allocations: 473.1 kB / 1.231 GB, free: 6.359 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02786/1.902, allocations: 13.12 MB / 1.244 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001068/1.903, allocations: 73.7 kB / 1.244 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003051/1.906, allocations: 1.651 MB / 1.246 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001356/1.907, allocations: 0.6009 MB / 1.246 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/1.908, allocations: 60 kB / 1.246 GB, free: 6.805 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003997/1.908, allocations: 432.2 kB / 1.247 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02846/1.937, allocations: 8.979 MB / 1.256 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02969/1.967, allocations: 9.923 MB / 1.265 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02858/1.995, allocations: 9.04 MB / 1.274 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.318e-05/1.995, allocations: 4 kB / 1.274 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=384) (initialization): time 0.1083/2.104, allocations: 20.95 MB / 1.295 GB, free: 5.039 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001471/2.105, allocations: 0.9502 MB / 1.295 GB, free: 3.738 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08871/2.194, allocations: 11.49 MB / 1.307 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2121/2.406, allocations: 10.93 MB / 1.317 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/2.417, allocations: 0.8815 MB / 1.318 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/2.439, allocations: 7.95 MB / 1.326 GB, free: 4.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/2.453, allocations: 0.7346 MB / 1.327 GB, free: 3.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00152/2.454, allocations: 203.9 kB / 1.327 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/2.454, allocations: 10.12 kB / 1.327 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06677/2.521, allocations: 19.97 MB / 1.346 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04641/2.568, allocations: 10.48 MB / 1.357 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006926/2.575, allocations: 1.208 MB / 1.358 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01305/2.588, allocations: 0.9829 MB / 1.359 GB, free: 2.367 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/2.614, allocations: 11.74 MB / 1.37 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/2.627, allocations: 0.6728 MB / 1.371 GB, free: 5.41 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/2.629, allocations: 199.9 kB / 1.371 GB, free: 5.215 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * 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 (301): * Single equations (assignments): 296 * 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 {1 2,12 49} Notification: Performance of prepare postOptimizeDAE: time 0.005611/2.634, allocations: 1.987 MB / 1.373 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/2.636, allocations: 355.4 kB / 1.373 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03946/2.675, allocations: 6.884 MB / 1.38 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/2.675, allocations: 20 kB / 1.38 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/2.675, allocations: 4 kB / 1.38 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.487e-05/2.676, allocations: 7.969 kB / 1.38 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05083/2.726, allocations: 11.68 MB / 1.392 GB, free: 15.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.07445/2.801, allocations: 6.785 MB / 1.398 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004794/2.806, allocations: 331.6 kB / 1.398 GB, free: 8.844 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2193/3.025, allocations: 15.7 MB / 1.414 GB, free: 9.117 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006617/3.026, allocations: 75.94 kB / 1.414 GB, free: 9.043 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02095/3.047, allocations: 7.983 MB / 1.422 GB, free: 0.6172 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.047, allocations: 3.938 kB / 1.422 GB, free: 0.6133 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07862/3.125, allocations: 7.622 MB / 1.429 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003708/3.129, allocations: 1.011 MB / 1.43 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/3.131, allocations: 40 kB / 1.43 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008117/3.139, allocations: 331.5 kB / 1.43 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006487/3.139, allocations: 129.7 kB / 1.431 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004452/3.14, allocations: 79.94 kB / 1.431 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.6681/3.808, allocations: 8.314 MB / 1.439 GB, free: 354.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.42e-07/3.808, allocations: 0.8438 kB / 1.439 GB, free: 354.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01348/3.822, allocations: 2.408 MB / 1.441 GB, free: 354.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * 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.004388/3.826, allocations: 0.9574 MB / 1.442 GB, free: 354.5 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.08561/3.912, allocations: 23.35 MB / 1.465 GB, free: 348.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/3.912, allocations: 1.594 kB / 1.465 GB, free: 348.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01473/3.926, allocations: 3.18 MB / 1.468 GB, free: 347.2 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00726/3.934, allocations: 0.7181 MB / 1.469 GB, free: 347 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04224/3.976, allocations: 16.61 MB / 1.485 GB, free: 340.3 MB / 0.9636 GB [/var/lib/jenkins1/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]