Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01076/0.01076, allocations: 222.1 kB / 15.17 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00106/0.00106, allocations: 178.3 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.604/3.604, allocations: 389.1 MB / 405.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.595/3.595, allocations: 472.3 MB / 0.9018 GB, free: 18.77 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.000522, allocations: 12 kB / 1.008 GB, free: 3.887 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.175, allocations: 98.71 MB / 1.104 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01696/0.192, allocations: 11.56 MB / 1.115 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.6328/0.8249, allocations: 144.7 MB / 1.257 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002499/0.8274, allocations: 55.69 kB / 1.257 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006085/0.8335, allocations: 1.911 MB / 1.258 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.8387, allocations: 1.441 MB / 1.26 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006027/0.8447, allocations: 1.681 MB / 1.262 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008278/0.853, allocations: 6.07 MB / 1.267 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.8556, allocations: 1.352 MB / 1.269 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003137/0.8587, allocations: 1.696 MB / 1.27 GB, free: 1.547 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002752/0.8615, allocations: 1.747 MB / 1.272 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.862, allocations: 120 kB / 1.272 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/0.8672, allocations: 2.254 MB / 1.274 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005159/0.8724, allocations: 4.455 MB / 1.279 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001284/0.8737, allocations: 0.7611 MB / 1.28 GB, free: 8.188 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009107/0.8828, allocations: 6.047 MB / 1.285 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.181e-06/0.8828, allocations: 0 / 1.285 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.948e-06/0.8829, allocations: 0 / 1.285 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.008e-05/0.8829, allocations: 0 / 1.285 GB, free: 2.129 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 566 * Number of variables: 566 Notification: Performance of Generate backend data structure: time 0.009998/0.8929, allocations: 4.622 MB / 1.29 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.893, allocations: 8.75 kB / 1.29 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01893/0.9119, allocations: 2.655 MB / 1.293 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03314/0.9451, allocations: 14.55 MB / 1.307 GB, free: 12.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.9454, allocations: 220.2 kB / 1.307 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00086/0.9463, allocations: 292 kB / 1.307 GB, free: 11.63 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009841/0.9562, allocations: 3.509 MB / 1.311 GB, free: 7.992 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.051e-05/0.9563, allocations: 7.984 kB / 1.311 GB, free: 7.984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000356/0.9566, allocations: 92 kB / 1.311 GB, free: 7.895 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.9567, allocations: 52 kB / 1.311 GB, free: 7.844 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009967/0.9667, allocations: 3.458 MB / 1.314 GB, free: 4.367 MB / 0.698 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.03664/1.003, allocations: 21.73 MB / 1.335 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009323/1.013, allocations: 2.905 MB / 1.338 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005594/1.018, allocations: 1.838 MB / 1.34 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001266/1.02, allocations: 0.8545 MB / 1.341 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006166/1.026, allocations: 2.047 MB / 1.343 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=173): time 5.601e-06/1.026, allocations: 0 / 1.343 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of matching and sorting (n=173): time 0.02861/1.054, allocations: 7.558 MB / 1.35 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003392/1.055, allocations: 392.6 kB / 1.351 GB, free: 14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04495/1.1, allocations: 21.42 MB / 1.372 GB, free: 8.551 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006534/1.101, allocations: 97.67 kB / 1.372 GB, free: 8.449 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.002185/1.103, allocations: 1.58 MB / 1.373 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000788/1.104, allocations: 0.5737 MB / 1.374 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/1.104, allocations: 72 kB / 1.374 GB, free: 6.203 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003809/1.104, allocations: 478 kB / 1.374 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02067/1.125, allocations: 13.46 MB / 1.387 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02227/1.147, allocations: 14.6 MB / 1.402 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02121/1.169, allocations: 13.89 MB / 1.415 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-05/1.169, allocations: 8 kB / 1.415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=479) (initialization): time 0.4872/1.656, allocations: 29.73 MB / 1.444 GB, free: 273.8 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008343/1.657, allocations: 1.306 MB / 1.446 GB, free: 272.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02106/1.678, allocations: 6.596 MB / 1.452 GB, free: 270.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05294/1.731, allocations: 5.466 MB / 1.457 GB, free: 269.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005788/1.737, allocations: 0.9594 MB / 1.458 GB, free: 269.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008498/1.745, allocations: 6.377 MB / 1.465 GB, free: 264.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/1.751, allocations: 0.6248 MB / 1.465 GB, free: 264.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008633/1.752, allocations: 215 kB / 1.465 GB, free: 264.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/1.752, allocations: 3.938 kB / 1.465 GB, free: 264.3 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03728/1.789, allocations: 29.44 MB / 1.494 GB, free: 240.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01773/1.807, allocations: 6.434 MB / 1.5 GB, free: 234 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002071/1.809, allocations: 0.5468 MB / 1.501 GB, free: 233.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006231/1.815, allocations: 1.002 MB / 1.502 GB, free: 232.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009402/1.825, allocations: 8.354 MB / 1.51 GB, free: 223.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00553/1.83, allocations: 0.537 MB / 1.511 GB, free: 223.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/1.831, allocations: 212.8 kB / 1.511 GB, free: 222.9 MB / 0.8073 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.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTim1.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (415): * Single equations (assignments): 408 * Array equations: 0 * Algorithm blocks: 3 * 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.003857/1.835, allocations: 2.833 MB / 1.514 GB, free: 220.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/1.836, allocations: 351.3 kB / 1.514 GB, free: 219.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/1.853, allocations: 5.671 MB / 1.519 GB, free: 214 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.853, allocations: 16 kB / 1.519 GB, free: 214 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.597e-06/1.853, allocations: 0 / 1.519 GB, free: 214 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/1.853, allocations: 7.969 kB / 1.519 GB, free: 214 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.874, allocations: 9.223 MB / 1.528 GB, free: 204.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.03828/1.912, allocations: 6.191 MB / 1.534 GB, free: 198.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002606/1.915, allocations: 351.2 kB / 1.535 GB, free: 198.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06249/1.978, allocations: 7.808 MB / 1.542 GB, free: 190.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004247/1.978, allocations: 67.89 kB / 1.543 GB, free: 190.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008108/1.986, allocations: 6.34 MB / 1.549 GB, free: 183.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.782e-06/1.986, allocations: 0 / 1.549 GB, free: 183.4 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03935/2.026, allocations: 6.796 MB / 1.555 GB, free: 176.6 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/2.028, allocations: 0.9017 MB / 1.556 GB, free: 175.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005712/2.028, allocations: 32 kB / 1.556 GB, free: 175.7 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003144/2.032, allocations: 267.6 kB / 1.557 GB, free: 175.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/2.032, allocations: 117.1 kB / 1.557 GB, free: 175.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/2.032, allocations: 93.11 kB / 1.557 GB, free: 175.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01201/2.044, allocations: 13.35 MB / 1.57 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.38e-07/2.044, allocations: 0 / 1.57 GB, free: 161.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007625/2.052, allocations: 2.391 MB / 1.572 GB, free: 159.5 MB / 0.8073 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 114 * 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 {5 27,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003315/2.055, allocations: 1.086 MB / 1.573 GB, free: 158.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.04254/2.098, allocations: 34.73 MB / 1.607 GB, free: 123.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.848e-06/2.098, allocations: 4 kB / 1.607 GB, free: 123.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007309/2.105, allocations: 3.532 MB / 1.611 GB, free: 120.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/2.108, allocations: 0.5765 MB / 1.611 GB, free: 119.7 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03333/2.142, allocations: 23.91 MB / 1.634 GB, free: 95.79 MB / 0.8073 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]