Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.415/2.415, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 175.5 kB / 325.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.278/2.278, allocations: 205.4 MB / 0.5764 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 97.8 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004773, allocations: 9.844 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2198, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.48/7.7, allocations: 2.195 GB / 3.094 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/7.7, allocations: 92.28 kB / 3.094 GB, free: 246.7 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.215/9.915, allocations: 469.8 MB / 3.553 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.655e-06/9.915, allocations: 0 / 3.553 GB, free: 217.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.798e-05/9.915, allocations: 22.95 kB / 3.553 GB, free: 217.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.003094/9.918, allocations: 1.093 MB / 3.554 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/9.918, allocations: 8.031 kB / 3.554 GB, free: 216.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/9.919, allocations: 94.3 kB / 3.554 GB, free: 216.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001962/9.921, allocations: 206.3 kB / 3.554 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/9.922, allocations: 0.6281 MB / 3.555 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/9.923, allocations: 37 kB / 3.555 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/9.923, allocations: 48 kB / 3.555 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/9.924, allocations: 486.4 kB / 3.556 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/9.924, allocations: 4 kB / 3.556 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/9.924, allocations: 23 kB / 3.556 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/9.924, allocations: 20.94 kB / 3.556 GB, free: 215.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/9.925, allocations: 421.8 kB / 3.556 GB, free: 214.9 MB / 0.8855 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.004046/9.93, allocations: 2.025 MB / 3.558 GB, free: 212.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007922/9.93, allocations: 326.5 kB / 3.558 GB, free: 212.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/9.931, allocations: 198.2 kB / 3.559 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/9.931, allocations: 38.84 kB / 3.559 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 3.807e-06/9.931, allocations: 0 / 3.559 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.002007/9.933, allocations: 0.539 MB / 3.559 GB, free: 211.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/9.933, allocations: 55.41 kB / 3.559 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007904/9.934, allocations: 453.8 kB / 3.56 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/9.934, allocations: 41.42 kB / 3.56 GB, free: 211 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/9.934, allocations: 300.2 kB / 3.56 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/9.934, allocations: 121.1 kB / 3.56 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/9.934, allocations: 8 kB / 3.56 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001177/9.934, allocations: 362.8 kB / 3.56 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/9.935, allocations: 128.6 kB / 3.561 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/9.935, allocations: 233.7 kB / 3.561 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/9.936, allocations: 159.8 kB / 3.561 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/9.936, allocations: 96 / 3.561 GB, free: 209.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001174/9.937, allocations: 430.7 kB / 3.561 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/9.937, allocations: 375.5 kB / 3.562 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/9.937, allocations: 0 / 3.562 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.554e-05/9.937, allocations: 4 kB / 3.562 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/9.938, allocations: 67.91 kB / 3.562 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/9.938, allocations: 4 kB / 3.562 GB, free: 208.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/9.939, allocations: 67.17 kB / 3.562 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/9.939, allocations: 12 kB / 3.562 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/9.939, allocations: 3.953 kB / 3.562 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009724/9.94, allocations: 347 kB / 3.562 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.259e-06/9.94, allocations: 0 / 3.562 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/9.94, allocations: 7.312 kB / 3.562 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/9.941, allocations: 71.89 kB / 3.562 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/9.941, allocations: 3.938 kB / 3.562 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/9.942, allocations: 67.02 kB / 3.562 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.538e-05/9.942, allocations: 8 kB / 3.562 GB, free: 208.2 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.000549/9.942, allocations: 302.2 kB / 3.563 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/9.942, allocations: 62.33 kB / 3.563 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/9.944, allocations: 439 kB / 3.563 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/9.944, allocations: 10.97 kB / 3.563 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/9.944, allocations: 0 / 3.563 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008811/9.945, allocations: 436.2 kB / 3.564 GB, free: 207 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/9.947, allocations: 1.167 MB / 3.565 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/9.948, allocations: 7.938 kB / 3.565 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/9.948, allocations: 86.27 kB / 3.565 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/9.948, allocations: 7.938 kB / 3.565 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/9.948, allocations: 8 kB / 3.565 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.153e-06/9.948, allocations: 4 kB / 3.565 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.197e-06/9.948, allocations: 0 / 3.565 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/9.95, allocations: 0.7981 MB / 3.566 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/9.951, allocations: 184.3 kB / 3.566 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/9.951, allocations: 8 kB / 3.566 GB, free: 204.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009827/9.952, allocations: 51.28 kB / 3.566 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/9.952, allocations: 26.12 kB / 3.566 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.543e-05/9.952, allocations: 19.95 kB / 3.566 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006231/9.953, allocations: 362.8 kB / 3.566 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/9.953, allocations: 0 / 3.566 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001829/9.954, allocations: 451.2 kB / 3.567 GB, free: 203.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.004285/9.959, allocations: 2.907 MB / 3.569 GB, free: 200.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001678/9.96, allocations: 0.5129 MB / 3.57 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/9.96, allocations: 4.312 kB / 3.57 GB, free: 200.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004806/9.961, allocations: 183.7 kB / 3.57 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/9.964, allocations: 362.5 kB / 3.57 GB, free: 199.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007723/9.972, allocations: 3.977 MB / 3.574 GB, free: 195.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/9.973, allocations: 0.9451 MB / 3.575 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001202/9.974, allocations: 180.5 kB / 3.575 GB, free: 194.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/9.974, allocations: 219.4 kB / 3.576 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/9.974, allocations: 0 / 3.576 GB, free: 194.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08758/10.06, allocations: 35.99 MB / 3.611 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003183/10.06, allocations: 202.1 kB / 3.611 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.917/13.98, allocations: 0 / 3.611 GB, free: 158.5 MB / 0.8855 GB