Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.01594/0.01594, allocations: 108.5 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.001857/0.001857, allocations: 181.4 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.181/2.181, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.439/2.439, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7337, allocations: 98.72 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.08885/0.8227, allocations: 50.06 MB / 0.7323 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02632/0.849, allocations: 11.18 MB / 0.7432 GB, free: 1.023 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.8524, allocations: 55.56 kB / 0.7433 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.8573, allocations: 0.9214 MB / 0.7442 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.8689, allocations: 2.228 MB / 0.7464 GB, free: 13.81 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.007669/0.8766, allocations: 1.509 MB / 0.7478 GB, free: 12.3 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.007325/0.884, allocations: 2.581 MB / 0.7504 GB, free: 9.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.8865, allocations: 0.9932 MB / 0.7513 GB, free: 8.699 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.8907, allocations: 1.183 MB / 0.7525 GB, free: 7.512 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.8929, allocations: 0.7894 MB / 0.7533 GB, free: 6.719 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0005166/0.8935, allocations: 56 kB / 0.7533 GB, free: 6.664 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004259/0.8978, allocations: 0.901 MB / 0.7542 GB, free: 5.762 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007472/0.8986, allocations: 278.8 kB / 0.7545 GB, free: 5.488 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0008391/0.8994, allocations: 360.8 kB / 0.7548 GB, free: 5.129 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.9041, allocations: 1.833 MB / 0.7566 GB, free: 3.293 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.9041, allocations: 3.938 kB / 0.7566 GB, free: 3.289 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.016e-06/0.9041, allocations: 0 / 0.7566 GB, free: 3.289 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.866e-05/0.9042, allocations: 0 / 0.7566 GB, free: 3.289 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005893/0.9101, allocations: 1.863 MB / 0.7584 GB, free: 1.359 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.9102, allocations: 8.031 kB / 0.7584 GB, free: 1.352 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004869/0.9107, allocations: 147.7 kB / 0.7586 GB, free: 1.199 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.917, allocations: 0.634 MB / 0.7592 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/0.9209, allocations: 1.233 MB / 0.7604 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.9212, allocations: 145.4 kB / 0.7605 GB, free: 15.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.9216, allocations: 96 kB / 0.7606 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/0.927, allocations: 1.323 MB / 0.7619 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.9271, allocations: 4 kB / 0.7619 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.9273, allocations: 39.98 kB / 0.7619 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.868e-05/0.9273, allocations: 24 kB / 0.762 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007113/0.9345, allocations: 1.362 MB / 0.7633 GB, free: 12.25 MB / 0.5886 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.01322/0.9478, allocations: 5.335 MB / 0.7685 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0109/0.9587, allocations: 1.379 MB / 0.7699 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.9602, allocations: 1.232 MB / 0.7711 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003447/0.9637, allocations: 0.6593 MB / 0.7717 GB, free: 2.992 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=65): time 5.24e-06/0.9638, allocations: 3.938 kB / 0.7717 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65): time 0.009742/0.9735, allocations: 1.731 MB / 0.7734 GB, free: 1.25 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.9736, allocations: 63.95 kB / 0.7735 GB, free: 1.172 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.9765, allocations: 1.263 MB / 0.7747 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.9768, allocations: 41.7 kB / 0.7747 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009189/0.9778, allocations: 0.6734 MB / 0.7754 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/0.9782, allocations: 224.6 kB / 0.7756 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.9783, allocations: 20 kB / 0.7756 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.9786, allocations: 341.9 kB / 0.7759 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003022/0.9816, allocations: 0.5406 MB / 0.7765 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.985, allocations: 0.7703 MB / 0.7772 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003121/0.9881, allocations: 0.5902 MB / 0.7778 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.9882, allocations: 0 / 0.7778 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007365/0.9956, allocations: 1.446 MB / 0.7792 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007151/0.9963, allocations: 1.198 MB / 0.7804 GB, free: 9.824 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.9964, allocations: 4 kB / 0.7804 GB, free: 9.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.621e-05/0.9964, allocations: 8 kB / 0.7804 GB, free: 9.812 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/0.9992, allocations: 283.5 kB / 0.7807 GB, free: 9.535 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.847e-05/0.9993, allocations: 4 kB / 0.7807 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/1.002, allocations: 250.9 kB / 0.7809 GB, free: 9.285 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002645/1.003, allocations: 39.97 kB / 0.7809 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/1.003, allocations: 4 kB / 0.781 GB, free: 9.242 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00674/1.009, allocations: 1.298 MB / 0.7822 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.009, allocations: 8.062 kB / 0.7822 GB, free: 7.926 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.01, allocations: 4 kB / 0.7822 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/1.012, allocations: 275.7 kB / 0.7825 GB, free: 7.652 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.514e-05/1.012, allocations: 7.938 kB / 0.7825 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/1.015, allocations: 243 kB / 0.7827 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/1.016, allocations: 43.97 kB / 0.7828 GB, free: 7.363 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001146/1.017, allocations: 408.8 kB / 0.7832 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004898/1.017, allocations: 146.2 kB / 0.7833 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007353/1.025, allocations: 1.477 MB / 0.7847 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/1.025, allocations: 8 kB / 0.7848 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.025, allocations: 0 / 0.7848 GB, free: 5.309 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006365/1.031, allocations: 1.253 MB / 0.786 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.043, allocations: 3.125 MB / 0.789 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.043, allocations: 0 / 0.789 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002276/1.046, allocations: 232.1 kB / 0.7893 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.038e-05/1.046, allocations: 4 kB / 0.7893 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001659/1.046, allocations: 27.97 kB / 0.7893 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-05/1.046, allocations: 8 kB / 0.7893 GB, free: 500 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/1.046, allocations: 7.938 kB / 0.7893 GB, free: 492 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.056, allocations: 2.465 MB / 0.7917 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/1.058, allocations: 362.9 kB / 0.7921 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004065/1.058, allocations: 16 kB / 0.7921 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.061, allocations: 179.7 kB / 0.7922 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/1.061, allocations: 72.38 kB / 0.7923 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.061, allocations: 31.97 kB / 0.7923 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002208/1.064, allocations: 0.9088 MB / 0.7932 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.01e-07/1.064, allocations: 0 / 0.7932 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003603/1.067, allocations: 0.7798 MB / 0.794 GB, free: 11.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01448/1.082, allocations: 4.32 MB / 0.7982 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.092, allocations: 2.069 MB / 0.8002 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/1.092, allocations: 0 / 0.8002 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/1.096, allocations: 0.6794 MB / 0.8009 GB, free: 4.246 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006739/1.103, allocations: 0.7348 MB / 0.8016 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/1.115, allocations: 5.71 MB / 0.8072 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.116, allocations: 1.261 MB / 0.8084 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.003019/1.119, allocations: 343 kB / 0.8087 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/1.121, allocations: 0.5773 MB / 0.8093 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of SimCode: time 1.173e-06/1.121, allocations: 0 / 0.8093 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/1.311, allocations: 41.59 MB / 0.8499 GB, free: 2.371 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/1.311, allocations: 220.4 kB / 0.8501 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.505/5.816, allocations: 0 / 0.8501 GB, free: 2.129 MB / 0.6667 GB