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.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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.01062/0.01062, allocations: 88.98 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.001156/0.001156, allocations: 175.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.167/2.167, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.748/2.748, allocations: 252.9 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007647/0.0007648, allocations: 16.31 kB / 0.6243 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3163, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR): time 0.1248/0.4412, allocations: 50.6 MB / 0.7775 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03932/0.4806, allocations: 11.25 MB / 0.7885 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.484, allocations: 51.62 kB / 0.7885 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.006988/0.4911, allocations: 0.9291 MB / 0.7894 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01451/0.5057, allocations: 2.216 MB / 0.7916 GB, free: 8.938 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.516, allocations: 1.629 MB / 0.7932 GB, free: 7.305 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007463/0.5235, allocations: 2.53 MB / 0.7957 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002615/0.5262, allocations: 0.9815 MB / 0.7966 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004354/0.5306, allocations: 1.172 MB / 0.7978 GB, free: 2.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.5331, allocations: 0.7894 MB / 0.7985 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000624/0.5337, allocations: 56 kB / 0.7986 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.5381, allocations: 0.9323 MB / 0.7995 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008811/0.539, allocations: 298.7 kB / 0.7998 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008565/0.5399, allocations: 356.8 kB / 0.8001 GB, free: 164 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004934/0.5449, allocations: 1.874 MB / 0.8019 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.545, allocations: 0 / 0.8019 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.576e-06/0.545, allocations: 0 / 0.8019 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.837e-05/0.5451, allocations: 3.938 kB / 0.8019 GB, free: 14.28 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.005904/0.551, allocations: 1.894 MB / 0.8038 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.551, allocations: 9.094 kB / 0.8038 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004305/0.5515, allocations: 143.7 kB / 0.8039 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00627/0.5578, allocations: 0.6417 MB / 0.8046 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.5615, allocations: 1.23 MB / 0.8058 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002552/0.5618, allocations: 145.4 kB / 0.8059 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.5622, allocations: 103.9 kB / 0.806 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/0.5675, allocations: 1.326 MB / 0.8073 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.68e-05/0.5676, allocations: 3.938 kB / 0.8073 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.5678, allocations: 40 kB / 0.8073 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.738e-05/0.5678, allocations: 27.98 kB / 0.8074 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007127/0.575, allocations: 1.378 MB / 0.8087 GB, free: 7.172 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.0122/0.5872, allocations: 5.375 MB / 0.814 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004922/0.5922, allocations: 1.124 MB / 0.8151 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/0.5936, allocations: 1.228 MB / 0.8163 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003355/0.597, allocations: 0.6823 MB / 0.8169 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=69): time 4.929e-06/0.5971, allocations: 0 / 0.8169 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69): time 0.009653/0.6067, allocations: 1.793 MB / 0.8187 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.6069, allocations: 59.97 kB / 0.8187 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.6099, allocations: 1.308 MB / 0.82 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002486/0.6102, allocations: 45.64 kB / 0.8201 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009366/0.6111, allocations: 0.67 MB / 0.8207 GB, free: 10.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004603/0.6116, allocations: 232.6 kB / 0.8209 GB, free: 9.934 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.395e-05/0.6117, allocations: 16 kB / 0.821 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6119, allocations: 334 kB / 0.8213 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/0.615, allocations: 0.5524 MB / 0.8218 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003408/0.6185, allocations: 0.782 MB / 0.8226 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.6217, allocations: 0.598 MB / 0.8232 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.6217, allocations: 0 / 0.8232 GB, free: 7.566 MB / 0.6511 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.007358/0.6291, allocations: 1.465 MB / 0.8246 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007076/0.6298, allocations: 1.203 MB / 0.8258 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.6299, allocations: 7.953 kB / 0.8258 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/0.6299, allocations: 8 kB / 0.8258 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/0.6326, allocations: 275.7 kB / 0.826 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.6327, allocations: 11.94 kB / 0.8261 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003099/0.6358, allocations: 242.9 kB / 0.8263 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.6361, allocations: 43.97 kB / 0.8263 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6361, allocations: 7.938 kB / 0.8263 GB, free: 4.184 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006835/0.643, allocations: 1.313 MB / 0.8276 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.643, allocations: 0 / 0.8276 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.6431, allocations: 8 kB / 0.8276 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/0.6457, allocations: 279.9 kB / 0.8279 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/0.6457, allocations: 8 kB / 0.8279 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/0.6487, allocations: 235.1 kB / 0.8281 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/0.649, allocations: 35.98 kB / 0.8282 GB, free: 2.305 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.001112/0.6501, allocations: 424.8 kB / 0.8286 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/0.6506, allocations: 150.1 kB / 0.8287 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008102/0.6587, allocations: 1.532 MB / 0.8302 GB, free: 184 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.6588, allocations: 8 kB / 0.8302 GB, free: 176 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/0.6588, allocations: 4 kB / 0.8302 GB, free: 172 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006454/0.6653, allocations: 1.292 MB / 0.8315 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.6772, allocations: 3.269 MB / 0.8347 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.6772, allocations: 4 kB / 0.8347 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/0.6795, allocations: 240 kB / 0.8349 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.461e-05/0.6795, allocations: 8 kB / 0.8349 GB, free: 11.17 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6796, allocations: 23.98 kB / 0.8349 GB, free: 11.15 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.6796, allocations: 4 kB / 0.8349 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.6797, allocations: 11.94 kB / 0.8349 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/0.6903, allocations: 2.616 MB / 0.8375 GB, free: 8.266 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.6915, allocations: 374.7 kB / 0.8379 GB, free: 7.879 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.6919, allocations: 24 kB / 0.8379 GB, free: 7.855 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002783/0.6947, allocations: 179.8 kB / 0.8381 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.695, allocations: 68.38 kB / 0.8381 GB, free: 7.613 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.6951, allocations: 35.97 kB / 0.8382 GB, free: 7.578 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00218/0.6973, allocations: 0.9332 MB / 0.8391 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6973, allocations: 0 / 0.8391 GB, free: 6.648 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003265/0.7006, allocations: 0.7954 MB / 0.8398 GB, free: 5.852 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.0129/0.7136, allocations: 4.728 MB / 0.8445 GB, free: 0.9805 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.5777/1.291, allocations: 2.087 MB / 0.8465 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/1.291, allocations: 0.8438 kB / 0.8465 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/1.295, allocations: 0.713 MB / 0.8472 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006778/1.302, allocations: 0.7377 MB / 0.8479 GB, free: 116 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.313, allocations: 5.857 MB / 0.8536 GB, free: 112.3 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009748/1.314, allocations: 1.271 MB / 0.8549 GB, free: 111.6 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003232/1.318, allocations: 350.6 kB / 0.8552 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/1.32, allocations: 0.5822 MB / 0.8558 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of SimCode: time 1.573e-06/1.32, allocations: 0 / 0.8558 GB, free: 111.5 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/1.458, allocations: 42.15 MB / 0.8969 GB, free: 87.81 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/1.459, allocations: 230.9 kB / 0.8972 GB, free: 87.57 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.437/5.896, allocations: 0 / 0.8972 GB, free: 87.57 MB / 0.6667 GB