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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.384/4.384, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.117e-05/2.117e-05, allocations: 4.094 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.221, allocations: 98.74 MB / 0.6289 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.23/1.451, allocations: 400.4 MB / 1.02 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003975/1.451, allocations: 86.33 kB / 1.02 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.306/4.757, allocations: 0.5965 GB / 1.616 GB, free: 117.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.214e-06/4.757, allocations: 2.625 kB / 1.616 GB, free: 117.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002323/4.757, allocations: 47.67 kB / 1.617 GB, free: 117.7 MB / 0.823 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.005511/4.763, allocations: 1.751 MB / 1.618 GB, free: 115.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/4.763, allocations: 14.09 kB / 1.618 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/4.769, allocations: 0.6241 MB / 1.619 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/4.775, allocations: 1.637 MB / 1.62 GB, free: 113.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/4.775, allocations: 109.4 kB / 1.621 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003165/4.775, allocations: 60 kB / 1.621 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002727/4.778, allocations: 0.906 MB / 1.621 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/4.781, allocations: 0.9675 MB / 1.622 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/4.781, allocations: 0 / 1.622 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/4.781, allocations: 7.953 kB / 1.622 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.572e-05/4.781, allocations: 20 kB / 1.622 GB, free: 111.5 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.0105/4.792, allocations: 5.146 MB / 1.627 GB, free: 106.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008149/4.8, allocations: 1.101 MB / 1.629 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/4.801, allocations: 404.6 kB / 1.629 GB, free: 104.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/4.802, allocations: 1.247 MB / 1.63 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/4.803, allocations: 497.4 kB / 1.631 GB, free: 102.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 3.647e-06/4.803, allocations: 0 / 1.631 GB, free: 102.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.002964/4.806, allocations: 0.8487 MB / 1.631 GB, free: 101.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/4.806, allocations: 117.7 kB / 1.632 GB, free: 101.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001978/4.808, allocations: 1.007 MB / 1.633 GB, free: 100.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002442/4.808, allocations: 29.7 kB / 1.633 GB, free: 100.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007117/4.809, allocations: 0.6848 MB / 1.633 GB, free: 99.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/4.809, allocations: 212.9 kB / 1.633 GB, free: 99.62 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/4.81, allocations: 0 / 1.633 GB, free: 99.62 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/4.81, allocations: 334 kB / 1.634 GB, free: 99.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007745/4.81, allocations: 329.5 kB / 1.634 GB, free: 98.97 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009498/4.811, allocations: 0.5829 MB / 1.635 GB, free: 98.29 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/4.813, allocations: 394 kB / 1.635 GB, free: 97.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/4.813, allocations: 4 kB / 1.635 GB, free: 97.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003001/4.816, allocations: 0.9825 MB / 1.636 GB, free: 96.91 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003053/4.816, allocations: 1.198 MB / 1.637 GB, free: 95.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/4.816, allocations: 3.875 kB / 1.637 GB, free: 95.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/4.816, allocations: 8 kB / 1.637 GB, free: 95.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/4.819, allocations: 275.7 kB / 1.637 GB, free: 95.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/4.819, allocations: 11.94 kB / 1.637 GB, free: 95.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003023/4.822, allocations: 209.7 kB / 1.638 GB, free: 95.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/4.822, allocations: 51.91 kB / 1.638 GB, free: 95.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/4.822, allocations: 4.625 kB / 1.638 GB, free: 95.09 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002608/4.825, allocations: 0.8067 MB / 1.639 GB, free: 94.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/4.825, allocations: 4 kB / 1.639 GB, free: 94.28 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/4.825, allocations: 8 kB / 1.639 GB, free: 94.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/4.827, allocations: 280 kB / 1.639 GB, free: 94 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/4.827, allocations: 4 kB / 1.639 GB, free: 94 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/4.83, allocations: 199.2 kB / 1.639 GB, free: 93.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/4.83, allocations: 47.98 kB / 1.639 GB, free: 93.75 MB / 0.823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.0003267/4.831, allocations: 132.7 kB / 1.639 GB, free: 93.62 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002748/4.833, allocations: 0.8409 MB / 1.64 GB, free: 92.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/4.834, allocations: 142.3 kB / 1.64 GB, free: 92.63 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/4.837, allocations: 1.008 MB / 1.641 GB, free: 91.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/4.837, allocations: 11.98 kB / 1.641 GB, free: 91.59 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/4.837, allocations: 4 kB / 1.641 GB, free: 91.59 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002186/4.839, allocations: 0.8686 MB / 1.642 GB, free: 90.69 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/4.846, allocations: 2.79 MB / 1.645 GB, free: 87.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/4.847, allocations: 8.062 kB / 1.645 GB, free: 87.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/4.849, allocations: 231.7 kB / 1.645 GB, free: 87.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/4.849, allocations: 12 kB / 1.645 GB, free: 87.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/4.849, allocations: 22.5 kB / 1.645 GB, free: 87.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/4.849, allocations: 15.92 kB / 1.645 GB, free: 87.51 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/4.849, allocations: 4 kB / 1.645 GB, free: 87.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/4.853, allocations: 1.854 MB / 1.647 GB, free: 85.48 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/4.854, allocations: 444.1 kB / 1.647 GB, free: 85.01 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/4.855, allocations: 8 kB / 1.647 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/4.857, allocations: 167.7 kB / 1.647 GB, free: 84.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/4.857, allocations: 72.36 kB / 1.647 GB, free: 84.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/4.857, allocations: 39.98 kB / 1.647 GB, free: 84.73 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001492/4.859, allocations: 0.7652 MB / 1.648 GB, free: 83.96 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.41e-07/4.859, allocations: 0 / 1.648 GB, free: 83.96 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003699/4.863, allocations: 0.8145 MB / 1.649 GB, free: 83.15 MB / 0.823 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) * 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.006292/4.869, allocations: 3.981 MB / 1.653 GB, free: 79.14 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00332/4.872, allocations: 1.387 MB / 1.654 GB, free: 77.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/4.872, allocations: 4 kB / 1.654 GB, free: 77.72 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/4.874, allocations: 467.9 kB / 1.655 GB, free: 77.27 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005696/4.879, allocations: 0.6267 MB / 1.655 GB, free: 76.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006662/4.886, allocations: 2.229 MB / 1.657 GB, free: 74.36 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/4.887, allocations: 1.259 MB / 1.659 GB, free: 73.07 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003547/4.891, allocations: 432.8 kB / 1.659 GB, free: 72.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/4.892, allocations: 0.5539 MB / 1.66 GB, free: 72.12 MB / 0.823 GB Notification: Performance of SimCode: time 2.174e-06/4.892, allocations: 0 / 1.66 GB, free: 72.12 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/5.035, allocations: 41.27 MB / 1.7 GB, free: 31.49 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/5.035, allocations: 162.9 kB / 1.7 GB, free: 31.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.633/9.668, allocations: 0 / 1.7 GB, free: 31.3 MB / 0.823 GB