Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_8_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 289.7 MB / 302.3 MB, free: 2.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 180.3 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009413/0.0009412, allocations: 93.12 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.841e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2787, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.235, allocations: 2.078 GB / 3.058 GB, free: 118.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/6.235, allocations: 89.22 kB / 3.058 GB, free: 118 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.619/7.854, allocations: 482.2 MB / 3.529 GB, free: 15.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.512e-06/7.854, allocations: 7.938 kB / 3.529 GB, free: 15.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.492e-05/7.854, allocations: 20 kB / 3.529 GB, free: 15.73 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002539/7.856, allocations: 0.9617 MB / 3.53 GB, free: 14.72 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/7.856, allocations: 12.03 kB / 3.53 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/7.857, allocations: 86.52 kB / 3.53 GB, free: 14.61 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/7.858, allocations: 206.9 kB / 3.531 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/7.86, allocations: 0.6189 MB / 3.531 GB, free: 13.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/7.86, allocations: 37 kB / 3.531 GB, free: 13.71 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/7.86, allocations: 51.94 kB / 3.531 GB, free: 13.66 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008258/7.861, allocations: 454.4 kB / 3.532 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/7.861, allocations: 0 / 3.532 GB, free: 13.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-05/7.861, allocations: 27.95 kB / 3.532 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/7.861, allocations: 13 kB / 3.532 GB, free: 13.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/7.862, allocations: 379.9 kB / 3.532 GB, free: 12.8 MB / 0.948 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.00275/7.864, allocations: 2.009 MB / 3.534 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/7.865, allocations: 311.6 kB / 3.534 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/7.865, allocations: 190.4 kB / 3.534 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/7.865, allocations: 190.5 kB / 3.535 GB, free: 9.895 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/7.865, allocations: 42.83 kB / 3.535 GB, free: 9.844 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/7.865, allocations: 0 / 3.535 GB, free: 9.844 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0008631/7.866, allocations: 390.9 kB / 3.535 GB, free: 9.457 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/7.866, allocations: 51.41 kB / 3.535 GB, free: 9.395 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004577/7.867, allocations: 437 kB / 3.536 GB, free: 8.957 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/7.867, allocations: 37.7 kB / 3.536 GB, free: 8.914 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/7.867, allocations: 308.1 kB / 3.536 GB, free: 8.609 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.246e-05/7.867, allocations: 122.2 kB / 3.536 GB, free: 8.488 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/7.867, allocations: 8 kB / 3.536 GB, free: 8.48 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.951e-05/7.867, allocations: 366.7 kB / 3.536 GB, free: 8.113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/7.867, allocations: 116.6 kB / 3.536 GB, free: 7.996 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/7.868, allocations: 207.3 kB / 3.537 GB, free: 7.762 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/7.868, allocations: 147.8 kB / 3.537 GB, free: 7.617 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/7.868, allocations: 0 / 3.537 GB, free: 7.617 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005494/7.868, allocations: 386.6 kB / 3.537 GB, free: 7.238 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.504e-05/7.868, allocations: 368 kB / 3.538 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/7.868, allocations: 0 / 3.538 GB, free: 6.852 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/7.868, allocations: 8 kB / 3.538 GB, free: 6.844 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/7.869, allocations: 75.89 kB / 3.538 GB, free: 6.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/7.869, allocations: 7.984 kB / 3.538 GB, free: 6.762 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006035/7.869, allocations: 59.8 kB / 3.538 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/7.87, allocations: 15.94 kB / 3.538 GB, free: 6.688 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/7.87, allocations: 4 kB / 3.538 GB, free: 6.684 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004194/7.87, allocations: 309.2 kB / 3.538 GB, free: 6.383 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/7.87, allocations: 0 / 3.538 GB, free: 6.383 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/7.87, allocations: 4 kB / 3.538 GB, free: 6.379 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/7.87, allocations: 76 kB / 3.538 GB, free: 6.305 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/7.87, allocations: 3.938 kB / 3.538 GB, free: 6.301 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000563/7.871, allocations: 67.59 kB / 3.538 GB, free: 6.234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/7.871, allocations: 16 kB / 3.538 GB, free: 6.219 MB / 0.948 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 9.565e-05/7.871, allocations: 116.9 kB / 3.538 GB, free: 6.098 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/7.871, allocations: 67.25 kB / 3.538 GB, free: 6.031 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/7.872, allocations: 387 kB / 3.539 GB, free: 5.648 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/7.872, allocations: 7.984 kB / 3.539 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.872, allocations: 0 / 3.539 GB, free: 5.641 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003954/7.872, allocations: 408.7 kB / 3.539 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/7.874, allocations: 1.136 MB / 3.54 GB, free: 4.004 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/7.874, allocations: 8.125 kB / 3.54 GB, free: 3.996 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/7.874, allocations: 87.89 kB / 3.54 GB, free: 3.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/7.874, allocations: 7.953 kB / 3.54 GB, free: 3.902 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/7.874, allocations: 12 kB / 3.54 GB, free: 3.891 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/7.874, allocations: 4 kB / 3.54 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/7.874, allocations: 0 / 3.54 GB, free: 3.887 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/7.875, allocations: 0.7455 MB / 3.541 GB, free: 3.07 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/7.875, allocations: 176.4 kB / 3.541 GB, free: 2.879 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/7.875, allocations: 11.95 kB / 3.541 GB, free: 2.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/7.876, allocations: 55.84 kB / 3.541 GB, free: 2.812 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/7.876, allocations: 23.97 kB / 3.541 GB, free: 2.789 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/7.876, allocations: 12 kB / 3.541 GB, free: 2.777 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003706/7.877, allocations: 349.5 kB / 3.542 GB, free: 2.441 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/7.877, allocations: 0 / 3.542 GB, free: 2.441 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00148/7.878, allocations: 447.3 kB / 3.542 GB, free: 2.004 MB / 0.948 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.6083/8.486, allocations: 2.853 MB / 3.545 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001145/8.488, allocations: 491 kB / 3.545 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/8.488, allocations: 4.906 kB / 3.545 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002433/8.488, allocations: 164.7 kB / 3.545 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/8.49, allocations: 361.2 kB / 3.546 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/8.492, allocations: 1.142 MB / 3.547 GB, free: 184.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/8.493, allocations: 0.9514 MB / 3.548 GB, free: 183.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001002/8.494, allocations: 226.6 kB / 3.548 GB, free: 183.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/8.494, allocations: 204.5 kB / 3.548 GB, free: 183.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/8.494, allocations: 0 / 3.548 GB, free: 183.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07961/8.574, allocations: 40.09 MB / 3.587 GB, free: 183 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/8.574, allocations: 178.1 kB / 3.588 GB, free: 182.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.6/12.17, allocations: 0 / 3.588 GB, free: 182.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_8_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_8_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)