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.00161/0.00161, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7471/0.7471, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.429/1.429, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 97.88 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.36e-05, allocations: 7.172 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1565, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.613/4.77, allocations: 1.886 GB / 2.526 GB, free: 42.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/4.77, allocations: 91.94 kB / 2.526 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.768/6.538, allocations: 488.8 MB / 3.004 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.442e-06/6.538, allocations: 0 / 3.004 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001301/6.538, allocations: 20 kB / 3.004 GB, free: 92.85 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.00262/6.541, allocations: 0.9698 MB / 3.005 GB, free: 91.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/6.541, allocations: 8.031 kB / 3.005 GB, free: 91.82 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/6.541, allocations: 94.39 kB / 3.005 GB, free: 91.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/6.543, allocations: 202.9 kB / 3.005 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/6.544, allocations: 0.6281 MB / 3.005 GB, free: 90.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/6.544, allocations: 37 kB / 3.006 GB, free: 90.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/6.544, allocations: 52 kB / 3.006 GB, free: 90.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/6.545, allocations: 454.5 kB / 3.006 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/6.545, allocations: 0 / 3.006 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/6.545, allocations: 20 kB / 3.006 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/6.545, allocations: 21 kB / 3.006 GB, free: 90.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/6.546, allocations: 379.9 kB / 3.006 GB, free: 89.91 MB / 0.6823 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.002596/6.548, allocations: 2.013 MB / 3.008 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/6.549, allocations: 312.4 kB / 3.009 GB, free: 87.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/6.549, allocations: 185.9 kB / 3.009 GB, free: 87.21 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/6.549, allocations: 194.5 kB / 3.009 GB, free: 86.99 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/6.549, allocations: 38.84 kB / 3.009 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.083e-06/6.549, allocations: 0 / 3.009 GB, free: 86.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.0007937/6.55, allocations: 383 kB / 3.009 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/6.55, allocations: 55.41 kB / 3.009 GB, free: 86.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004443/6.551, allocations: 449 kB / 3.01 GB, free: 86.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.099e-05/6.551, allocations: 33.7 kB / 3.01 GB, free: 86.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/6.551, allocations: 304.2 kB / 3.01 GB, free: 85.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/6.551, allocations: 122.3 kB / 3.01 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/6.551, allocations: 4 kB / 3.01 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/6.551, allocations: 362.8 kB / 3.011 GB, free: 85.22 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/6.551, allocations: 116.6 kB / 3.011 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/6.551, allocations: 210.6 kB / 3.011 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/6.552, allocations: 143.9 kB / 3.011 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/6.552, allocations: 0 / 3.011 GB, free: 84.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000518/6.552, allocations: 401 kB / 3.012 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/6.552, allocations: 360 kB / 3.012 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/6.552, allocations: 4.094 kB / 3.012 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/6.552, allocations: 3.938 kB / 3.012 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/6.553, allocations: 79.89 kB / 3.012 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/6.553, allocations: 0 / 3.012 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/6.553, allocations: 63.66 kB / 3.012 GB, free: 83.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/6.553, allocations: 23.94 kB / 3.012 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/6.553, allocations: 5.094 kB / 3.012 GB, free: 83.77 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004121/6.554, allocations: 303.6 kB / 3.012 GB, free: 83.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/6.554, allocations: 8.078 kB / 3.012 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/6.554, allocations: 4 kB / 3.012 GB, free: 83.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/6.554, allocations: 75.84 kB / 3.012 GB, free: 83.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/6.554, allocations: 4 kB / 3.012 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/6.555, allocations: 63.64 kB / 3.013 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3e-05/6.555, allocations: 12 kB / 3.013 GB, free: 83.31 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 () * 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.616e-05/6.555, allocations: 127.2 kB / 3.013 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/6.555, allocations: 63.2 kB / 3.013 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/6.555, allocations: 383.2 kB / 3.013 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/6.556, allocations: 11.94 kB / 3.013 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/6.556, allocations: 0 / 3.013 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003705/6.556, allocations: 400.8 kB / 3.013 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/6.557, allocations: 1.141 MB / 3.015 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/6.557, allocations: 4 kB / 3.015 GB, free: 81.09 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/6.558, allocations: 87.89 kB / 3.015 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/6.558, allocations: 4 kB / 3.015 GB, free: 81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/6.558, allocations: 8 kB / 3.015 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/6.558, allocations: 0 / 3.015 GB, free: 80.99 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/6.558, allocations: 4 kB / 3.015 GB, free: 80.98 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007281/6.559, allocations: 0.7447 MB / 3.015 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002527/6.559, allocations: 176.5 kB / 3.016 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-05/6.559, allocations: 8 kB / 3.016 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005541/6.559, allocations: 63.77 kB / 3.016 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/6.56, allocations: 23.97 kB / 3.016 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/6.56, allocations: 15.95 kB / 3.016 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003321/6.56, allocations: 361.5 kB / 3.016 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/6.56, allocations: 3.938 kB / 3.016 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001209/6.561, allocations: 435.3 kB / 3.016 GB, free: 79.09 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 () * 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.002697/6.564, allocations: 2.874 MB / 3.019 GB, free: 76.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006845/6.565, allocations: 491.2 kB / 3.02 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/6.565, allocations: 384 / 3.02 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/6.565, allocations: 176 kB / 3.02 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/6.566, allocations: 355.7 kB / 3.02 GB, free: 75.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/6.568, allocations: 1.159 MB / 3.021 GB, free: 73.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/6.569, allocations: 0.95 MB / 3.022 GB, free: 72.92 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008216/6.569, allocations: 236.7 kB / 3.023 GB, free: 72.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/6.57, allocations: 211.4 kB / 3.023 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/6.57, allocations: 0 / 3.023 GB, free: 72.49 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/6.63, allocations: 40.14 MB / 3.062 GB, free: 32.55 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001319/6.63, allocations: 167.1 kB / 3.062 GB, free: 32.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.226/9.856, allocations: 0 / 3.062 GB, free: 32.33 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)