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.149/2.149, allocations: 248.5 MB / 261 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 190.2 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.917/1.917, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001111/0.001111, allocations: 104.8 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.939e-05/4.964e-05, allocations: 4 kB / 0.7869 GB, free: 97.84 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1976, allocations: 106.2 MB / 0.8907 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.983/7.18, allocations: 2.195 GB / 3.086 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/7.181, allocations: 85.08 kB / 3.086 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.516/9.697, allocations: 469.4 MB / 3.544 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.374e-06/9.697, allocations: 0 / 3.544 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001046/9.697, allocations: 20 kB / 3.544 GB, free: 12.73 MB / 0.8698 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.00328/9.7, allocations: 0.9695 MB / 3.545 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/9.7, allocations: 12.03 kB / 3.545 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/9.701, allocations: 90.52 kB / 3.546 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/9.704, allocations: 206.8 kB / 3.546 GB, free: 11.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002658/9.706, allocations: 0.6243 MB / 3.546 GB, free: 10.74 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.731e-05/9.706, allocations: 37 kB / 3.546 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/9.707, allocations: 48 kB / 3.546 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001659/9.708, allocations: 466.4 kB / 3.547 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/9.708, allocations: 4 kB / 3.547 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/9.708, allocations: 16 kB / 3.547 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/9.709, allocations: 28.97 kB / 3.547 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/9.71, allocations: 379.9 kB / 3.547 GB, free: 9.777 MB / 0.8698 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.005397/9.715, allocations: 2.017 MB / 3.549 GB, free: 7.578 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/9.716, allocations: 303.7 kB / 3.55 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005414/9.717, allocations: 185.4 kB / 3.55 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/9.717, allocations: 198.4 kB / 3.55 GB, free: 6.859 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/9.717, allocations: 34.84 kB / 3.55 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 4.369e-06/9.717, allocations: 0 / 3.55 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001818/9.719, allocations: 379 kB / 3.55 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/9.719, allocations: 63.3 kB / 3.55 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/9.72, allocations: 445 kB / 3.551 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/9.721, allocations: 33.7 kB / 3.551 GB, free: 5.883 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/9.721, allocations: 308.2 kB / 3.551 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/9.721, allocations: 114.3 kB / 3.551 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/9.721, allocations: 8 kB / 3.551 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001541/9.721, allocations: 366.8 kB / 3.552 GB, free: 5.09 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/9.722, allocations: 112.6 kB / 3.552 GB, free: 4.977 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/9.722, allocations: 203.4 kB / 3.552 GB, free: 4.746 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004749/9.723, allocations: 151.6 kB / 3.552 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/9.723, allocations: 0 / 3.552 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001285/9.724, allocations: 388.6 kB / 3.552 GB, free: 4.211 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/9.724, allocations: 362.2 kB / 3.553 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/9.724, allocations: 4 kB / 3.553 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/9.724, allocations: 96 / 3.553 GB, free: 3.828 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008558/9.725, allocations: 79.83 kB / 3.553 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/9.725, allocations: 0 / 3.553 GB, free: 3.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/9.727, allocations: 71.64 kB / 3.553 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/9.727, allocations: 16 kB / 3.553 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/9.727, allocations: 7.938 kB / 3.553 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001019/9.728, allocations: 303.5 kB / 3.553 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/9.728, allocations: 4.094 kB / 3.553 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/9.728, allocations: 7.953 kB / 3.553 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/9.729, allocations: 71.91 kB / 3.553 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/9.729, allocations: 4 kB / 3.553 GB, free: 3.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/9.73, allocations: 63.64 kB / 3.553 GB, free: 3.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/9.73, allocations: 16 kB / 3.553 GB, free: 3.195 MB / 0.8698 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 () * 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.0002327/9.731, allocations: 116.9 kB / 3.553 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/9.731, allocations: 67.33 kB / 3.554 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/9.732, allocations: 398.8 kB / 3.554 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/9.732, allocations: 7.953 kB / 3.554 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/9.732, allocations: 0 / 3.554 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009993/9.733, allocations: 388.3 kB / 3.554 GB, free: 2.195 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003678/9.737, allocations: 1.143 MB / 3.555 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/9.737, allocations: 0 / 3.555 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/9.738, allocations: 87.89 kB / 3.555 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/9.738, allocations: 4 kB / 3.555 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/9.738, allocations: 11.98 kB / 3.556 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/9.738, allocations: 4 kB / 3.556 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/9.738, allocations: 3.938 kB / 3.556 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/9.74, allocations: 0.7412 MB / 3.556 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6947/10.44, allocations: 174.9 kB / 3.556 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/10.44, allocations: 11.44 kB / 3.556 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/10.44, allocations: 56.19 kB / 3.556 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/10.44, allocations: 29.41 kB / 3.557 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.053e-05/10.44, allocations: 15.14 kB / 3.557 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007933/10.44, allocations: 353.6 kB / 3.557 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/10.44, allocations: 0.9688 kB / 3.557 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002023/10.44, allocations: 448.1 kB / 3.557 GB, free: 198.7 MB / 0.8698 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 () * 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.004372/10.44, allocations: 2.852 MB / 3.56 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001461/10.45, allocations: 487.1 kB / 3.561 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/10.45, allocations: 0 / 3.561 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/10.45, allocations: 159.9 kB / 3.561 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003462/10.45, allocations: 357.5 kB / 3.561 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003599/10.45, allocations: 1.161 MB / 3.562 GB, free: 197 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/10.45, allocations: 0.946 MB / 3.563 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001712/10.46, allocations: 231.1 kB / 3.563 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/10.46, allocations: 213.9 kB / 3.564 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.835e-06/10.46, allocations: 0.75 kB / 3.564 GB, free: 196.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/10.57, allocations: 40.21 MB / 3.603 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/10.57, allocations: 182.1 kB / 3.603 GB, free: 195.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.211/14.78, allocations: 0 / 3.603 GB, free: 195.6 MB / 0.8698 GB