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.601/1.601, allocations: 285.4 MB / 298 MB, free: 6.031 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.001059/0.001059, allocations: 184.8 kB / 366.4 MB, free: 2.117 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.579/1.579, allocations: 205.2 MB / 0.6248 GB, free: 7.73 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.0008873/0.0008871, allocations: 97.03 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.029e-05, allocations: 3.984 kB / 0.8584 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.6995, allocations: 115.3 MB / 0.971 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.684/5.384, allocations: 2.077 GB / 3.048 GB, free: 16.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/5.384, allocations: 88.3 kB / 3.048 GB, free: 16.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.066/7.45, allocations: 482.2 MB / 3.519 GB, free: 234.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.944e-06/7.45, allocations: 3.625 kB / 3.519 GB, free: 234.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.724e-05/7.45, allocations: 20.8 kB / 3.519 GB, free: 234.7 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.001947/7.452, allocations: 0.9699 MB / 3.52 GB, free: 234.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/7.452, allocations: 11.53 kB / 3.52 GB, free: 234.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/7.452, allocations: 87.41 kB / 3.52 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/7.454, allocations: 203.5 kB / 3.521 GB, free: 234.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/7.455, allocations: 0.6182 MB / 3.521 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/7.455, allocations: 36.88 kB / 3.521 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/7.455, allocations: 48.41 kB / 3.521 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/7.456, allocations: 458.7 kB / 3.522 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/7.456, allocations: 0 / 3.522 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/7.456, allocations: 18.05 kB / 3.522 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/7.456, allocations: 26.33 kB / 3.522 GB, free: 233.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/7.456, allocations: 382.2 kB / 3.522 GB, free: 233.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.002277/7.459, allocations: 2.01 MB / 3.524 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000403/7.459, allocations: 311.6 kB / 3.524 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/7.459, allocations: 188.3 kB / 3.525 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002502/7.46, allocations: 195.7 kB / 3.525 GB, free: 232.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/7.46, allocations: 39.19 kB / 3.525 GB, free: 232.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/7.46, allocations: 0 / 3.525 GB, free: 232.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0007417/7.46, allocations: 377.1 kB / 3.525 GB, free: 232.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/7.46, allocations: 61.58 kB / 3.525 GB, free: 232.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/7.461, allocations: 441.8 kB / 3.526 GB, free: 232.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/7.461, allocations: 32.89 kB / 3.526 GB, free: 232.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/7.461, allocations: 309.7 kB / 3.526 GB, free: 232.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/7.461, allocations: 115.7 kB / 3.526 GB, free: 232.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/7.461, allocations: 3.812 kB / 3.526 GB, free: 232.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/7.461, allocations: 369.5 kB / 3.526 GB, free: 231.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/7.461, allocations: 117.8 kB / 3.527 GB, free: 231.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/7.462, allocations: 207.6 kB / 3.527 GB, free: 231.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/7.462, allocations: 151.9 kB / 3.527 GB, free: 231.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/7.462, allocations: 6.469 kB / 3.527 GB, free: 231.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004878/7.462, allocations: 382.8 kB / 3.527 GB, free: 231.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/7.463, allocations: 364.8 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/7.463, allocations: 9.484 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/7.463, allocations: 4.5 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/7.463, allocations: 68.12 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/7.463, allocations: 11.25 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/7.463, allocations: 57.97 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/7.464, allocations: 18.31 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/7.464, allocations: 3.781 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004101/7.464, allocations: 307.5 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/7.464, allocations: 3.938 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/7.464, allocations: 0 / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/7.464, allocations: 80.77 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/7.464, allocations: 2.969 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/7.465, allocations: 72.03 kB / 3.528 GB, free: 231.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/7.465, allocations: 8.625 kB / 3.528 GB, free: 231.2 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.24e-05/7.465, allocations: 125 kB / 3.528 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/7.465, allocations: 57.75 kB / 3.528 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005593/7.466, allocations: 394.3 kB / 3.529 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/7.466, allocations: 3.625 kB / 3.529 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/7.466, allocations: 0 / 3.529 GB, free: 231 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003844/7.466, allocations: 399.7 kB / 3.529 GB, free: 230.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/7.467, allocations: 1.143 MB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/7.467, allocations: 3.938 kB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003911/7.468, allocations: 88.3 kB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/7.468, allocations: 6.281 kB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.794e-05/7.468, allocations: 14.52 kB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/7.468, allocations: 3.969 kB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/7.468, allocations: 3.312 kB / 3.53 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000784/7.469, allocations: 0.7467 MB / 3.531 GB, free: 230.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/7.469, allocations: 179.7 kB / 3.531 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/7.469, allocations: 7.156 kB / 3.531 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/7.469, allocations: 55.95 kB / 3.531 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/7.47, allocations: 25.94 kB / 3.531 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/7.47, allocations: 14.34 kB / 3.531 GB, free: 230.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003234/7.47, allocations: 351.1 kB / 3.532 GB, free: 230 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/7.47, allocations: 0 / 3.532 GB, free: 230 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001174/7.471, allocations: 445.8 kB / 3.532 GB, free: 229.9 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.002469/7.474, allocations: 2.859 MB / 3.535 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000708/7.474, allocations: 489.7 kB / 3.535 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/7.474, allocations: 0 / 3.535 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/7.475, allocations: 168.9 kB / 3.536 GB, free: 228.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/7.476, allocations: 359.5 kB / 3.536 GB, free: 228.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001873/7.478, allocations: 1.164 MB / 3.537 GB, free: 228.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/7.478, allocations: 0.9434 MB / 3.538 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007643/7.479, allocations: 233 kB / 3.538 GB, free: 227.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/7.479, allocations: 208.4 kB / 3.538 GB, free: 227.4 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/7.479, allocations: 3.438 kB / 3.538 GB, free: 227.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0574/7.537, allocations: 40.09 MB / 3.578 GB, free: 220.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/7.537, allocations: 185.8 kB / 3.578 GB, free: 220.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/10.87, allocations: 0 / 3.578 GB, free: 220.5 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)