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/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.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.468/4.468, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.262e-05/4.316e-05, allocations: 7.875 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.2511, allocations: 98.73 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.483/1.735, allocations: 401 MB / 1.026 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/1.735, allocations: 86.64 kB / 1.026 GB, free: 5.395 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.378/5.113, allocations: 0.6001 GB / 1.627 GB, free: 98.84 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.564e-06/5.113, allocations: 0 / 1.627 GB, free: 98.84 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003087/5.113, allocations: 43.98 kB / 1.627 GB, free: 98.8 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.007098/5.12, allocations: 1.755 MB / 1.628 GB, free: 96.99 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/5.121, allocations: 12.03 kB / 1.628 GB, free: 96.98 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005616/5.121, allocations: 143.7 kB / 1.628 GB, free: 96.83 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008922/5.13, allocations: 0.6245 MB / 1.629 GB, free: 96.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007263/5.137, allocations: 1.638 MB / 1.631 GB, free: 94.52 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/5.138, allocations: 149.4 kB / 1.631 GB, free: 94.37 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000372/5.138, allocations: 104 kB / 1.631 GB, free: 94.27 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/5.142, allocations: 1.085 MB / 1.632 GB, free: 93.14 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/5.142, allocations: 4 kB / 1.632 GB, free: 93.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/5.143, allocations: 47.98 kB / 1.632 GB, free: 93.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/5.143, allocations: 24 kB / 1.632 GB, free: 93.07 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/5.147, allocations: 0.9566 MB / 1.633 GB, free: 92.11 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.01437/5.161, allocations: 5.333 MB / 1.638 GB, free: 86.44 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/5.172, allocations: 1.117 MB / 1.639 GB, free: 85.31 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00171/5.174, allocations: 418.8 kB / 1.64 GB, free: 84.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/5.175, allocations: 1.248 MB / 1.641 GB, free: 83.38 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001729/5.177, allocations: 0.5064 MB / 1.641 GB, free: 82.85 MB / 0.823 GB Notification: Performance of pre-optimization done (n=63): time 4.979e-06/5.177, allocations: 4 kB / 1.641 GB, free: 82.85 MB / 0.823 GB Notification: Performance of matching and sorting (n=63): time 0.003604/5.181, allocations: 0.8522 MB / 1.642 GB, free: 81.99 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/5.181, allocations: 111.4 kB / 1.642 GB, free: 81.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/5.184, allocations: 1.137 MB / 1.643 GB, free: 80.71 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003472/5.185, allocations: 45.7 kB / 1.643 GB, free: 80.66 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009856/5.186, allocations: 0.6894 MB / 1.644 GB, free: 79.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/5.186, allocations: 220.8 kB / 1.644 GB, free: 79.75 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/5.186, allocations: 15.94 kB / 1.644 GB, free: 79.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001048/5.186, allocations: 334 kB / 1.645 GB, free: 79.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/5.188, allocations: 345.5 kB / 1.645 GB, free: 79.06 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/5.189, allocations: 0.5961 MB / 1.646 GB, free: 78.36 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009664/5.19, allocations: 406.7 kB / 1.646 GB, free: 77.96 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/5.19, allocations: 0 / 1.646 GB, free: 77.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00294/5.193, allocations: 1.023 MB / 1.647 GB, free: 76.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002852/5.193, allocations: 1.196 MB / 1.648 GB, free: 75.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/5.193, allocations: 8 kB / 1.648 GB, free: 75.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-05/5.193, allocations: 4 kB / 1.648 GB, free: 75.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/5.196, allocations: 275.7 kB / 1.648 GB, free: 75.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.513e-05/5.196, allocations: 8 kB / 1.648 GB, free: 75.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/5.199, allocations: 239 kB / 1.649 GB, free: 75.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/5.2, allocations: 51.97 kB / 1.649 GB, free: 75.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/5.2, allocations: 0 / 1.649 GB, free: 75.04 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002358/5.202, allocations: 0.8708 MB / 1.65 GB, free: 74.16 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/5.202, allocations: 4 kB / 1.65 GB, free: 74.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/5.202, allocations: 11.95 kB / 1.65 GB, free: 74.15 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/5.205, allocations: 271.7 kB / 1.65 GB, free: 73.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.999e-05/5.205, allocations: 10.73 kB / 1.65 GB, free: 73.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/5.208, allocations: 231.1 kB / 1.65 GB, free: 73.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/5.208, allocations: 51.97 kB / 1.65 GB, free: 73.6 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.0003695/5.209, allocations: 144.8 kB / 1.65 GB, free: 73.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/5.209, allocations: 146.2 kB / 1.65 GB, free: 73.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/5.212, allocations: 1.055 MB / 1.651 GB, free: 72.24 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/5.212, allocations: 11.95 kB / 1.651 GB, free: 72.23 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/5.212, allocations: 4 kB / 1.651 GB, free: 72.22 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001993/5.214, allocations: 0.8726 MB / 1.652 GB, free: 71.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/5.222, allocations: 2.945 MB / 1.655 GB, free: 68.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/5.222, allocations: 4 kB / 1.655 GB, free: 68.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002192/5.224, allocations: 232.1 kB / 1.655 GB, free: 68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.691e-05/5.224, allocations: 8 kB / 1.655 GB, free: 68 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/5.224, allocations: 27.98 kB / 1.655 GB, free: 67.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/5.224, allocations: 19.88 kB / 1.655 GB, free: 67.95 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/5.224, allocations: 7.938 kB / 1.655 GB, free: 67.94 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/5.228, allocations: 1.914 MB / 1.657 GB, free: 65.82 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001275/5.229, allocations: 463.9 kB / 1.658 GB, free: 65.33 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/5.23, allocations: 19 kB / 1.658 GB, free: 65.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002768/5.233, allocations: 183.7 kB / 1.658 GB, free: 65.14 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/5.233, allocations: 68.36 kB / 1.658 GB, free: 65.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/5.233, allocations: 39.97 kB / 1.658 GB, free: 65.03 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001881/5.235, allocations: 0.9078 MB / 1.659 GB, free: 64.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.21e-07/5.235, allocations: 4 kB / 1.659 GB, free: 64.12 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003445/5.238, allocations: 0.8538 MB / 1.66 GB, free: 63.27 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.005914/5.244, allocations: 4.015 MB / 1.664 GB, free: 59.17 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003569/5.248, allocations: 1.446 MB / 1.665 GB, free: 57.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/5.248, allocations: 4 kB / 1.665 GB, free: 57.69 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/5.249, allocations: 485.1 kB / 1.666 GB, free: 57.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007005/5.256, allocations: 0.7483 MB / 1.666 GB, free: 56.49 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007232/5.264, allocations: 2.317 MB / 1.669 GB, free: 54.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007991/5.265, allocations: 1.26 MB / 1.67 GB, free: 52.81 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00369/5.268, allocations: 461.1 kB / 1.67 GB, free: 52.39 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/5.27, allocations: 0.5578 MB / 1.671 GB, free: 51.83 MB / 0.823 GB Notification: Performance of SimCode: time 1.262e-06/5.27, allocations: 0 / 1.671 GB, free: 51.83 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/5.394, allocations: 50.08 MB / 1.72 GB, free: 2.215 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003206/5.394, allocations: 188.1 kB / 1.72 GB, free: 1.992 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.972/10.37, allocations: 0 / 1.72 GB, free: 1.992 MB / 0.823 GB