Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.69/1.69, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001238/0.001237, allocations: 191.3 kB / 371.8 MB, free: 10.27 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.774/1.774, allocations: 205.4 MB / 0.6305 GB, free: 10.03 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001132, allocations: 109 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005724/0.0005731, allocations: 23.2 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2545, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.195/6.45, allocations: 2.077 GB / 3.057 GB, free: 192.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003754/6.45, allocations: 88.7 kB / 3.057 GB, free: 192.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.837/8.287, allocations: 482.7 MB / 3.528 GB, free: 91.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.094e-06/8.287, allocations: 0 / 3.528 GB, free: 91.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001223/8.287, allocations: 27.92 kB / 3.528 GB, free: 91.78 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.003555/8.29, allocations: 1.083 MB / 3.529 GB, free: 90.64 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/8.29, allocations: 8.031 kB / 3.53 GB, free: 90.64 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002985/8.291, allocations: 90.52 kB / 3.53 GB, free: 90.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/8.292, allocations: 210.8 kB / 3.53 GB, free: 90.33 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/8.294, allocations: 0.6203 MB / 3.53 GB, free: 89.67 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.431e-05/8.294, allocations: 37 kB / 3.53 GB, free: 89.64 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/8.294, allocations: 48 kB / 3.53 GB, free: 89.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/8.295, allocations: 478.4 kB / 3.531 GB, free: 89.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/8.295, allocations: 3.938 kB / 3.531 GB, free: 89.11 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/8.296, allocations: 27.98 kB / 3.531 GB, free: 89.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/8.296, allocations: 17 kB / 3.531 GB, free: 89.06 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/8.297, allocations: 423.8 kB / 3.531 GB, free: 88.65 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.003446/8.3, allocations: 2.009 MB / 3.533 GB, free: 86.46 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/8.301, allocations: 329.5 kB / 3.534 GB, free: 86.13 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003611/8.301, allocations: 190.5 kB / 3.534 GB, free: 85.91 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/8.301, allocations: 38.78 kB / 3.534 GB, free: 85.86 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.997e-06/8.301, allocations: 4 kB / 3.534 GB, free: 85.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.001519/8.303, allocations: 0.5463 MB / 3.534 GB, free: 85.31 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/8.303, allocations: 59.41 kB / 3.534 GB, free: 85.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/8.303, allocations: 438.2 kB / 3.535 GB, free: 84.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/8.303, allocations: 37.7 kB / 3.535 GB, free: 84.76 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/8.304, allocations: 300.2 kB / 3.535 GB, free: 84.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/8.304, allocations: 122.3 kB / 3.535 GB, free: 84.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/8.304, allocations: 4 kB / 3.535 GB, free: 84.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001388/8.304, allocations: 362.8 kB / 3.536 GB, free: 83.97 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/8.304, allocations: 140.6 kB / 3.536 GB, free: 83.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/8.305, allocations: 230.5 kB / 3.536 GB, free: 83.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/8.305, allocations: 163.9 kB / 3.536 GB, free: 83.41 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/8.305, allocations: 3.938 kB / 3.536 GB, free: 83.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007935/8.306, allocations: 436.4 kB / 3.537 GB, free: 82.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001548/8.306, allocations: 360.1 kB / 3.537 GB, free: 82.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/8.306, allocations: 0 / 3.537 GB, free: 82.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/8.306, allocations: 7.953 kB / 3.537 GB, free: 82.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/8.306, allocations: 71.91 kB / 3.537 GB, free: 82.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/8.306, allocations: 11.98 kB / 3.537 GB, free: 82.51 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/8.307, allocations: 59.66 kB / 3.537 GB, free: 82.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/8.307, allocations: 23.98 kB / 3.537 GB, free: 82.43 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/8.307, allocations: 4 kB / 3.537 GB, free: 82.42 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005947/8.308, allocations: 339.6 kB / 3.537 GB, free: 82.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/8.308, allocations: 0 / 3.537 GB, free: 82.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.97e-06/8.308, allocations: 8.094 kB / 3.537 GB, free: 82.08 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/8.308, allocations: 71.91 kB / 3.538 GB, free: 82.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/8.308, allocations: 4 kB / 3.538 GB, free: 82.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/8.309, allocations: 63.64 kB / 3.538 GB, free: 81.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/8.309, allocations: 12 kB / 3.538 GB, free: 81.93 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.0004959/8.309, allocations: 297 kB / 3.538 GB, free: 81.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/8.31, allocations: 59.25 kB / 3.538 GB, free: 81.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000834/8.31, allocations: 426.9 kB / 3.538 GB, free: 81.15 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.525e-06/8.31, allocations: 4 kB / 3.538 GB, free: 81.15 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/8.31, allocations: 0 / 3.538 GB, free: 81.15 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005797/8.311, allocations: 441.6 kB / 3.539 GB, free: 80.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/8.313, allocations: 1.176 MB / 3.54 GB, free: 79.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/8.313, allocations: 0 / 3.54 GB, free: 79.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/8.314, allocations: 87.89 kB / 3.54 GB, free: 79.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/8.314, allocations: 4 kB / 3.54 GB, free: 79.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/8.314, allocations: 8.188 kB / 3.54 GB, free: 79.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/8.314, allocations: 8 kB / 3.54 GB, free: 79.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/8.314, allocations: 7.953 kB / 3.54 GB, free: 79.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/8.315, allocations: 0.8028 MB / 3.541 GB, free: 78.45 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003713/8.315, allocations: 188.2 kB / 3.541 GB, free: 78.25 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/8.316, allocations: 8 kB / 3.541 GB, free: 78.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/8.316, allocations: 51.88 kB / 3.541 GB, free: 78.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/8.316, allocations: 27.92 kB / 3.541 GB, free: 78.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/8.316, allocations: 16 kB / 3.541 GB, free: 78.15 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004262/8.317, allocations: 358.8 kB / 3.541 GB, free: 77.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.317, allocations: 0 / 3.541 GB, free: 77.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001829/8.319, allocations: 443.2 kB / 3.542 GB, free: 77.37 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.003697/8.322, allocations: 2.919 MB / 3.545 GB, free: 74.35 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001002/8.323, allocations: 0.5235 MB / 3.545 GB, free: 73.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/8.323, allocations: 4.375 kB / 3.545 GB, free: 73.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/8.324, allocations: 180 kB / 3.545 GB, free: 73.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/8.325, allocations: 362.7 kB / 3.546 GB, free: 73.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/8.331, allocations: 3.964 MB / 3.55 GB, free: 69.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/8.331, allocations: 0.9412 MB / 3.551 GB, free: 68.28 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007302/8.332, allocations: 180.8 kB / 3.551 GB, free: 68.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/8.333, allocations: 215.4 kB / 3.551 GB, free: 67.89 MB / 0.948 GB Notification: Performance of SimCode: time 1.784e-06/8.333, allocations: 0 / 3.551 GB, free: 67.89 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/8.399, allocations: 35.86 MB / 3.586 GB, free: 32.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/8.4, allocations: 207.8 kB / 3.586 GB, free: 32 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.545/11.94, allocations: 0 / 3.586 GB, free: 32 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1)