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.441/1.441, 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.001247/0.001247, allocations: 183.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, 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.001087/0.001087, allocations: 98.03 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003994/0.0003993, allocations: 10.84 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2264, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.379/5.605, allocations: 2.196 GB / 3.096 GB, free: 24.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/5.606, allocations: 92.7 kB / 3.096 GB, free: 24.09 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.5/8.105, allocations: 469.8 MB / 3.555 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.928e-06/8.106, allocations: 7.484 kB / 3.555 GB, free: 223.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001532/8.106, allocations: 22.41 kB / 3.555 GB, free: 223.5 MB / 0.8855 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.003841/8.11, allocations: 1.085 MB / 3.556 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/8.11, allocations: 7.531 kB / 3.556 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003144/8.11, allocations: 87.33 kB / 3.556 GB, free: 222.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/8.112, allocations: 207.2 kB / 3.556 GB, free: 222.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/8.114, allocations: 0.628 MB / 3.557 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/8.114, allocations: 33.94 kB / 3.557 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/8.114, allocations: 62.08 kB / 3.557 GB, free: 222.6 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/8.115, allocations: 491.2 kB / 3.557 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/8.115, allocations: 0 / 3.557 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.138e-05/8.116, allocations: 24.12 kB / 3.557 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/8.116, allocations: 15.97 kB / 3.557 GB, free: 222.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000952/8.117, allocations: 426.3 kB / 3.558 GB, free: 222.5 MB / 0.8855 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.003822/8.12, allocations: 2.015 MB / 3.56 GB, free: 221.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/8.121, allocations: 332.2 kB / 3.56 GB, free: 221.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/8.121, allocations: 195.9 kB / 3.56 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.715e-05/8.121, allocations: 36.77 kB / 3.56 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 4.399e-06/8.121, allocations: 0 / 3.56 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=33): time 0.001497/8.123, allocations: 0.5351 MB / 3.561 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/8.123, allocations: 55.31 kB / 3.561 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/8.124, allocations: 449.8 kB / 3.561 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.149e-05/8.124, allocations: 36.73 kB / 3.561 GB, free: 221 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/8.124, allocations: 306.9 kB / 3.561 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/8.124, allocations: 120.3 kB / 3.562 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/8.124, allocations: 3.25 kB / 3.562 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001748/8.125, allocations: 374.3 kB / 3.562 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/8.125, allocations: 131.7 kB / 3.562 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/8.125, allocations: 227.8 kB / 3.562 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/8.126, allocations: 169.7 kB / 3.562 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/8.126, allocations: 0 / 3.562 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008207/8.126, allocations: 429.4 kB / 3.563 GB, free: 220.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/8.127, allocations: 365.8 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/8.127, allocations: 0 / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/8.127, allocations: 3.812 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/8.127, allocations: 73.47 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.293e-05/8.127, allocations: 7.438 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/8.128, allocations: 66.03 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.592e-05/8.128, allocations: 11.62 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/8.128, allocations: 2.938 kB / 3.563 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006249/8.128, allocations: 346.7 kB / 3.564 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/8.129, allocations: 0 / 3.564 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/8.129, allocations: 3.75 kB / 3.564 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/8.129, allocations: 70.41 kB / 3.564 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/8.129, allocations: 7.766 kB / 3.564 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/8.13, allocations: 67.17 kB / 3.564 GB, free: 220 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/8.13, allocations: 16.62 kB / 3.564 GB, free: 220 MB / 0.8855 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.0004526/8.13, allocations: 295.5 kB / 3.564 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/8.13, allocations: 59.09 kB / 3.564 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008633/8.131, allocations: 427.6 kB / 3.565 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/8.131, allocations: 7.5 kB / 3.565 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/8.131, allocations: 3.953 kB / 3.565 GB, free: 219.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006159/8.132, allocations: 441.5 kB / 3.565 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/8.134, allocations: 1.166 MB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/8.134, allocations: 3.953 kB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/8.135, allocations: 92.25 kB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/8.135, allocations: 6.969 kB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/8.135, allocations: 11.56 kB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/8.135, allocations: 3.625 kB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/8.135, allocations: 3.719 kB / 3.566 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001251/8.136, allocations: 0.7874 MB / 3.567 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/8.137, allocations: 187.1 kB / 3.567 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/8.137, allocations: 7.688 kB / 3.567 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007188/8.137, allocations: 51.53 kB / 3.567 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001113/8.138, allocations: 29.42 kB / 3.567 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/8.138, allocations: 14.3 kB / 3.567 GB, free: 218.8 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005545/8.138, allocations: 363.5 kB / 3.568 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/8.138, allocations: 0 / 3.568 GB, free: 218.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002071/8.14, allocations: 449.9 kB / 3.568 GB, free: 218.6 MB / 0.8855 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.004751/8.145, allocations: 2.91 MB / 3.571 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00134/8.146, allocations: 0.5221 MB / 3.571 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/8.146, allocations: 0 / 3.571 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003515/8.147, allocations: 180.6 kB / 3.572 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/8.149, allocations: 364.5 kB / 3.572 GB, free: 217.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007049/8.156, allocations: 3.967 MB / 3.576 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/8.157, allocations: 0.9507 MB / 3.577 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0009997/8.158, allocations: 172.8 kB / 3.577 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/8.158, allocations: 218.8 kB / 3.577 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of SimCode: time 2.114e-06/8.158, allocations: 0 / 3.577 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07362/8.232, allocations: 36 MB / 3.612 GB, free: 196.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/8.232, allocations: 207.1 kB / 3.613 GB, free: 196.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.563/11.8, allocations: 0 / 3.613 GB, free: 196.3 MB / 0.8855 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)