Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.476/1.476, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00107/0.00107, allocations: 183.2 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008572/0.0008576, allocations: 94.3 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005618/0.0005619, allocations: 9.094 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2948, allocations: 106.4 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1693/0.4641, allocations: 152.7 MB / 1.049 GB, free: 6.723 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009273/0.4735, allocations: 4.82 MB / 1.054 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.4744, allocations: 23.75 kB / 1.054 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.4758, allocations: 450 kB / 1.054 GB, free: 1.426 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.4799, allocations: 1.377 MB / 1.056 GB, free: 48 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.5511/1.031, allocations: 0.9099 MB / 1.057 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002493/1.034, allocations: 1.11 MB / 1.058 GB, free: 3.988 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007227/1.034, allocations: 465.8 kB / 1.058 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001348/1.036, allocations: 0.6117 MB / 1.059 GB, free: 3.934 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004423/1.036, allocations: 351.1 kB / 1.059 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/1.036, allocations: 24.34 kB / 1.059 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/1.038, allocations: 0.6924 MB / 1.06 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/1.038, allocations: 215.2 kB / 1.06 GB, free: 3.93 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004584/1.039, allocations: 175.1 kB / 1.06 GB, free: 19.9 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/1.04, allocations: 0.8939 MB / 1.061 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.04, allocations: 0 / 1.061 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.893e-06/1.04, allocations: 0 / 1.061 GB, free: 19.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.04, allocations: 4 kB / 1.061 GB, free: 19.82 MB / 0.7136 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.001749/1.042, allocations: 0.9521 MB / 1.062 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/1.042, allocations: 13 kB / 1.062 GB, free: 19.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000142/1.042, allocations: 83.42 kB / 1.062 GB, free: 19.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/1.044, allocations: 206.5 kB / 1.062 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.045, allocations: 0.5577 MB / 1.063 GB, free: 18.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/1.045, allocations: 42.47 kB / 1.063 GB, free: 18.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/1.045, allocations: 48.97 kB / 1.063 GB, free: 18.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/1.046, allocations: 0.4962 MB / 1.063 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.046, allocations: 0.6094 kB / 1.063 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.104e-05/1.046, allocations: 21.25 kB / 1.063 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.984e-05/1.046, allocations: 15.78 kB / 1.063 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/1.047, allocations: 448 kB / 1.064 GB, free: 18.8 MB / 0.7136 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.003242/1.05, allocations: 2.018 MB / 1.066 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/1.051, allocations: 354.8 kB / 1.066 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.628e-05/1.051, allocations: 10.25 kB / 1.066 GB, free: 17.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/1.051, allocations: 38.52 kB / 1.066 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.465e-06/1.051, allocations: 0.7812 kB / 1.066 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.001507/1.053, allocations: 0.5528 MB / 1.067 GB, free: 17.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.053, allocations: 55.52 kB / 1.067 GB, free: 17.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/1.054, allocations: 0.5002 MB / 1.067 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/1.054, allocations: 41.33 kB / 1.067 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/1.054, allocations: 303.3 kB / 1.068 GB, free: 17.31 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/1.054, allocations: 120.3 kB / 1.068 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/1.054, allocations: 5.656 kB / 1.068 GB, free: 17.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.054, allocations: 364.4 kB / 1.068 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/1.055, allocations: 134.5 kB / 1.068 GB, free: 16.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004462/1.055, allocations: 220.8 kB / 1.068 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/1.056, allocations: 166.8 kB / 1.069 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.056, allocations: 0 / 1.069 GB, free: 16.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000931/1.057, allocations: 435.4 kB / 1.069 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/1.057, allocations: 360.9 kB / 1.069 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/1.057, allocations: 12.42 kB / 1.069 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/1.057, allocations: 2.625 kB / 1.069 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/1.057, allocations: 73.62 kB / 1.069 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/1.057, allocations: 3.781 kB / 1.069 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/1.058, allocations: 62.3 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/1.058, allocations: 13.3 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/1.058, allocations: 4.375 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007431/1.059, allocations: 346.1 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/1.059, allocations: 0.9062 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/1.059, allocations: 3.062 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/1.059, allocations: 77.34 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.059, allocations: 1.844 kB / 1.07 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000497/1.06, allocations: 62.73 kB / 1.07 GB, free: 16.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/1.06, allocations: 12.41 kB / 1.07 GB, free: 16.36 MB / 0.7136 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.0004528/1.06, allocations: 298.9 kB / 1.07 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/1.06, allocations: 61.92 kB / 1.07 GB, free: 16.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/1.061, allocations: 429.5 kB / 1.071 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.061, allocations: 4.156 kB / 1.071 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.061, allocations: 4 kB / 1.071 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008342/1.062, allocations: 434 kB / 1.071 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/1.064, allocations: 1.18 MB / 1.072 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.065, allocations: 2.438 kB / 1.072 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004609/1.065, allocations: 92.81 kB / 1.072 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.065, allocations: 2.938 kB / 1.072 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.065, allocations: 13.02 kB / 1.072 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.065, allocations: 7.359 kB / 1.072 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.065, allocations: 3.141 kB / 1.072 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.067, allocations: 0.8011 MB / 1.073 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/1.067, allocations: 184.2 kB / 1.073 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/1.067, allocations: 9.094 kB / 1.073 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005479/1.068, allocations: 60.28 kB / 1.074 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/1.068, allocations: 32.12 kB / 1.074 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/1.068, allocations: 13.62 kB / 1.074 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005689/1.068, allocations: 361.4 kB / 1.074 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.068, allocations: 0 / 1.074 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001035/1.069, allocations: 326.2 kB / 1.074 GB, free: 14.94 MB / 0.7136 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.00226/1.072, allocations: 1.858 MB / 1.076 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.073, allocations: 0.5245 MB / 1.077 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.073, allocations: 1.344 kB / 1.077 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/1.073, allocations: 180.6 kB / 1.077 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/1.075, allocations: 357.8 kB / 1.077 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/1.081, allocations: 3.952 MB / 1.081 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/1.081, allocations: 0.9484 MB / 1.082 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007845/1.082, allocations: 185.3 kB / 1.082 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/1.082, allocations: 214.4 kB / 1.082 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/1.082, allocations: 0 / 1.082 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07433/1.157, allocations: 16.77 MB / 1.099 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.157, allocations: 220.5 kB / 1.099 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.724, allocations: 0 / 1.099 GB, free: 8.57 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)