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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 192.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6536/0.6536, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 65.14 kB / 0.5014 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2949, allocations: 80.19 MB / 0.5797 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1606/0.4555, allocations: 180.8 MB / 0.7563 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00599/0.4615, allocations: 4.84 MB / 0.761 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003578/0.4619, allocations: 27.81 kB / 0.761 GB, free: 7.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008397/0.4628, allocations: 390 kB / 0.7614 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.4651, allocations: 1.326 MB / 0.7627 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.4664, allocations: 0.6999 MB / 0.7634 GB, free: 4.824 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001592/0.468, allocations: 1.848 MB / 0.7652 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005979/0.4687, allocations: 0.5784 MB / 0.7657 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.4698, allocations: 0.8716 MB / 0.7666 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.4707, allocations: 0.5707 MB / 0.7672 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-05/0.4708, allocations: 60 kB / 0.7672 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.4726, allocations: 1.469 MB / 0.7686 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.4728, allocations: 267.2 kB / 0.7689 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.4731, allocations: 398.1 kB / 0.7693 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.4745, allocations: 1.499 MB / 0.7707 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.4745, allocations: 3.938 kB / 0.7707 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4745, allocations: 0 / 0.7707 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.4746, allocations: 0 / 0.7707 GB, free: 13.24 MB / 0.6075 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.001414/0.476, allocations: 1.102 MB / 0.7718 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.476, allocations: 8.031 kB / 0.7718 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.198e-05/0.4761, allocations: 86.53 kB / 0.7719 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.4773, allocations: 218.8 kB / 0.7721 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.4781, allocations: 0.5809 MB / 0.7727 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.4781, allocations: 40.98 kB / 0.7727 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.4782, allocations: 48 kB / 0.7728 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.4789, allocations: 490.4 kB / 0.7732 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.479, allocations: 0 / 0.7732 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.479, allocations: 27.94 kB / 0.7733 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.135e-05/0.4791, allocations: 20.98 kB / 0.7733 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006879/0.4797, allocations: 431.7 kB / 0.7737 GB, free: 10.11 MB / 0.6075 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.002235/0.482, allocations: 2.002 MB / 0.7757 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.4825, allocations: 345.1 kB / 0.776 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.4828, allocations: 209.3 kB / 0.7762 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002458/0.4831, allocations: 194.5 kB / 0.7764 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.4831, allocations: 38.84 kB / 0.7764 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.242e-06/0.4831, allocations: 0 / 0.7764 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001079/0.4842, allocations: 0.546 MB / 0.7769 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.4842, allocations: 55.41 kB / 0.777 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004792/0.4847, allocations: 0.503 MB / 0.7775 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.4848, allocations: 33.7 kB / 0.7775 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.485, allocations: 308.1 kB / 0.7778 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.926e-05/0.485, allocations: 122.2 kB / 0.7779 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4852, allocations: 77.92 kB / 0.778 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.4853, allocations: 362.8 kB / 0.7783 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.4856, allocations: 138.1 kB / 0.7785 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.4859, allocations: 224.8 kB / 0.7787 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005066/0.4864, allocations: 335.2 kB / 0.779 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4864, allocations: 0 / 0.779 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006515/0.4871, allocations: 427.2 kB / 0.7794 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4871, allocations: 11.92 kB / 0.7794 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4871, allocations: 4 kB / 0.7794 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.4871, allocations: 0 / 0.7794 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.4874, allocations: 71.91 kB / 0.7795 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.036e-06/0.4875, allocations: 7.938 kB / 0.7795 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.4879, allocations: 57.86 kB / 0.7796 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.4879, allocations: 16 kB / 0.7796 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003831/0.4883, allocations: 308 kB / 0.7799 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002784/0.4886, allocations: 219.6 kB / 0.7801 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004924/0.4891, allocations: 339.4 kB / 0.7804 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.192e-06/0.4891, allocations: 3.938 kB / 0.7804 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006266/0.4898, allocations: 416.5 kB / 0.7808 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/0.4898, allocations: 6.344 kB / 0.7808 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.4898, allocations: 4 kB / 0.7808 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.4898, allocations: 3.938 kB / 0.7808 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.4901, allocations: 79.98 kB / 0.7809 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.4901, allocations: 7.938 kB / 0.7809 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004376/0.4905, allocations: 51.66 kB / 0.781 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.4906, allocations: 16 kB / 0.781 GB, free: 2.285 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4907, allocations: 200.2 kB / 0.7812 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.74e-05/0.4908, allocations: 63.28 kB / 0.7812 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.4915, allocations: 416.1 kB / 0.7816 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.4915, allocations: 7.984 kB / 0.7816 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4915, allocations: 0 / 0.7816 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005494/0.492, allocations: 436.2 kB / 0.782 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.4936, allocations: 1.171 MB / 0.7832 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4936, allocations: 0 / 0.7832 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.494, allocations: 83.89 kB / 0.7833 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.494, allocations: 4 kB / 0.7833 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4941, allocations: 11.98 kB / 0.7833 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4941, allocations: 4 kB / 0.7833 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4941, allocations: 0 / 0.7833 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009537/0.495, allocations: 0.7275 MB / 0.784 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.4952, allocations: 180.3 kB / 0.7842 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.4953, allocations: 12 kB / 0.7842 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.4958, allocations: 47.89 kB / 0.7842 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.4958, allocations: 27.91 kB / 0.7843 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.4959, allocations: 12 kB / 0.7843 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003437/0.4962, allocations: 362.8 kB / 0.7846 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4962, allocations: 4 kB / 0.7846 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006819/0.4969, allocations: 315.3 kB / 0.7849 GB, free: 14.07 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001414/0.4983, allocations: 1.379 MB / 0.7863 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008933/0.4992, allocations: 0.5362 MB / 0.7868 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4992, allocations: 4 kB / 0.7868 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.4995, allocations: 184.2 kB / 0.787 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.5009, allocations: 345.5 kB / 0.7873 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005477/0.5064, allocations: 4.938 MB / 0.7921 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.5068, allocations: 0.9411 MB / 0.793 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005252/0.5073, allocations: 180.8 kB / 0.7932 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.5076, allocations: 219.4 kB / 0.7934 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.5076, allocations: 0 / 0.7934 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.692/1.2, allocations: 16.54 MB / 0.8096 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/1.2, allocations: 210.3 kB / 0.8098 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.901, allocations: 3.938 kB / 0.8098 GB, free: 4.695 MB / 0.6387 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/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)