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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_Examples_ElectrochromicWindow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01617/0.01617, allocations: 106.3 kB / 15.06 MB, free: 5.555 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.001342/0.001342, allocations: 183.5 kB / 15.95 MB, free: 5.52 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 2.015/2.015, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.31/2.31, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004992, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.714/0.7146, allocations: 98.7 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.ElectrochromicWindow): time 0.01696/0.7316, allocations: 10.79 MB / 0.694 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2407/0.9724, allocations: 135.7 MB / 0.8265 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/0.9761, allocations: 51.69 kB / 0.8265 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.009144/0.9853, allocations: 1.817 MB / 0.8283 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007436/0.9928, allocations: 1.527 MB / 0.8298 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007846/1.001, allocations: 1.665 MB / 0.8314 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009101/1.01, allocations: 3.751 MB / 0.8351 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/1.013, allocations: 1.35 MB / 0.8364 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/1.017, allocations: 1.712 MB / 0.8381 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/1.022, allocations: 1.533 MB / 0.8395 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0009797/1.023, allocations: 112 kB / 0.8397 GB, free: 13.99 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006897/1.03, allocations: 2.153 MB / 0.8418 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.007088/1.037, allocations: 4.736 MB / 0.8464 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.00339/1.04, allocations: 1.446 MB / 0.8478 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.02625/1.066, allocations: 16.55 MB / 0.864 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.067, allocations: 0 / 0.864 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.777e-06/1.067, allocations: 0 / 0.864 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004615/1.067, allocations: 0 / 0.864 GB, free: 5.043 MB / 0.6823 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.04548/1.112, allocations: 12.53 MB / 0.8762 GB, free: 8.375 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/1.113, allocations: 8.031 kB / 0.8762 GB, free: 8.367 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001171/1.114, allocations: 320.4 kB / 0.8765 GB, free: 8.043 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03677/1.151, allocations: 3.16 MB / 0.8796 GB, free: 4.867 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.865/4.016, allocations: 0.957 GB / 1.837 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/4.016, allocations: 216.2 kB / 1.837 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0011/4.018, allocations: 292 kB / 1.837 GB, free: 26.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0128/4.03, allocations: 3.499 MB / 1.84 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/4.03, allocations: 3.938 kB / 1.84 GB, free: 22.98 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004282/4.031, allocations: 93.2 kB / 1.841 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/4.031, allocations: 52.56 kB / 1.841 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01339/4.044, allocations: 3.455 MB / 1.844 GB, free: 19.37 MB / 0.8386 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.7909/4.835, allocations: 249.4 MB / 2.088 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0127/4.848, allocations: 2.956 MB / 2.09 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/4.849, allocations: 0.851 MB / 2.091 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008157/4.858, allocations: 2.053 MB / 2.093 GB, free: 98.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=173): time 6.002e-06/4.858, allocations: 0 / 2.093 GB, free: 98.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173): time 0.04383/4.901, allocations: 8.109 MB / 2.101 GB, free: 90.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002644/4.902, allocations: 396.5 kB / 2.102 GB, free: 90.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.278/9.179, allocations: 1.183 GB / 3.285 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009386/9.18, allocations: 93.7 kB / 3.285 GB, free: 203.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.007371/9.188, allocations: 4.238 MB / 3.289 GB, free: 199.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/9.189, allocations: 0.5727 MB / 3.29 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005397/9.189, allocations: 64 kB / 3.29 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003182/9.19, allocations: 459 kB / 3.29 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01384/9.204, allocations: 2.98 MB / 3.293 GB, free: 195.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01449/9.218, allocations: 4.066 MB / 3.297 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/9.232, allocations: 3.414 MB / 3.3 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.238e-05/9.232, allocations: 19.66 kB / 3.3 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=428) (initialization): time 0.04151/9.274, allocations: 9.208 MB / 3.309 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003556/9.277, allocations: 18.76 MB / 3.328 GB, free: 157.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07117/9.349, allocations: 8.091 MB / 3.336 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09015/9.439, allocations: 5.444 MB / 3.341 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008681/9.447, allocations: 0.8619 MB / 3.342 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/9.459, allocations: 6.388 MB / 3.348 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01567/9.475, allocations: 1.427 MB / 3.349 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001116/9.476, allocations: 187.9 kB / 3.35 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/9.476, allocations: 5.25 kB / 3.35 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0349/9.511, allocations: 8.377 MB / 3.358 GB, free: 126.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02699/9.538, allocations: 6.394 MB / 3.364 GB, free: 120 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/9.541, allocations: 0.5289 MB / 3.365 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009657/9.551, allocations: 0.9087 MB / 3.365 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/9.562, allocations: 8.477 MB / 3.374 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01562/9.578, allocations: 1.339 MB / 3.375 GB, free: 108.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/9.579, allocations: 187.9 kB / 3.375 GB, free: 108.1 MB / 0.8542 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.conTim1.tNext,weaDat.conTim1.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 (364): * Single equations (assignments): 357 * 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 {5 23,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008609/9.588, allocations: 4.137 MB / 3.379 GB, free: 103.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004582/9.592, allocations: 0.8364 MB / 3.38 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0286/9.621, allocations: 6.547 MB / 3.386 GB, free: 96.47 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/9.621, allocations: 16 kB / 3.386 GB, free: 96.46 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/9.621, allocations: 0 / 3.386 GB, free: 96.46 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/9.621, allocations: 11.97 kB / 3.386 GB, free: 96.45 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05179/9.673, allocations: 16.06 MB / 3.402 GB, free: 80.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.06719/9.74, allocations: 6.189 MB / 3.408 GB, free: 74.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004232/9.745, allocations: 347.5 kB / 3.409 GB, free: 73.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.159/9.904, allocations: 7.818 MB / 3.416 GB, free: 65.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007949/9.904, allocations: 63.95 kB / 3.416 GB, free: 65.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/9.922, allocations: 6.367 MB / 3.422 GB, free: 59.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/9.922, allocations: 8 kB / 3.422 GB, free: 59.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07717/9.999, allocations: 7.384 MB / 3.43 GB, free: 51.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01316/10.01, allocations: 3.424 MB / 3.433 GB, free: 48.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005723/10.02, allocations: 36 kB / 3.433 GB, free: 48.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01744/10.04, allocations: 0.924 MB / 3.434 GB, free: 47.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000798/10.04, allocations: 111.1 kB / 3.434 GB, free: 47.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005773/10.04, allocations: 95.94 kB / 3.434 GB, free: 46.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.86/12.9, allocations: 0.9482 GB / 4.382 GB, free: 43.29 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.32e-07/12.9, allocations: 3.828 kB / 4.382 GB, free: 43.29 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.02066/12.92, allocations: 3.516 MB / 4.386 GB, free: 40.06 MB / 0.8542 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.04198/12.96, allocations: 7.693 MB / 4.393 GB, free: 33.24 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0454/13.01, allocations: 13.65 MB / 4.407 GB, free: 19.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.265e-05/13.01, allocations: 0 / 4.407 GB, free: 19.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.01506/13.02, allocations: 3.532 MB / 4.41 GB, free: 16.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/13.03, allocations: 0.8999 MB / 4.411 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6466/13.68, allocations: 49.99 MB / 4.46 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/13.69, allocations: 5.3 MB / 4.465 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.02205/13.71, allocations: 4.718 MB / 4.47 GB, free: 277 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01447/13.73, allocations: 4.559 MB / 4.474 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.793e-06/13.73, allocations: 0 / 4.474 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.558/15.29, allocations: 0.5419 GB / 5.016 GB, free: 72.32 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/15.29, allocations: 311 kB / 5.016 GB, free: 71.96 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/31.79, allocations: 0 / 5.016 GB, free: 71.96 MB / 0.8542 GB