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.009089/0.009089, allocations: 100.6 kB / 15.73 MB, free: 6.484 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.002366/0.002367, allocations: 193.3 kB / 16.68 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.184/2.184, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.201/1.201, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002883/0.002884, allocations: 72.02 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6415, allocations: 80.2 MB / 0.6592 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.3386/0.9802, allocations: 183.2 MB / 0.8381 GB, free: 14.42 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01336/0.9937, allocations: 4.851 MB / 0.8429 GB, free: 9.555 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.9953, allocations: 31.81 kB / 0.8429 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002083/0.9975, allocations: 433.3 kB / 0.8433 GB, free: 9.098 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006009/1.004, allocations: 1.404 MB / 0.8447 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003666/1.007, allocations: 0.7831 MB / 0.8454 GB, free: 6.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004285/1.012, allocations: 1.85 MB / 0.8473 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/1.013, allocations: 0.5979 MB / 0.8478 GB, free: 4.445 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00309/1.016, allocations: 0.8686 MB / 0.8487 GB, free: 3.574 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/1.019, allocations: 0.5473 MB / 0.8492 GB, free: 3.031 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002989/1.019, allocations: 60 kB / 0.8493 GB, free: 2.973 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004608/1.024, allocations: 1.407 MB / 0.8506 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006439/1.024, allocations: 267.2 kB / 0.8509 GB, free: 1.301 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/1.025, allocations: 402.1 kB / 0.8513 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/1.03, allocations: 1.433 MB / 0.8527 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.03, allocations: 0 / 0.8527 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.095e-06/1.03, allocations: 0 / 0.8527 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.783e-05/1.03, allocations: 3.938 kB / 0.8527 GB, free: 15.46 MB / 0.6856 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.003687/1.034, allocations: 1.132 MB / 0.8538 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/1.034, allocations: 8.031 kB / 0.8538 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002508/1.034, allocations: 94.45 kB / 0.8539 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/1.036, allocations: 207.3 kB / 0.8541 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/1.038, allocations: 0.6205 MB / 0.8547 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/1.038, allocations: 33 kB / 0.8547 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.039, allocations: 55.94 kB / 0.8548 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/1.04, allocations: 0.5022 MB / 0.8553 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/1.04, allocations: 3.938 kB / 0.8553 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/1.04, allocations: 16 kB / 0.8553 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/1.04, allocations: 17 kB / 0.8553 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.042, allocations: 431.7 kB / 0.8557 GB, free: 12.26 MB / 0.6856 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.004878/1.047, allocations: 2.002 MB / 0.8577 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/1.048, allocations: 344.2 kB / 0.858 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/1.048, allocations: 206.3 kB / 0.8582 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000462/1.049, allocations: 198.4 kB / 0.8584 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/1.049, allocations: 38.78 kB / 0.8584 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=33): time 3.927e-06/1.049, allocations: 8 kB / 0.8584 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=33): time 0.002189/1.051, allocations: 0.5385 MB / 0.859 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/1.051, allocations: 59.34 kB / 0.859 GB, free: 8.637 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/1.052, allocations: 0.5069 MB / 0.8595 GB, free: 8.121 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-05/1.052, allocations: 41.7 kB / 0.8596 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/1.053, allocations: 296.6 kB / 0.8598 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/1.053, allocations: 130.9 kB / 0.86 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/1.053, allocations: 66.03 kB / 0.86 GB, free: 7.582 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002514/1.054, allocations: 366.8 kB / 0.8604 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/1.054, allocations: 138.1 kB / 0.8605 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/1.055, allocations: 229.1 kB / 0.8607 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/1.056, allocations: 339.1 kB / 0.861 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.056, allocations: 0 / 0.861 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00132/1.057, allocations: 427.6 kB / 0.8615 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/1.057, allocations: 13.5 kB / 0.8615 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.057, allocations: 0 / 0.8615 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/1.057, allocations: 7.984 kB / 0.8615 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005889/1.058, allocations: 75.98 kB / 0.8615 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/1.058, allocations: 4 kB / 0.8615 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007636/1.059, allocations: 35.77 kB / 0.8616 GB, free: 5.93 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/1.059, allocations: 16 kB / 0.8616 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007561/1.059, allocations: 308 kB / 0.8619 GB, free: 5.609 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005689/1.06, allocations: 215.5 kB / 0.8621 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009586/1.061, allocations: 335.3 kB / 0.8624 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/1.061, allocations: 0 / 0.8624 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001261/1.062, allocations: 425 kB / 0.8628 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.062, allocations: 4 kB / 0.8628 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.062, allocations: 7.922 kB / 0.8628 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/1.062, allocations: 4 kB / 0.8628 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005236/1.063, allocations: 67.91 kB / 0.8629 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.063, allocations: 0 / 0.8629 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007623/1.064, allocations: 39.92 kB / 0.8629 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/1.064, allocations: 19.98 kB / 0.863 GB, free: 4.469 MB / 0.6856 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.000217/1.064, allocations: 192.2 kB / 0.8631 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/1.064, allocations: 71.5 kB / 0.8632 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.066, allocations: 424.2 kB / 0.8636 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.066, allocations: 4 kB / 0.8636 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.066, allocations: 0 / 0.8636 GB, free: 3.773 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001063/1.067, allocations: 436.2 kB / 0.864 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/1.07, allocations: 1.177 MB / 0.8652 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/1.07, allocations: 4 kB / 0.8652 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/1.071, allocations: 91.88 kB / 0.8653 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/1.071, allocations: 4 kB / 0.8653 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/1.071, allocations: 8 kB / 0.8653 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/1.071, allocations: 3.938 kB / 0.8653 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/1.071, allocations: 4 kB / 0.8653 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/1.073, allocations: 0.7231 MB / 0.866 GB, free: 1.195 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/1.073, allocations: 184.6 kB / 0.8662 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.073, allocations: 8 kB / 0.8662 GB, free: 0.9883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/1.074, allocations: 30.48 kB / 0.8662 GB, free: 0.9609 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/1.074, allocations: 27.91 kB / 0.8662 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/1.074, allocations: 12 kB / 0.8663 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007414/1.075, allocations: 366.8 kB / 0.8666 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/1.075, allocations: 0 / 0.8666 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001517/1.076, allocations: 327.4 kB / 0.8669 GB, free: 252 kB / 0.6856 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.4717/1.548, allocations: 1.353 MB / 0.8682 GB, free: 195.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001769/1.55, allocations: 0.5163 MB / 0.8687 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.55, allocations: 1.156 kB / 0.8687 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005356/1.55, allocations: 180.1 kB / 0.8689 GB, free: 195.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00288/1.553, allocations: 353 kB / 0.8692 GB, free: 195.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/1.564, allocations: 4.639 MB / 0.8738 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/1.564, allocations: 0.9293 MB / 0.8747 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001172/1.566, allocations: 181.9 kB / 0.8749 GB, free: 192 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004535/1.566, allocations: 225.5 kB / 0.8751 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/1.566, allocations: 0 / 0.8751 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07467/1.641, allocations: 16.87 MB / 0.8916 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.91, allocations: 5.484 kB / 0.8916 GB, free: 184.7 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IDEAS_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)