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 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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.417/2.417, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001603/0.001603, allocations: 176.5 kB / 325.6 MB, free: 2.832 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.539/2.539, allocations: 205.4 MB / 0.5766 GB, free: 21.14 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.00113/0.00113, allocations: 104.5 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004631, allocations: 13.06 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2306, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01882/0.2495, allocations: 10.94 MB / 0.9096 GB, free: 55 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.2485/0.4981, allocations: 135.6 MB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003074/0.5012, allocations: 51.69 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.008225/0.5095, allocations: 1.825 MB / 1.044 GB, free: 13.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006837/0.5164, allocations: 1.544 MB / 1.045 GB, free: 11.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007869/0.5243, allocations: 1.702 MB / 1.047 GB, free: 9.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008821/0.5331, allocations: 3.763 MB / 1.051 GB, free: 6.121 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00341/0.5366, allocations: 1.389 MB / 1.052 GB, free: 4.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004494/0.5411, allocations: 1.704 MB / 1.054 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003809/0.545, allocations: 1.513 MB / 1.055 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001106/0.5462, allocations: 112 kB / 1.055 GB, free: 1.355 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.8461/1.392, allocations: 2.123 MB / 1.057 GB, free: 5.992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.009088/1.401, allocations: 4.738 MB / 1.062 GB, free: 5.992 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.005579/1.407, allocations: 1.449 MB / 1.063 GB, free: 5.961 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.02849/1.436, allocations: 16.56 MB / 1.08 GB, free: 5.086 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.436, allocations: 3 kB / 1.08 GB, free: 5.086 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.747e-06/1.436, allocations: 3.734 kB / 1.08 GB, free: 5.086 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005791/1.436, allocations: 0 / 1.08 GB, free: 5.086 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.07083/1.507, allocations: 12.52 MB / 1.092 GB, free: 216 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.507, allocations: 10.16 kB / 1.092 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0516/1.559, allocations: 3.076 MB / 1.095 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.73/4.289, allocations: 0.957 GB / 2.052 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/4.289, allocations: 216.2 kB / 2.052 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001855/4.291, allocations: 292 kB / 2.052 GB, free: 151.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/4.31, allocations: 3.453 MB / 2.056 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.551e-05/4.31, allocations: 0.6562 kB / 2.056 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007338/4.311, allocations: 92 kB / 2.056 GB, free: 148 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.714e-05/4.311, allocations: 52 kB / 2.056 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01749/4.328, allocations: 3.322 MB / 2.059 GB, free: 144.6 MB / 0.948 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.9783/5.307, allocations: 249.3 MB / 2.302 GB, free: 310 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/5.319, allocations: 2.834 MB / 2.305 GB, free: 307.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/5.319, allocations: 427.3 kB / 2.306 GB, free: 306.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008286/5.328, allocations: 1.977 MB / 2.308 GB, free: 304.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=173): time 4.538e-06/5.328, allocations: 0 / 2.308 GB, free: 304.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=173): time 0.04695/5.375, allocations: 7.83 MB / 2.315 GB, free: 297.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002864/5.375, allocations: 418.3 kB / 2.316 GB, free: 296.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.178/9.553, allocations: 1.183 GB / 3.499 GB, free: 293.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001105/9.554, allocations: 93.7 kB / 3.499 GB, free: 293.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01064/9.565, allocations: 4.281 MB / 3.503 GB, free: 289.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/9.566, allocations: 0.5726 MB / 3.504 GB, free: 288.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000849/9.567, allocations: 64 kB / 3.504 GB, free: 288.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0005289/9.568, allocations: 457 kB / 3.504 GB, free: 288.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01429/9.582, allocations: 2.915 MB / 3.507 GB, free: 285.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01512/9.597, allocations: 4.013 MB / 3.511 GB, free: 280.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/9.612, allocations: 3.317 MB / 3.514 GB, free: 277.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.483e-05/9.612, allocations: 13.2 kB / 3.514 GB, free: 277.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=426) (initialization): time 0.04619/9.658, allocations: 8.914 MB / 3.523 GB, free: 268.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004239/9.663, allocations: 18.77 MB / 3.541 GB, free: 248.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07267/9.735, allocations: 7.833 MB / 3.549 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0913/9.827, allocations: 5.452 MB / 3.554 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008803/9.836, allocations: 0.8424 MB / 3.555 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01179/9.847, allocations: 6.394 MB / 3.561 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01785/9.865, allocations: 1.411 MB / 3.563 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/9.867, allocations: 192.3 kB / 3.563 GB, free: 225.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/9.867, allocations: 4 kB / 3.563 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03485/9.902, allocations: 8.128 MB / 3.571 GB, free: 217.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02711/9.929, allocations: 6.145 MB / 3.577 GB, free: 211.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/9.932, allocations: 0.5391 MB / 3.577 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009988/9.942, allocations: 0.897 MB / 3.578 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/9.957, allocations: 8.485 MB / 3.587 GB, free: 200.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02654/9.983, allocations: 1.338 MB / 3.588 GB, free: 199.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001863/9.985, allocations: 183.9 kB / 3.588 GB, free: 199.4 MB / 0.948 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.01631/10, allocations: 4.149 MB / 3.592 GB, free: 195.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009442/10.01, allocations: 0.8404 MB / 3.593 GB, free: 194.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04335/10.05, allocations: 6.471 MB / 3.599 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.836e-05/10.05, allocations: 16 kB / 3.599 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/10.05, allocations: 7.953 kB / 3.599 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.587e-05/10.05, allocations: 7.969 kB / 3.599 GB, free: 187.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08349/10.14, allocations: 16.01 MB / 3.615 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.09265/10.23, allocations: 6.136 MB / 3.621 GB, free: 165.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003988/10.23, allocations: 335.5 kB / 3.621 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1107/10.35, allocations: 7.83 MB / 3.629 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000853/10.35, allocations: 55.95 kB / 3.629 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01713/10.36, allocations: 6.387 MB / 3.635 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.269e-06/10.36, allocations: 4 kB / 3.635 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03865/10.4, allocations: 5.515 MB / 3.641 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01674/10.42, allocations: 3.416 MB / 3.644 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008855/10.43, allocations: 36 kB / 3.644 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02117/10.45, allocations: 0.9137 MB / 3.645 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008846/10.45, allocations: 117.1 kB / 3.645 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005739/10.45, allocations: 89.27 kB / 3.645 GB, free: 140.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.285/13.74, allocations: 0.9482 GB / 4.593 GB, free: 299.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.92e-07/13.74, allocations: 0 / 4.593 GB, free: 299.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02837/13.76, allocations: 3.494 MB / 4.597 GB, free: 296.6 MB / 0.948 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.006277/13.77, allocations: 1.033 MB / 4.598 GB, free: 296 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.05566/13.83, allocations: 13.25 MB / 4.611 GB, free: 284.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/13.83, allocations: 0 / 4.611 GB, free: 284.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01402/13.84, allocations: 3.496 MB / 4.614 GB, free: 281.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/13.85, allocations: 0.9605 MB / 4.615 GB, free: 280.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06479/13.92, allocations: 21.27 MB / 4.636 GB, free: 259.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/13.93, allocations: 5.313 MB / 4.641 GB, free: 253.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.02184/13.95, allocations: 4.551 MB / 4.645 GB, free: 249.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009531/13.96, allocations: 1.268 MB / 4.647 GB, free: 248.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.633e-06/13.96, allocations: 0 / 4.647 GB, free: 248.1 MB / 0.948 GB Notification: Performance of Templates: time 1.768/15.73, allocations: 468 MB / 5.104 GB, free: 157.4 MB / 0.948 GB