Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.621/2.621, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001415, allocations: 182.7 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.102/2.102, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001059/0.001058, allocations: 88.55 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004678, allocations: 11 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1913, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01216/0.2035, allocations: 10.93 MB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8159/1.02, allocations: 135.6 MB / 1.122 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/1.022, allocations: 55.25 kB / 1.122 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.006795/1.029, allocations: 1.821 MB / 1.124 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005831/1.035, allocations: 1.533 MB / 1.125 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006675/1.042, allocations: 1.72 MB / 1.127 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006569/1.048, allocations: 3.758 MB / 1.131 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002459/1.051, allocations: 1.387 MB / 1.132 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/1.055, allocations: 1.714 MB / 1.134 GB, free: 0 / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/1.058, allocations: 1.525 MB / 1.135 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008005/1.059, allocations: 111.1 kB / 1.135 GB, free: 15.72 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006053/1.065, allocations: 2.133 MB / 1.137 GB, free: 15.37 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.005842/1.071, allocations: 4.739 MB / 1.142 GB, free: 13.74 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003407/1.075, allocations: 1.449 MB / 1.143 GB, free: 13.39 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0226/1.097, allocations: 16.55 MB / 1.159 GB, free: 5.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.097, allocations: 0 / 1.159 GB, free: 5.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.362e-06/1.097, allocations: 4 kB / 1.159 GB, free: 5.594 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003987/1.098, allocations: 0 / 1.159 GB, free: 5.594 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.03553/1.133, allocations: 12.52 MB / 1.172 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.133, allocations: 7.844 kB / 1.172 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02262/1.156, allocations: 3.038 MB / 1.175 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.478/3.634, allocations: 0.957 GB / 2.132 GB, free: 55.47 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/3.634, allocations: 212.2 kB / 2.132 GB, free: 55.26 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000899/3.635, allocations: 292 kB / 2.132 GB, free: 54.97 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009414/3.644, allocations: 3.442 MB / 2.136 GB, free: 51.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/3.644, allocations: 7.172 kB / 2.136 GB, free: 51.39 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/3.645, allocations: 92 kB / 2.136 GB, free: 51.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/3.645, allocations: 49.2 kB / 2.136 GB, free: 51.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009357/3.654, allocations: 3.33 MB / 2.139 GB, free: 47.91 MB / 0.9636 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.7846/4.439, allocations: 249.3 MB / 2.382 GB, free: 188.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008293/4.447, allocations: 2.831 MB / 2.385 GB, free: 185.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/4.448, allocations: 429.4 kB / 2.386 GB, free: 185 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005572/4.453, allocations: 1.983 MB / 2.387 GB, free: 183 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=173): time 7.167e-06/4.453, allocations: 0 / 2.387 GB, free: 183 MB / 0.9636 GB Notification: Performance of matching and sorting (n=173): time 0.03022/4.484, allocations: 7.834 MB / 2.395 GB, free: 175.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002343/4.484, allocations: 422.2 kB / 2.396 GB, free: 175.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.732/8.216, allocations: 1.183 GB / 3.579 GB, free: 92.27 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007374/8.216, allocations: 93.7 kB / 3.579 GB, free: 92.18 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.008262/8.225, allocations: 4.283 MB / 3.583 GB, free: 88.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008331/8.226, allocations: 0.5706 MB / 3.584 GB, free: 87.74 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004047/8.226, allocations: 64 kB / 3.584 GB, free: 87.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003133/8.226, allocations: 466.1 kB / 3.584 GB, free: 87.22 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009222/8.236, allocations: 2.918 MB / 3.587 GB, free: 84.32 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00992/8.246, allocations: 4.01 MB / 3.591 GB, free: 79.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/8.255, allocations: 3.311 MB / 3.594 GB, free: 76.64 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.301e-05/8.255, allocations: 12 kB / 3.594 GB, free: 76.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.03086/8.286, allocations: 8.922 MB / 3.603 GB, free: 67.66 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.003689/8.29, allocations: 18.77 MB / 3.621 GB, free: 47.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06208/8.352, allocations: 7.837 MB / 3.629 GB, free: 39.45 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07113/8.423, allocations: 5.454 MB / 3.634 GB, free: 34.01 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/8.429, allocations: 0.8463 MB / 3.635 GB, free: 33.16 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008818/8.438, allocations: 6.392 MB / 3.641 GB, free: 26.35 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/8.449, allocations: 1.416 MB / 3.643 GB, free: 24.93 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/8.451, allocations: 187.9 kB / 3.643 GB, free: 24.74 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/8.451, allocations: 4 kB / 3.643 GB, free: 24.74 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02376/8.474, allocations: 8.129 MB / 3.651 GB, free: 16.55 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01795/8.492, allocations: 6.135 MB / 3.657 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/8.495, allocations: 0.5518 MB / 3.657 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005855/8.5, allocations: 0.897 MB / 3.658 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/8.511, allocations: 8.486 MB / 3.667 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/8.523, allocations: 1.319 MB / 3.668 GB, free: 14.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/8.524, allocations: 191.9 kB / 3.668 GB, free: 14.39 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * 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 {5 23,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009961/8.534, allocations: 4.141 MB / 3.672 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005472/8.54, allocations: 0.8403 MB / 3.673 GB, free: 9.375 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/8.563, allocations: 6.478 MB / 3.679 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.779e-05/8.563, allocations: 23.89 kB / 3.679 GB, free: 2.848 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/8.563, allocations: 8 kB / 3.679 GB, free: 2.84 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.115e-05/8.564, allocations: 7.969 kB / 3.679 GB, free: 2.832 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6725/9.236, allocations: 16 MB / 3.695 GB, free: 357.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.04178/9.278, allocations: 6.134 MB / 3.701 GB, free: 355.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/9.281, allocations: 337.1 kB / 3.701 GB, free: 355.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06672/9.347, allocations: 7.822 MB / 3.709 GB, free: 355.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004724/9.348, allocations: 62.23 kB / 3.709 GB, free: 355.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00955/9.358, allocations: 6.391 MB / 3.715 GB, free: 350.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.32e-06/9.358, allocations: 160 / 3.715 GB, free: 350.2 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/9.378, allocations: 5.522 MB / 3.72 GB, free: 348.5 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009813/9.387, allocations: 3.414 MB / 3.724 GB, free: 345.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005076/9.393, allocations: 33.62 kB / 3.724 GB, free: 345.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01036/9.403, allocations: 0.9123 MB / 3.725 GB, free: 345.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/9.404, allocations: 117.5 kB / 3.725 GB, free: 345.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003527/9.404, allocations: 88.06 kB / 3.725 GB, free: 345.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.27/11.67, allocations: 0.9482 GB / 4.673 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.287e-06/11.67, allocations: 7.812 kB / 4.673 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01819/11.69, allocations: 3.494 MB / 4.677 GB, free: 111.9 MB / 0.9792 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.003839/11.7, allocations: 1.035 MB / 4.678 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02943/11.73, allocations: 13.25 MB / 4.691 GB, free: 98.06 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/11.73, allocations: 0 / 4.691 GB, free: 98.06 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007492/11.73, allocations: 3.496 MB / 4.694 GB, free: 94.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007172/11.74, allocations: 0.9637 MB / 4.695 GB, free: 93.61 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04239/11.78, allocations: 21.27 MB / 4.716 GB, free: 72.55 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01184/11.79, allocations: 5.329 MB / 4.721 GB, free: 67.2 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.01617/11.81, allocations: 4.544 MB / 4.725 GB, free: 62.65 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006721/11.82, allocations: 1.272 MB / 4.727 GB, free: 61.38 MB / 0.9792 GB Notification: Performance of SimCode: time 2.203e-06/11.82, allocations: 0 / 4.727 GB, free: 61.38 MB / 0.9792 GB Notification: Performance of Templates: time 2.047/13.86, allocations: 468 MB / 5.184 GB, free: 337.3 MB / 0.9792 GB