Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01521/0.01521, allocations: 88.06 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001969/0.001968, allocations: 177.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.293/2.293, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.551/2.551, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004811/0.0004813, allocations: 11.34 kB / 0.6243 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.09023/0.3108, allocations: 50.6 MB / 0.7775 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.3366, allocations: 11.22 MB / 0.7884 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002756/0.3394, allocations: 55.62 kB / 0.7885 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004692/0.3442, allocations: 0.9174 MB / 0.7894 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009869/0.3541, allocations: 2.224 MB / 0.7916 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007371/0.3615, allocations: 1.614 MB / 0.7931 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006729/0.3683, allocations: 2.53 MB / 0.7956 GB, free: 4.824 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.3709, allocations: 0.9815 MB / 0.7966 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004063/0.375, allocations: 1.175 MB / 0.7977 GB, free: 2.641 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.3772, allocations: 0.7816 MB / 0.7985 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004047/0.3777, allocations: 56 kB / 0.7985 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004084/0.3818, allocations: 0.9088 MB / 0.7994 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007684/0.3826, allocations: 286.8 kB / 0.7997 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0009169/0.3835, allocations: 356.8 kB / 0.8 GB, free: 260 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004661/0.3882, allocations: 1.843 MB / 0.8018 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3883, allocations: 0 / 0.8018 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3883, allocations: 4 kB / 0.8018 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.679e-05/0.3884, allocations: 0 / 0.8018 GB, free: 14.4 MB / 0.6355 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.005778/0.3942, allocations: 1.874 MB / 0.8037 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.3943, allocations: 9.094 kB / 0.8037 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004592/0.3947, allocations: 143.7 kB / 0.8038 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006253/0.401, allocations: 0.6263 MB / 0.8044 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003808/0.4049, allocations: 1.229 MB / 0.8056 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002394/0.4052, allocations: 145.4 kB / 0.8058 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000299/0.4055, allocations: 100 kB / 0.8058 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.4108, allocations: 1.315 MB / 0.8071 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.373e-05/0.4109, allocations: 7.938 kB / 0.8071 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/0.4111, allocations: 40 kB / 0.8072 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/0.4112, allocations: 32 kB / 0.8072 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006956/0.4181, allocations: 1.37 MB / 0.8085 GB, free: 7.348 MB / 0.6355 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.01204/0.4302, allocations: 5.354 MB / 0.8138 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.4406, allocations: 1.513 MB / 0.8153 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/0.4421, allocations: 1.232 MB / 0.8165 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003315/0.4454, allocations: 0.6706 MB / 0.8171 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.638e-06/0.4455, allocations: 0 / 0.8171 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.009341/0.4548, allocations: 1.778 MB / 0.8188 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.4549, allocations: 59.97 kB / 0.8189 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.4575, allocations: 1.259 MB / 0.8201 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.4578, allocations: 41.7 kB / 0.8202 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008125/0.4586, allocations: 0.6579 MB / 0.8208 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/0.459, allocations: 236.6 kB / 0.821 GB, free: 9.828 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.4591, allocations: 12 kB / 0.8211 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4593, allocations: 334 kB / 0.8214 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002897/0.4622, allocations: 0.5484 MB / 0.8219 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003238/0.4655, allocations: 0.7703 MB / 0.8227 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003045/0.4686, allocations: 0.598 MB / 0.8232 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4686, allocations: 4 kB / 0.8232 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.006813/0.4754, allocations: 1.446 MB / 0.8247 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004869/0.476, allocations: 1.196 MB / 0.8258 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.476, allocations: 7.953 kB / 0.8258 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.438e-05/0.476, allocations: 8 kB / 0.8258 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.4785, allocations: 283.6 kB / 0.8261 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/0.4786, allocations: 11.92 kB / 0.8261 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/0.4815, allocations: 246.9 kB / 0.8264 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.4817, allocations: 35.98 kB / 0.8264 GB, free: 4.172 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4817, allocations: 4 kB / 0.8264 GB, free: 4.168 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00628/0.488, allocations: 1.298 MB / 0.8277 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.488, allocations: 7.938 kB / 0.8277 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4881, allocations: 8.312 kB / 0.8277 GB, free: 2.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/0.4905, allocations: 275.7 kB / 0.8279 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4905, allocations: 8 kB / 0.8279 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.4934, allocations: 231.2 kB / 0.8282 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/0.4936, allocations: 39.97 kB / 0.8282 GB, free: 2.301 MB / 0.6511 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.0009383/0.4945, allocations: 412.8 kB / 0.8286 GB, free: 1.887 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003963/0.4949, allocations: 146.2 kB / 0.8287 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009717/0.5046, allocations: 1.516 MB / 0.8302 GB, free: 212 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.936e-05/0.5047, allocations: 12 kB / 0.8302 GB, free: 200 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/0.5048, allocations: 7.984 kB / 0.8302 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009017/0.5138, allocations: 1.277 MB / 0.8315 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.5306, allocations: 3.237 MB / 0.8346 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/0.5307, allocations: 4 kB / 0.8347 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/0.5339, allocations: 236.2 kB / 0.8349 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.821e-05/0.5339, allocations: 4 kB / 0.8349 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.5342, allocations: 27.97 kB / 0.8349 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.399e-05/0.5342, allocations: 11.98 kB / 0.8349 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/0.5343, allocations: 11.94 kB / 0.8349 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.5503, allocations: 2.583 MB / 0.8375 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.552, allocations: 370.8 kB / 0.8378 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006018/0.5527, allocations: 20 kB / 0.8378 GB, free: 7.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004512/0.5572, allocations: 179.7 kB / 0.838 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004338/0.5577, allocations: 80.36 kB / 0.8381 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/0.558, allocations: 35.97 kB / 0.8381 GB, free: 7.664 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003326/0.5613, allocations: 0.8929 MB / 0.839 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.363e-06/0.5614, allocations: 0 / 0.839 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005319/0.5667, allocations: 0.7837 MB / 0.8397 GB, free: 5.988 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (73): * Single equations (assignments): 65 * 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.01833/0.5851, allocations: 4.693 MB / 0.8443 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.623/1.208, allocations: 2.065 MB / 0.8463 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.367e-05/1.208, allocations: 4.312 kB / 0.8464 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.01127/1.22, allocations: 0.712 MB / 0.847 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01493/1.235, allocations: 0.7245 MB / 0.8478 GB, free: 115.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/1.248, allocations: 5.754 MB / 0.8534 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/1.25, allocations: 1.259 MB / 0.8546 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004017/1.254, allocations: 363.8 kB / 0.8549 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002248/1.256, allocations: 0.5648 MB / 0.8555 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.533e-06/1.256, allocations: 0 / 0.8555 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.406, allocations: 41.58 MB / 0.8961 GB, free: 88.55 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/1.406, allocations: 217.1 kB / 0.8963 GB, free: 88.31 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.234/5.641, allocations: 0 / 0.8963 GB, free: 88.31 MB / 0.6667 GB