Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Window.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Window") translateModel(Buildings.HeatTransfer.Windows.Examples.Window,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.Window") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.794/2.794, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001281/0.00128, allocations: 181.4 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.4 MB / 0.5767 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009744/0.0009738, allocations: 106.4 kB / 0.6812 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.000628, allocations: 11.84 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2038, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Window): time 0.01571/0.2195, allocations: 11.38 MB / 0.9101 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2257/0.4453, allocations: 144.9 MB / 1.052 GB, free: 4.656 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003081/0.4484, allocations: 59.69 kB / 1.052 GB, free: 4.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008314/0.4568, allocations: 2.015 MB / 1.054 GB, free: 2.574 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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‘. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.00643/0.4633, allocations: 1.392 MB / 1.055 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.705/1.168, allocations: 1.699 MB / 1.057 GB, free: 4.488 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01092/1.179, allocations: 7.172 MB / 1.064 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005081/1.184, allocations: 1.943 MB / 1.066 GB, free: 4.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006472/1.191, allocations: 2.064 MB / 1.068 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006478/1.197, allocations: 2.036 MB / 1.07 GB, free: 4.148 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.002008/1.2, allocations: 156.3 kB / 1.07 GB, free: 4.148 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008246/1.208, allocations: 2.088 MB / 1.072 GB, free: 4.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005574/1.213, allocations: 2.991 MB / 1.075 GB, free: 4.148 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002774/1.216, allocations: 0.7909 MB / 1.075 GB, free: 4.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01207/1.228, allocations: 6.118 MB / 1.081 GB, free: 3.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.228, allocations: 2.688 kB / 1.081 GB, free: 3.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.947e-06/1.228, allocations: 0 / 1.081 GB, free: 3.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002801/1.229, allocations: 0 / 1.081 GB, free: 3.754 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.01622/1.245, allocations: 4.648 MB / 1.086 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.245, allocations: 9.219 kB / 1.086 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05491/1.3, allocations: 4.422 MB / 1.09 GB, free: 17.21 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06601/1.366, allocations: 11.56 MB / 1.102 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/1.366, allocations: 217.4 kB / 1.102 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/1.368, allocations: 292.3 kB / 1.102 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/1.387, allocations: 4.507 MB / 1.107 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.198e-05/1.387, allocations: 0 / 1.107 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005202/1.387, allocations: 106.4 kB / 1.107 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/1.388, allocations: 63.5 kB / 1.107 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01833/1.406, allocations: 4.111 MB / 1.111 GB, free: 14.25 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.04275/1.449, allocations: 19.44 MB / 1.13 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01755/1.466, allocations: 3.882 MB / 1.133 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01342/1.48, allocations: 2.864 MB / 1.136 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000786/1.481, allocations: 430.8 kB / 1.137 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01405/1.495, allocations: 3.025 MB / 1.14 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=201): time 5.992e-06/1.495, allocations: 0 / 1.14 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=201): time 0.09297/1.588, allocations: 13.89 MB / 1.153 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004359/1.588, allocations: 375.4 kB / 1.154 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02482/1.613, allocations: 12.81 MB / 1.166 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.001336/1.614, allocations: 82.58 kB / 1.166 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002632/1.617, allocations: 1.63 MB / 1.168 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.619, allocations: 0.6711 MB / 1.168 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007175/1.619, allocations: 61.88 kB / 1.168 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003536/1.62, allocations: 439.5 kB / 1.169 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0297/1.649, allocations: 9.58 MB / 1.178 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03071/1.68, allocations: 10.05 MB / 1.188 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03039/1.711, allocations: 9.62 MB / 1.197 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.45e-05/1.711, allocations: 0 / 1.197 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.1166/1.827, allocations: 22.12 MB / 1.219 GB, free: 1.617 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008437/1.828, allocations: 472.2 kB / 1.219 GB, free: 1.102 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1341/1.963, allocations: 14.04 MB / 1.233 GB, free: 6.586 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1871/2.15, allocations: 10.88 MB / 1.244 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/2.162, allocations: 0.8769 MB / 1.245 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/2.183, allocations: 7.883 MB / 1.252 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/2.197, allocations: 0.6624 MB / 1.253 GB, free: 3.914 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001575/2.198, allocations: 189.4 kB / 1.253 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/2.198, allocations: 5.406 kB / 1.253 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07364/2.272, allocations: 21.03 MB / 1.274 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05445/2.326, allocations: 12.8 MB / 1.286 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006861/2.333, allocations: 1.185 MB / 1.287 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01356/2.347, allocations: 0.9755 MB / 1.288 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02549/2.372, allocations: 11.7 MB / 1.3 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/2.385, allocations: 0.6141 MB / 1.3 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/2.387, allocations: 193.4 kB / 1.301 GB, free: 4.09 MB / 0.8542 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.005608/2.392, allocations: 1.983 MB / 1.302 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001396/2.394, allocations: 351.4 kB / 1.303 GB, free: 1.777 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05454/2.448, allocations: 8.307 MB / 1.311 GB, free: 9.449 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.148e-05/2.448, allocations: 20 kB / 1.311 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/2.448, allocations: 8 kB / 1.311 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-05/2.449, allocations: 11.95 kB / 1.311 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06662/2.515, allocations: 13.06 MB / 1.324 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.08082/2.596, allocations: 8.136 MB / 1.332 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005811/2.602, allocations: 415.2 kB / 1.332 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2259/2.828, allocations: 15.69 MB / 1.347 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008127/2.829, allocations: 87.22 kB / 1.347 GB, free: 3.973 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/2.85, allocations: 7.921 MB / 1.355 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/2.85, allocations: 4.062 kB / 1.355 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08395/2.934, allocations: 8.642 MB / 1.364 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003924/2.938, allocations: 1.054 MB / 1.365 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/2.94, allocations: 44 kB / 1.365 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008737/2.949, allocations: 355 kB / 1.365 GB, free: 1.551 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000815/2.949, allocations: 140.7 kB / 1.365 GB, free: 1.418 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005565/2.95, allocations: 103.9 kB / 1.365 GB, free: 1.316 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01355/2.964, allocations: 8.115 MB / 1.373 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8.91e-07/2.964, allocations: 0 / 1.373 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01287/2.977, allocations: 2.534 MB / 1.376 GB, free: 6.699 MB / 0.9323 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.004686/2.981, allocations: 0.9855 MB / 1.377 GB, free: 5.965 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.07918/3.06, allocations: 26.23 MB / 1.402 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/3.061, allocations: 0.875 kB / 1.402 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01741/3.078, allocations: 3.914 MB / 1.406 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007049/3.085, allocations: 0.7154 MB / 1.407 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6752/3.76, allocations: 17.58 MB / 1.424 GB, free: 399.6 MB / 0.9636 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:762:5-762:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]