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.657/1.657, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001314/0.001314, allocations: 172.9 kB / 366.7 MB, free: 1.641 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.722/1.722, allocations: 205.2 MB / 0.626 GB, free: 7.176 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.0008865/0.0008863, allocations: 96.78 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.845e-05/1.847e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7009, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.747/5.448, allocations: 2.078 GB / 3.051 GB, free: 5.895 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.449, allocations: 85.64 kB / 3.051 GB, free: 5.852 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/7.639, allocations: 476.7 MB / 3.517 GB, free: 241.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.314e-06/7.639, allocations: 0 / 3.517 GB, free: 241.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.158e-05/7.639, allocations: 17.5 kB / 3.517 GB, free: 241.2 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.002025/7.641, allocations: 0.9768 MB / 3.518 GB, free: 240.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/7.641, allocations: 10.31 kB / 3.518 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/7.642, allocations: 204.5 kB / 3.518 GB, free: 240.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/7.643, allocations: 0.6112 MB / 3.518 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/7.643, allocations: 14.84 kB / 3.518 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/7.643, allocations: 32.91 kB / 3.519 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006597/7.644, allocations: 361.5 kB / 3.519 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/7.645, allocations: 397.2 kB / 3.519 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/7.645, allocations: 0 / 3.519 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/7.645, allocations: 3.719 kB / 3.519 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/7.645, allocations: 16.19 kB / 3.519 GB, free: 240.3 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.00249/7.647, allocations: 1.906 MB / 3.521 GB, free: 239.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/7.648, allocations: 303.3 kB / 3.521 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/7.648, allocations: 181.5 kB / 3.522 GB, free: 239.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/7.648, allocations: 195.1 kB / 3.522 GB, free: 239.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/7.648, allocations: 41.88 kB / 3.522 GB, free: 239.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/7.648, allocations: 1.594 kB / 3.522 GB, free: 239.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.0008336/7.649, allocations: 364 kB / 3.522 GB, free: 239 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/7.649, allocations: 55.31 kB / 3.522 GB, free: 239 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/7.65, allocations: 370.6 kB / 3.523 GB, free: 238.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/7.65, allocations: 25.7 kB / 3.523 GB, free: 238.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/7.65, allocations: 311 kB / 3.523 GB, free: 238.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.775e-05/7.65, allocations: 115.5 kB / 3.523 GB, free: 238.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/7.65, allocations: 0 / 3.523 GB, free: 238.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001187/7.65, allocations: 354.8 kB / 3.523 GB, free: 238.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/7.65, allocations: 117.6 kB / 3.523 GB, free: 238.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/7.65, allocations: 198.7 kB / 3.524 GB, free: 238.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/7.651, allocations: 155.2 kB / 3.524 GB, free: 238.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/7.651, allocations: 0 / 3.524 GB, free: 238.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005169/7.651, allocations: 363.8 kB / 3.524 GB, free: 238.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/7.651, allocations: 362.4 kB / 3.524 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/7.651, allocations: 7.109 kB / 3.524 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/7.651, allocations: 3.844 kB / 3.524 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/7.652, allocations: 79.88 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/7.652, allocations: 3.281 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/7.652, allocations: 53.53 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/7.652, allocations: 17.77 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.236e-06/7.652, allocations: 3.906 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004237/7.653, allocations: 269.6 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/7.653, allocations: 7.297 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.337e-06/7.653, allocations: 0 / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/7.653, allocations: 77.02 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/7.653, allocations: 0 / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/7.654, allocations: 55 kB / 3.525 GB, free: 237.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/7.654, allocations: 11.5 kB / 3.525 GB, free: 237.8 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 0.0001186/7.654, allocations: 113.9 kB / 3.525 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004739/7.654, allocations: 333.9 kB / 3.525 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/7.654, allocations: 57.38 kB / 3.526 GB, free: 237.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005893/7.655, allocations: 364.1 kB / 3.526 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/7.655, allocations: 3.344 kB / 3.526 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/7.655, allocations: 3.875 kB / 3.526 GB, free: 237.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004159/7.655, allocations: 378.1 kB / 3.526 GB, free: 237.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/7.657, allocations: 1.045 MB / 3.527 GB, free: 237.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/7.657, allocations: 3.844 kB / 3.527 GB, free: 237.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/7.657, allocations: 86.41 kB / 3.527 GB, free: 237.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/7.657, allocations: 2.906 kB / 3.527 GB, free: 237.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/7.658, allocations: 10.95 kB / 3.527 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/7.658, allocations: 10.11 kB / 3.527 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/7.658, allocations: 3.438 kB / 3.527 GB, free: 237 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007657/7.658, allocations: 0.7221 MB / 3.528 GB, free: 236.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/7.659, allocations: 171.5 kB / 3.528 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/7.659, allocations: 3.969 kB / 3.528 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/7.659, allocations: 51.58 kB / 3.528 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/7.659, allocations: 28.42 kB / 3.528 GB, free: 236.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/7.659, allocations: 11.03 kB / 3.528 GB, free: 236.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002906/7.659, allocations: 294.8 kB / 3.529 GB, free: 236.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/7.659, allocations: 3.844 kB / 3.529 GB, free: 236.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001165/7.661, allocations: 399.2 kB / 3.529 GB, free: 236.5 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.002902/7.664, allocations: 2.994 MB / 3.532 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006981/7.664, allocations: 456.5 kB / 3.532 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/7.664, allocations: 0 / 3.532 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/7.664, allocations: 163.4 kB / 3.533 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/7.666, allocations: 336.5 kB / 3.533 GB, free: 235 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/7.668, allocations: 1.094 MB / 3.534 GB, free: 234.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/7.669, allocations: 0.9448 MB / 3.535 GB, free: 233.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007996/7.669, allocations: 220.4 kB / 3.535 GB, free: 233.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/7.67, allocations: 202.2 kB / 3.535 GB, free: 233.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/7.67, allocations: 0 / 3.535 GB, free: 233.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05185/7.722, allocations: 25.17 MB / 3.56 GB, free: 231.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/7.722, allocations: 154.7 kB / 3.56 GB, free: 231.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/10.8, allocations: 3.75 kB / 3.56 GB, free: 231.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)