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.ElectricReformulatedEIR.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.ElectricReformulatedEIR,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.577/4.577, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.373e-05/2.37e-05, allocations: 3.781 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2353, allocations: 98.74 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.495, allocations: 400.4 MB / 1.02 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.495, allocations: 85.58 kB / 1.02 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.375/4.871, allocations: 0.5971 GB / 1.617 GB, free: 117.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.956e-06/4.871, allocations: 4 kB / 1.617 GB, free: 117.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.000282/4.871, allocations: 45.03 kB / 1.617 GB, free: 117.1 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.005756/4.877, allocations: 1.771 MB / 1.619 GB, free: 115.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.951e-05/4.877, allocations: 12.03 kB / 1.619 GB, free: 115.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006269/4.883, allocations: 0.6374 MB / 1.619 GB, free: 114.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005759/4.889, allocations: 1.649 MB / 1.621 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/4.889, allocations: 113.4 kB / 1.621 GB, free: 112.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/4.89, allocations: 60 kB / 1.621 GB, free: 112.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002639/4.892, allocations: 0.9177 MB / 1.622 GB, free: 111.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00245/4.895, allocations: 0.9831 MB / 1.623 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.548e-05/4.895, allocations: 3.938 kB / 1.623 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/4.895, allocations: 3.953 kB / 1.623 GB, free: 110.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/4.895, allocations: 24 kB / 1.623 GB, free: 110.9 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.01096/4.906, allocations: 5.2 MB / 1.628 GB, free: 105.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/4.908, allocations: 0.703 MB / 1.629 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/4.909, allocations: 418.4 kB / 1.629 GB, free: 104.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/4.91, allocations: 1.239 MB / 1.63 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/4.911, allocations: 0.5014 MB / 1.631 GB, free: 102.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 5.34e-06/4.911, allocations: 7.891 kB / 1.631 GB, free: 102.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.003199/4.915, allocations: 0.8915 MB / 1.632 GB, free: 101.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.181e-05/4.915, allocations: 111.4 kB / 1.632 GB, free: 101.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/4.917, allocations: 1.052 MB / 1.633 GB, free: 100.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002986/4.917, allocations: 29.7 kB / 1.633 GB, free: 100.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/4.918, allocations: 0.7008 MB / 1.634 GB, free: 99.39 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/4.919, allocations: 208.9 kB / 1.634 GB, free: 99.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/4.919, allocations: 0 / 1.634 GB, free: 99.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/4.919, allocations: 338 kB / 1.634 GB, free: 98.85 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007912/4.92, allocations: 341.5 kB / 1.635 GB, free: 98.52 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009771/4.921, allocations: 0.5868 MB / 1.635 GB, free: 97.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/4.922, allocations: 433.8 kB / 1.636 GB, free: 97.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/4.922, allocations: 0 / 1.636 GB, free: 97.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003391/4.926, allocations: 1.018 MB / 1.637 GB, free: 96.38 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002933/4.926, allocations: 1.202 MB / 1.638 GB, free: 95.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/4.926, allocations: 4 kB / 1.638 GB, free: 95.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/4.926, allocations: 8 kB / 1.638 GB, free: 95.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002448/4.929, allocations: 275.7 kB / 1.638 GB, free: 94.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/4.929, allocations: 4 kB / 1.638 GB, free: 94.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/4.932, allocations: 215.1 kB / 1.638 GB, free: 94.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/4.932, allocations: 51.97 kB / 1.638 GB, free: 94.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/4.932, allocations: 4 kB / 1.638 GB, free: 94.56 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002909/4.935, allocations: 0.8419 MB / 1.639 GB, free: 93.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/4.935, allocations: 4 kB / 1.639 GB, free: 93.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/4.935, allocations: 11.22 kB / 1.639 GB, free: 93.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/4.938, allocations: 279.5 kB / 1.639 GB, free: 93.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/4.938, allocations: 15.98 kB / 1.639 GB, free: 93.42 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/4.941, allocations: 195.3 kB / 1.64 GB, free: 93.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/4.941, allocations: 55.91 kB / 1.64 GB, free: 93.18 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.0003417/4.941, allocations: 124.7 kB / 1.64 GB, free: 93.05 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002978/4.944, allocations: 0.8837 MB / 1.641 GB, free: 92.16 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/4.945, allocations: 142.3 kB / 1.641 GB, free: 92.02 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/4.948, allocations: 1.063 MB / 1.642 GB, free: 90.94 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/4.948, allocations: 11.98 kB / 1.642 GB, free: 90.93 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/4.948, allocations: 4 kB / 1.642 GB, free: 90.92 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002396/4.951, allocations: 0.8999 MB / 1.643 GB, free: 89.99 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007422/4.958, allocations: 2.865 MB / 1.645 GB, free: 87.01 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/4.958, allocations: 4 kB / 1.645 GB, free: 87.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/4.96, allocations: 232.1 kB / 1.646 GB, free: 86.78 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.38e-05/4.96, allocations: 7.984 kB / 1.646 GB, free: 86.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/4.961, allocations: 26.23 kB / 1.646 GB, free: 86.75 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/4.961, allocations: 11.94 kB / 1.646 GB, free: 86.74 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/4.961, allocations: 4 kB / 1.646 GB, free: 86.73 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004604/4.965, allocations: 1.912 MB / 1.648 GB, free: 84.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/4.967, allocations: 468 kB / 1.648 GB, free: 84.16 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003666/4.967, allocations: 11.98 kB / 1.648 GB, free: 84.15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002565/4.97, allocations: 155.8 kB / 1.648 GB, free: 84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/4.97, allocations: 72.36 kB / 1.648 GB, free: 83.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/4.97, allocations: 39.97 kB / 1.648 GB, free: 83.89 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001631/4.972, allocations: 0.8016 MB / 1.649 GB, free: 83.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/4.972, allocations: 0 / 1.649 GB, free: 83.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003764/4.976, allocations: 0.8224 MB / 1.65 GB, free: 82.26 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.006521/4.982, allocations: 4.047 MB / 1.654 GB, free: 78.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003251/4.985, allocations: 1.408 MB / 1.655 GB, free: 76.77 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/4.985, allocations: 4 kB / 1.655 GB, free: 76.77 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/4.987, allocations: 470.8 kB / 1.656 GB, free: 76.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005591/4.992, allocations: 0.6379 MB / 1.656 GB, free: 75.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006912/4.999, allocations: 2.293 MB / 1.659 GB, free: 73.32 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008749/5, allocations: 1.278 MB / 1.66 GB, free: 72.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003746/5.004, allocations: 443.6 kB / 1.66 GB, free: 71.61 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/5.005, allocations: 0.5735 MB / 1.661 GB, free: 71.04 MB / 0.823 GB Notification: Performance of SimCode: time 1.673e-06/5.005, allocations: 0 / 1.661 GB, free: 71.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1301/5.135, allocations: 41.93 MB / 1.702 GB, free: 29.73 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/5.136, allocations: 184.2 kB / 1.702 GB, free: 29.53 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.717/9.853, allocations: 0 / 1.702 GB, free: 29.53 MB / 0.823 GB