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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.56/4.56, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.528e-05, allocations: 3.547 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2253, allocations: 98.74 MB / 0.6347 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.448, allocations: 401 MB / 1.026 GB, free: 5.512 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003571/1.448, allocations: 89.53 kB / 1.026 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.323/4.771, allocations: 0.6007 GB / 1.627 GB, free: 98.22 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/4.771, allocations: 0 / 1.627 GB, free: 98.22 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002372/4.771, allocations: 43.98 kB / 1.627 GB, free: 98.18 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.005552/4.777, allocations: 1.775 MB / 1.629 GB, free: 96.35 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/4.777, allocations: 8.031 kB / 1.629 GB, free: 96.34 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004345/4.777, allocations: 143.7 kB / 1.629 GB, free: 96.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/4.783, allocations: 0.6339 MB / 1.63 GB, free: 95.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005756/4.789, allocations: 1.66 MB / 1.631 GB, free: 93.86 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/4.79, allocations: 149.3 kB / 1.631 GB, free: 93.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/4.79, allocations: 104 kB / 1.632 GB, free: 93.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/4.793, allocations: 1.1 MB / 1.633 GB, free: 92.46 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/4.793, allocations: 4 kB / 1.633 GB, free: 92.46 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/4.793, allocations: 36 kB / 1.633 GB, free: 92.43 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.573e-05/4.793, allocations: 28 kB / 1.633 GB, free: 92.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002844/4.796, allocations: 0.9722 MB / 1.634 GB, free: 91.43 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.01181/4.808, allocations: 5.389 MB / 1.639 GB, free: 85.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/4.81, allocations: 0.7262 MB / 1.64 GB, free: 84.97 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/4.812, allocations: 432.5 kB / 1.64 GB, free: 84.55 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/4.813, allocations: 1.247 MB / 1.641 GB, free: 83.03 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/4.814, allocations: 0.5142 MB / 1.642 GB, free: 82.49 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 3.657e-06/4.814, allocations: 4 kB / 1.642 GB, free: 82.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.002769/4.817, allocations: 0.8721 MB / 1.643 GB, free: 81.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/4.817, allocations: 115.4 kB / 1.643 GB, free: 81.47 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002521/4.819, allocations: 1.187 MB / 1.644 GB, free: 80.28 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003208/4.82, allocations: 49.69 kB / 1.644 GB, free: 80.22 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008048/4.821, allocations: 0.6963 MB / 1.645 GB, free: 79.52 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003961/4.821, allocations: 216.9 kB / 1.645 GB, free: 79.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-05/4.821, allocations: 16.06 kB / 1.645 GB, free: 79.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.338e-05/4.821, allocations: 338 kB / 1.645 GB, free: 78.95 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009309/4.822, allocations: 349.5 kB / 1.645 GB, free: 78.61 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/4.823, allocations: 0.6078 MB / 1.646 GB, free: 77.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/4.824, allocations: 414.7 kB / 1.646 GB, free: 77.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/4.824, allocations: 0 / 1.646 GB, free: 77.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002969/4.827, allocations: 1.05 MB / 1.647 GB, free: 76.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003182/4.828, allocations: 1.199 MB / 1.649 GB, free: 75.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/4.828, allocations: 8 kB / 1.649 GB, free: 75.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.418e-05/4.828, allocations: 8 kB / 1.649 GB, free: 75.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/4.83, allocations: 275.7 kB / 1.649 GB, free: 74.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.326e-05/4.83, allocations: 4 kB / 1.649 GB, free: 74.82 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/4.834, allocations: 235 kB / 1.649 GB, free: 74.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/4.834, allocations: 51.97 kB / 1.649 GB, free: 74.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/4.834, allocations: 7.938 kB / 1.649 GB, free: 74.54 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/4.837, allocations: 0.8867 MB / 1.65 GB, free: 73.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/4.837, allocations: 4 kB / 1.65 GB, free: 73.64 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/4.837, allocations: 11.95 kB / 1.65 GB, free: 73.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/4.839, allocations: 282.6 kB / 1.65 GB, free: 73.36 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.802e-05/4.839, allocations: 4 kB / 1.65 GB, free: 73.35 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/4.842, allocations: 231.1 kB / 1.651 GB, free: 73.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/4.843, allocations: 47.97 kB / 1.651 GB, free: 73.08 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.0003436/4.843, allocations: 148.9 kB / 1.651 GB, free: 72.93 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004698/4.843, allocations: 146.2 kB / 1.651 GB, free: 72.78 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003154/4.847, allocations: 1.092 MB / 1.652 GB, free: 71.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/4.847, allocations: 11.95 kB / 1.652 GB, free: 71.67 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/4.847, allocations: 0 / 1.652 GB, free: 71.67 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002043/4.849, allocations: 0.8961 MB / 1.653 GB, free: 70.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008441/4.857, allocations: 3.005 MB / 1.656 GB, free: 67.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/4.857, allocations: 7.938 kB / 1.656 GB, free: 67.59 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002752/4.86, allocations: 236.1 kB / 1.656 GB, free: 67.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.005e-05/4.86, allocations: 4 kB / 1.656 GB, free: 67.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/4.86, allocations: 23.98 kB / 1.656 GB, free: 67.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.718e-05/4.86, allocations: 19.88 kB / 1.656 GB, free: 67.31 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/4.86, allocations: 7.938 kB / 1.656 GB, free: 67.3 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005396/4.866, allocations: 1.969 MB / 1.658 GB, free: 65.14 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/4.868, allocations: 466.5 kB / 1.658 GB, free: 64.64 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007447/4.868, allocations: 20 kB / 1.658 GB, free: 64.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004249/4.873, allocations: 183.7 kB / 1.659 GB, free: 64.45 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/4.873, allocations: 68.38 kB / 1.659 GB, free: 64.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/4.873, allocations: 39.97 kB / 1.659 GB, free: 64.34 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.00284/4.876, allocations: 0.9483 MB / 1.66 GB, free: 63.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.81e-07/4.876, allocations: 4 kB / 1.66 GB, free: 63.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004582/4.881, allocations: 0.8577 MB / 1.661 GB, free: 62.53 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.00805/4.889, allocations: 4.056 MB / 1.664 GB, free: 58.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004787/4.894, allocations: 1.468 MB / 1.666 GB, free: 56.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/4.894, allocations: 4 kB / 1.666 GB, free: 56.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/4.896, allocations: 490.9 kB / 1.666 GB, free: 56.42 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008788/4.904, allocations: 0.7549 MB / 1.667 GB, free: 55.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009122/4.914, allocations: 2.382 MB / 1.669 GB, free: 53.22 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/4.915, allocations: 1.28 MB / 1.671 GB, free: 51.91 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00506/4.92, allocations: 475.6 kB / 1.671 GB, free: 51.45 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001656/4.922, allocations: 0.5657 MB / 1.672 GB, free: 50.89 MB / 0.823 GB Notification: Performance of SimCode: time 1.352e-06/4.922, allocations: 0 / 1.672 GB, free: 50.89 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/5.066, allocations: 50.78 MB / 1.721 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002484/5.066, allocations: 208.8 kB / 1.721 GB, free: 352 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.955/10.02, allocations: 0 / 1.721 GB, free: 352 kB / 0.823 GB