Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.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.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.001873/0.001873, allocations: 191.4 kB / 325.8 MB, free: 2.797 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.623/2.623, allocations: 205.4 MB / 0.5767 GB, free: 20.75 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.0008591/0.0008588, allocations: 82.25 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 11 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1998, allocations: 106.3 MB / 0.899 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01649/0.2164, allocations: 11.68 MB / 0.9104 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2275/0.444, allocations: 144.8 MB / 1.052 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.4472, allocations: 63.56 kB / 1.052 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008166/0.4554, allocations: 1.961 MB / 1.054 GB, free: 2.434 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.00597/0.4614, allocations: 1.206 MB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.6456/1.107, allocations: 1.54 MB / 1.057 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009678/1.117, allocations: 6.232 MB / 1.063 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003814/1.121, allocations: 1.642 MB / 1.064 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005579/1.126, allocations: 1.756 MB / 1.066 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005471/1.132, allocations: 1.733 MB / 1.068 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001732/1.134, allocations: 120.6 kB / 1.068 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008581/1.142, allocations: 2.238 MB / 1.07 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.00781/1.15, allocations: 4.441 MB / 1.074 GB, free: 4.234 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002727/1.153, allocations: 0.7708 MB / 1.075 GB, free: 4.199 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/1.165, allocations: 6.049 MB / 1.081 GB, free: 3.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.165, allocations: 3.812 kB / 1.081 GB, free: 3.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.267e-06/1.165, allocations: 0 / 1.081 GB, free: 3.84 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002887/1.165, allocations: 0 / 1.081 GB, free: 3.84 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: 569 * Number of variables: 569 Notification: Performance of Generate backend data structure: time 0.0159/1.181, allocations: 4.596 MB / 1.085 GB, free: 1.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.181, allocations: 12.38 kB / 1.085 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03013/1.211, allocations: 2.539 MB / 1.088 GB, free: 1.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04621/1.258, allocations: 14.57 MB / 1.102 GB, free: 16.58 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002861/1.258, allocations: 213.9 kB / 1.102 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/1.259, allocations: 291.4 kB / 1.103 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/1.273, allocations: 3.714 MB / 1.106 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-05/1.273, allocations: 14.64 kB / 1.106 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/1.274, allocations: 93.69 kB / 1.106 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/1.274, allocations: 52.06 kB / 1.106 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/1.287, allocations: 3.579 MB / 1.11 GB, free: 15.94 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.04651/1.334, allocations: 21.66 MB / 1.131 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/1.346, allocations: 3.131 MB / 1.134 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00837/1.355, allocations: 2.15 MB / 1.136 GB, free: 1.699 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007264/1.356, allocations: 428.8 kB / 1.137 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008951/1.365, allocations: 2.243 MB / 1.139 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=173): time 4.889e-06/1.365, allocations: 0 / 1.139 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=173): time 0.04284/1.407, allocations: 8.054 MB / 1.147 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003973/1.408, allocations: 425.1 kB / 1.147 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04709/1.455, allocations: 21.47 MB / 1.168 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.00111/1.456, allocations: 87.33 kB / 1.168 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.003064/1.459, allocations: 1.617 MB / 1.17 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001302/1.461, allocations: 0.5818 MB / 1.17 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008671/1.462, allocations: 71 kB / 1.17 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0005702/1.462, allocations: 470.3 kB / 1.171 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02735/1.49, allocations: 13.66 MB / 1.184 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02878/1.518, allocations: 14.8 MB / 1.199 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02793/1.546, allocations: 14.07 MB / 1.212 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.758e-05/1.546, allocations: 8 kB / 1.212 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=477) (initialization): time 0.0677/1.614, allocations: 30.02 MB / 1.242 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001402/1.616, allocations: 1.258 MB / 1.243 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03432/1.65, allocations: 6.885 MB / 1.25 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09352/1.744, allocations: 5.467 MB / 1.255 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01009/1.754, allocations: 0.9316 MB / 1.256 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/1.768, allocations: 6.373 MB / 1.262 GB, free: 11.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01037/1.778, allocations: 0.6217 MB / 1.263 GB, free: 10.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.78, allocations: 214.2 kB / 1.263 GB, free: 10.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.78, allocations: 4 kB / 1.263 GB, free: 10.3 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06415/1.844, allocations: 29.73 MB / 1.292 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03118/1.875, allocations: 6.721 MB / 1.298 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003419/1.879, allocations: 0.5425 MB / 1.299 GB, free: 5.441 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/1.89, allocations: 0.9829 MB / 1.3 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/1.904, allocations: 8.352 MB / 1.308 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009239/1.914, allocations: 0.5197 MB / 1.309 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/1.915, allocations: 210.6 kB / 1.309 GB, free: 10.95 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (413): * Single equations (assignments): 408 * 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 {6 22,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.006995/1.922, allocations: 2.828 MB / 1.312 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001378/1.924, allocations: 347.4 kB / 1.312 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0294/1.953, allocations: 6.138 MB / 1.318 GB, free: 1.652 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.439e-05/1.953, allocations: 16 kB / 1.318 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.953, allocations: 4 kB / 1.318 GB, free: 1.633 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-05/1.953, allocations: 7.969 kB / 1.318 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03823/1.992, allocations: 9.704 MB / 1.327 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.07042/2.062, allocations: 6.658 MB / 1.334 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004222/2.066, allocations: 335.4 kB / 1.334 GB, free: 0.875 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1126/2.179, allocations: 7.829 MB / 1.342 GB, free: 9.082 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006089/2.18, allocations: 55.95 kB / 1.342 GB, free: 9.027 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/2.193, allocations: 6.366 MB / 1.348 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/2.193, allocations: 3.156 kB / 1.348 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02366/2.217, allocations: 5.459 MB / 1.353 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003245/2.22, allocations: 0.8861 MB / 1.354 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/2.221, allocations: 40 kB / 1.354 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00599/2.227, allocations: 247.7 kB / 1.355 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006832/2.228, allocations: 117.1 kB / 1.355 GB, free: 11.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004004/2.229, allocations: 83.95 kB / 1.355 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.02016/2.249, allocations: 13.4 MB / 1.368 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7.01e-07/2.249, allocations: 0 / 1.368 GB, free: 13.98 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.01309/2.262, allocations: 2.374 MB / 1.37 GB, free: 11.62 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (125): * Single equations (assignments): 118 * 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 {6 26,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005163/2.267, allocations: 1.019 MB / 1.371 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.07162/2.339, allocations: 35.12 MB / 1.406 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.568e-05/2.339, allocations: 4 kB / 1.406 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/2.351, allocations: 3.761 MB / 1.409 GB, free: 4.102 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006085/2.357, allocations: 0.6306 MB / 1.41 GB, free: 3.469 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6429/3, allocations: 24.23 MB / 1.433 GB, free: 398.5 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]