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.929/1.929, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001662/0.00166, allocations: 168.3 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6366 GB, free: 8.652 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.0009753/0.0009752, allocations: 92.7 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.000361, allocations: 8 kB / 0.8748 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.285, allocations: 116.3 MB / 0.9884 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.571/5.856, allocations: 2.078 GB / 3.067 GB, free: 140.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003262/5.857, allocations: 92.56 kB / 3.067 GB, free: 140.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.875/7.732, allocations: 482.7 MB / 3.538 GB, free: 30.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.564e-06/7.732, allocations: 0 / 3.538 GB, free: 30.35 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000137/7.732, allocations: 23.98 kB / 3.538 GB, free: 30.32 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.004368/7.737, allocations: 1.082 MB / 3.539 GB, free: 29.19 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/7.737, allocations: 8.031 kB / 3.539 GB, free: 29.18 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003732/7.737, allocations: 82.53 kB / 3.539 GB, free: 29.09 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/7.739, allocations: 210.9 kB / 3.54 GB, free: 28.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/7.741, allocations: 0.6174 MB / 3.54 GB, free: 28.23 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/7.741, allocations: 40.98 kB / 3.54 GB, free: 28.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.901e-05/7.741, allocations: 50.34 kB / 3.54 GB, free: 28.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009209/7.742, allocations: 482.4 kB / 3.541 GB, free: 27.66 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/7.742, allocations: 0 / 3.541 GB, free: 27.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/7.742, allocations: 27.98 kB / 3.541 GB, free: 27.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/7.742, allocations: 13 kB / 3.541 GB, free: 27.62 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007121/7.743, allocations: 419.8 kB / 3.541 GB, free: 27.21 MB / 0.948 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.002838/7.745, allocations: 2.012 MB / 3.543 GB, free: 25.02 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004989/7.746, allocations: 339.4 kB / 3.544 GB, free: 24.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/7.746, allocations: 190.5 kB / 3.544 GB, free: 24.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/7.746, allocations: 38.84 kB / 3.544 GB, free: 24.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 4.619e-06/7.746, allocations: 0 / 3.544 GB, free: 24.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001199/7.748, allocations: 0.554 MB / 3.544 GB, free: 23.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/7.748, allocations: 59.34 kB / 3.544 GB, free: 23.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004568/7.748, allocations: 442.2 kB / 3.545 GB, free: 23.35 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/7.748, allocations: 33.7 kB / 3.545 GB, free: 23.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/7.748, allocations: 304.2 kB / 3.545 GB, free: 23.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.14e-05/7.748, allocations: 126.3 kB / 3.545 GB, free: 22.88 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/7.748, allocations: 4 kB / 3.545 GB, free: 22.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001149/7.749, allocations: 370.7 kB / 3.546 GB, free: 22.51 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/7.749, allocations: 132.6 kB / 3.546 GB, free: 22.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/7.749, allocations: 227.2 kB / 3.546 GB, free: 22.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/7.749, allocations: 163.9 kB / 3.546 GB, free: 21.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/7.749, allocations: 3.984 kB / 3.546 GB, free: 21.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006357/7.75, allocations: 435.5 kB / 3.547 GB, free: 21.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/7.75, allocations: 360 kB / 3.547 GB, free: 21.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/7.75, allocations: 32 / 3.547 GB, free: 21.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/7.75, allocations: 8 kB / 3.547 GB, free: 21.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/7.751, allocations: 75.89 kB / 3.547 GB, free: 21.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/7.751, allocations: 4 kB / 3.547 GB, free: 21.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/7.751, allocations: 63.66 kB / 3.547 GB, free: 21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/7.751, allocations: 15.98 kB / 3.547 GB, free: 20.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/7.751, allocations: 6.188 kB / 3.547 GB, free: 20.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005451/7.752, allocations: 343.6 kB / 3.547 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/7.752, allocations: 0 / 3.547 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/7.752, allocations: 7.938 kB / 3.547 GB, free: 20.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/7.752, allocations: 71.91 kB / 3.547 GB, free: 20.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/7.752, allocations: 4 kB / 3.547 GB, free: 20.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/7.753, allocations: 63.73 kB / 3.547 GB, free: 20.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/7.753, allocations: 19.95 kB / 3.547 GB, free: 20.48 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 () * 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.0003215/7.753, allocations: 289 kB / 3.548 GB, free: 20.19 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.909e-05/7.753, allocations: 59.25 kB / 3.548 GB, free: 20.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/7.754, allocations: 426.9 kB / 3.548 GB, free: 19.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/7.754, allocations: 4 kB / 3.548 GB, free: 19.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/7.754, allocations: 0 / 3.548 GB, free: 19.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000541/7.754, allocations: 449.5 kB / 3.549 GB, free: 19.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/7.756, allocations: 1.174 MB / 3.55 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/7.756, allocations: 0 / 3.55 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/7.757, allocations: 88.08 kB / 3.55 GB, free: 17.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/7.757, allocations: 7.953 kB / 3.55 GB, free: 17.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.861e-05/7.757, allocations: 12 kB / 3.55 GB, free: 17.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/7.757, allocations: 4 kB / 3.55 GB, free: 17.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/7.757, allocations: 4 kB / 3.55 GB, free: 17.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/7.758, allocations: 0.8076 MB / 3.551 GB, free: 17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/7.758, allocations: 172.4 kB / 3.551 GB, free: 16.81 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/7.758, allocations: 19.89 kB / 3.551 GB, free: 16.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000496/7.759, allocations: 55.78 kB / 3.551 GB, free: 16.73 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/7.759, allocations: 23.97 kB / 3.551 GB, free: 16.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/7.759, allocations: 16 kB / 3.551 GB, free: 16.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000385/7.759, allocations: 358.8 kB / 3.551 GB, free: 16.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.2e-07/7.759, allocations: 0 / 3.551 GB, free: 16.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001628/7.761, allocations: 431.3 kB / 3.552 GB, free: 15.93 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 () * 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.003689/7.764, allocations: 2.92 MB / 3.555 GB, free: 12.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009624/7.765, allocations: 0.516 MB / 3.555 GB, free: 12.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/7.765, allocations: 7.938 kB / 3.555 GB, free: 12.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002629/7.766, allocations: 175.8 kB / 3.555 GB, free: 12.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/7.767, allocations: 367.3 kB / 3.556 GB, free: 11.85 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/7.772, allocations: 3.959 MB / 3.559 GB, free: 7.809 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/7.773, allocations: 0.949 MB / 3.56 GB, free: 6.832 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007353/7.774, allocations: 176.8 kB / 3.561 GB, free: 6.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/7.774, allocations: 215.4 kB / 3.561 GB, free: 6.449 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/7.774, allocations: 0 / 3.561 GB, free: 6.449 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7985/8.572, allocations: 35.85 MB / 3.596 GB, free: 176.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/8.573, allocations: 195.3 kB / 3.596 GB, free: 176.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.753/12.33, allocations: 0 / 3.596 GB, free: 176.6 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)