Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007738/0.007739, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.769/0.769, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 406.8 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001473, allocations: 93.39 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005563/0.0005565, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4553, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/5.722, allocations: 1.886 GB / 2.535 GB, free: 90.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004017/5.723, allocations: 96.45 kB / 2.535 GB, free: 90.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.329/8.051, allocations: 489.2 MB / 3.013 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.334e-06/8.051, allocations: 0 / 3.013 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.796e-05/8.051, allocations: 16 kB / 3.013 GB, free: 130.7 MB / 0.6823 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.002831/8.054, allocations: 1.09 MB / 3.014 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.12e-05/8.054, allocations: 8.031 kB / 3.014 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/8.054, allocations: 90.52 kB / 3.014 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001457/8.056, allocations: 202.9 kB / 3.015 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/8.057, allocations: 0.6321 MB / 3.015 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/8.057, allocations: 33 kB / 3.015 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-05/8.057, allocations: 51.95 kB / 3.015 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/8.058, allocations: 478.4 kB / 3.016 GB, free: 128 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/8.058, allocations: 0 / 3.016 GB, free: 128 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/8.058, allocations: 23.94 kB / 3.016 GB, free: 128 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/8.058, allocations: 17 kB / 3.016 GB, free: 128 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/8.059, allocations: 427.7 kB / 3.016 GB, free: 127.6 MB / 0.6823 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.003017/8.062, allocations: 2.011 MB / 3.018 GB, free: 125.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/8.063, allocations: 335.9 kB / 3.018 GB, free: 125 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003489/8.063, allocations: 198.5 kB / 3.019 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/8.063, allocations: 34.84 kB / 3.019 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/8.063, allocations: 4 kB / 3.019 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001301/8.065, allocations: 0.5435 MB / 3.019 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/8.065, allocations: 59.36 kB / 3.019 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/8.065, allocations: 446.3 kB / 3.02 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/8.065, allocations: 33.7 kB / 3.02 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/8.065, allocations: 308.2 kB / 3.02 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/8.066, allocations: 118.3 kB / 3.02 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.623e-05/8.066, allocations: 7.391 kB / 3.02 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001656/8.066, allocations: 366.8 kB / 3.02 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/8.066, allocations: 140.6 kB / 3.021 GB, free: 122.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/8.066, allocations: 222.7 kB / 3.021 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/8.067, allocations: 165.4 kB / 3.021 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/8.067, allocations: 0 / 3.021 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006757/8.067, allocations: 433.3 kB / 3.021 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/8.068, allocations: 365.4 kB / 3.022 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/8.068, allocations: 0 / 3.022 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/8.068, allocations: 4 kB / 3.022 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003871/8.068, allocations: 75.84 kB / 3.022 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/8.068, allocations: 8 kB / 3.022 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006509/8.069, allocations: 59.73 kB / 3.022 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-05/8.069, allocations: 23.94 kB / 3.022 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/8.069, allocations: 4 kB / 3.022 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005652/8.069, allocations: 339.9 kB / 3.022 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/8.069, allocations: 0 / 3.022 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.412e-06/8.069, allocations: 12.05 kB / 3.022 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/8.07, allocations: 71.89 kB / 3.022 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/8.07, allocations: 8 kB / 3.022 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/8.07, allocations: 67.64 kB / 3.022 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/8.07, allocations: 8 kB / 3.022 GB, free: 120.8 MB / 0.6823 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.0003869/8.071, allocations: 293 kB / 3.023 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/8.071, allocations: 63.19 kB / 3.023 GB, free: 120.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007623/8.071, allocations: 429 kB / 3.023 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/8.071, allocations: 7.953 kB / 3.023 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/8.071, allocations: 0 / 3.023 GB, free: 120 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005433/8.072, allocations: 436.5 kB / 3.024 GB, free: 119.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/8.074, allocations: 1.177 MB / 3.025 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/8.074, allocations: 0 / 3.025 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/8.074, allocations: 91.88 kB / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/8.074, allocations: 0 / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/8.074, allocations: 12 kB / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/8.074, allocations: 8.125 kB / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/8.074, allocations: 4 kB / 3.025 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/8.075, allocations: 0.8059 MB / 3.026 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002467/8.076, allocations: 180.3 kB / 3.026 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/8.076, allocations: 8 kB / 3.026 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/8.076, allocations: 59.8 kB / 3.026 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/8.076, allocations: 19.97 kB / 3.026 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/8.076, allocations: 15.98 kB / 3.026 GB, free: 117 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004089/8.077, allocations: 366.8 kB / 3.026 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/8.077, allocations: 0 / 3.026 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001634/8.078, allocations: 439.2 kB / 3.027 GB, free: 116.3 MB / 0.6823 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.003564/8.082, allocations: 2.919 MB / 3.029 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001034/8.083, allocations: 0.5197 MB / 3.03 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/8.083, allocations: 4 kB / 3.03 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002692/8.083, allocations: 175.7 kB / 3.03 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/8.085, allocations: 362.6 kB / 3.03 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005368/8.09, allocations: 3.992 MB / 3.034 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/8.091, allocations: 0.9412 MB / 3.035 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000798/8.092, allocations: 188.8 kB / 3.035 GB, free: 107 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/8.092, allocations: 215.4 kB / 3.036 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.494e-06/8.092, allocations: 0 / 3.036 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07802/8.17, allocations: 35.91 MB / 3.071 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003133/8.171, allocations: 189.9 kB / 3.071 GB, free: 70.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/11.54, allocations: 4 kB / 3.071 GB, free: 70.86 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_IDEAS.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)