Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Delays.Examples.Delay,fileNamePrefix="IDEAS_dev_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.001037/0.001037, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009764/0.0009763, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8498/0.8498, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 67.8 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1226, allocations: 80.91 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.3619/0.4846, allocations: 183.2 MB / 0.7634 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006618/0.4912, allocations: 4.859 MB / 0.7682 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006852/0.4919, allocations: 31.81 kB / 0.7682 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009552/0.4929, allocations: 429.3 kB / 0.7686 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.4958, allocations: 1.408 MB / 0.77 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.4975, allocations: 0.7754 MB / 0.7707 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.4994, allocations: 1.841 MB / 0.7725 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007328/0.5002, allocations: 0.5978 MB / 0.7731 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.5016, allocations: 0.8639 MB / 0.7739 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009956/0.5026, allocations: 0.5414 MB / 0.7745 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.5028, allocations: 60 kB / 0.7745 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.5049, allocations: 1.407 MB / 0.7759 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.5052, allocations: 271.2 kB / 0.7762 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004021/0.5056, allocations: 406.1 kB / 0.7766 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.5072, allocations: 1.402 MB / 0.7779 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5072, allocations: 0 / 0.7779 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5073, allocations: 0 / 0.7779 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.541e-05/0.5073, allocations: 0 / 0.7779 GB, free: 6.703 MB / 0.5919 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.001503/0.5088, allocations: 1.106 MB / 0.779 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.5088, allocations: 8.031 kB / 0.779 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.826e-05/0.5089, allocations: 86.53 kB / 0.7791 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.5102, allocations: 218.8 kB / 0.7793 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.5109, allocations: 0.5847 MB / 0.7799 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.511, allocations: 37 kB / 0.7799 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-05/0.511, allocations: 52 kB / 0.78 GB, free: 4.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.5118, allocations: 490.4 kB / 0.7804 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.5119, allocations: 3.984 kB / 0.7804 GB, free: 4.035 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/0.5119, allocations: 20 kB / 0.7804 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.5119, allocations: 20.94 kB / 0.7805 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.5127, allocations: 435.7 kB / 0.7809 GB, free: 3.57 MB / 0.5919 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.002341/0.515, allocations: 2.021 MB / 0.7829 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.5156, allocations: 348.7 kB / 0.7832 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.516, allocations: 206.3 kB / 0.7834 GB, free: 0.8242 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.5162, allocations: 194.5 kB / 0.7836 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5163, allocations: 42.84 kB / 0.7836 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 1.493e-06/0.5163, allocations: 0 / 0.7836 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00115/0.5174, allocations: 0.5377 MB / 0.7841 GB, free: 4 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5175, allocations: 55.41 kB / 0.7842 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.518, allocations: 0.5069 MB / 0.7847 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.518, allocations: 37.64 kB / 0.7847 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/0.5182, allocations: 308.1 kB / 0.785 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.595e-05/0.5183, allocations: 110.3 kB / 0.7851 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.5184, allocations: 77.92 kB / 0.7852 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5186, allocations: 358.8 kB / 0.7855 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.5188, allocations: 150.1 kB / 0.7857 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.5192, allocations: 222.3 kB / 0.7859 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.5197, allocations: 332.1 kB / 0.7862 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5197, allocations: 0 / 0.7862 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007009/0.5205, allocations: 426.5 kB / 0.7866 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.5205, allocations: 4 kB / 0.7866 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5205, allocations: 0 / 0.7866 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5205, allocations: 7.938 kB / 0.7866 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.5208, allocations: 76 kB / 0.7867 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5209, allocations: 3.938 kB / 0.7867 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/0.5213, allocations: 44.22 kB / 0.7867 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.5213, allocations: 12 kB / 0.7868 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004044/0.5218, allocations: 304 kB / 0.787 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002978/0.5221, allocations: 220.7 kB / 0.7873 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005181/0.5226, allocations: 331.4 kB / 0.7876 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.5226, allocations: 4 kB / 0.7876 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000673/0.5233, allocations: 420.5 kB / 0.788 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.5233, allocations: 4 kB / 0.788 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5233, allocations: 4 kB / 0.788 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.875e-06/0.5233, allocations: 0 / 0.788 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.5236, allocations: 79.83 kB / 0.7881 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5236, allocations: 3.938 kB / 0.7881 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.5241, allocations: 37.81 kB / 0.7881 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.5241, allocations: 15.69 kB / 0.7881 GB, free: 11.79 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.0001139/0.5242, allocations: 201.5 kB / 0.7883 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.5243, allocations: 67.23 kB / 0.7884 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.5251, allocations: 425.8 kB / 0.7888 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5251, allocations: 8 kB / 0.7888 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5251, allocations: 0 / 0.7888 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005806/0.5257, allocations: 436.2 kB / 0.7892 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.5273, allocations: 1.175 MB / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.5273, allocations: 0 / 0.7904 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004101/0.5277, allocations: 83.89 kB / 0.7904 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5277, allocations: 4 kB / 0.7904 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.5277, allocations: 8 kB / 0.7904 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5278, allocations: 7.984 kB / 0.7905 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5278, allocations: 8.172 kB / 0.7905 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009787/0.5287, allocations: 0.7266 MB / 0.7912 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.5289, allocations: 176.4 kB / 0.7913 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.529, allocations: 12 kB / 0.7913 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.5295, allocations: 23.97 kB / 0.7914 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.5296, allocations: 27.91 kB / 0.7914 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.5296, allocations: 16 kB / 0.7914 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003636/0.53, allocations: 362.8 kB / 0.7918 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.53, allocations: 0 / 0.7918 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007091/0.5307, allocations: 319.3 kB / 0.7921 GB, free: 7.578 MB / 0.6075 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.001447/0.5321, allocations: 1.364 MB / 0.7934 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009676/0.5331, allocations: 0.5395 MB / 0.7939 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5331, allocations: 0 / 0.7939 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.5334, allocations: 179.7 kB / 0.7941 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.5349, allocations: 365.2 kB / 0.7944 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.5403, allocations: 4.728 MB / 0.7991 GB, free: 292 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.5407, allocations: 0.9373 MB / 0.8 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005611/0.5413, allocations: 180.8 kB / 0.8001 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.5415, allocations: 219.4 kB / 0.8004 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.5416, allocations: 0 / 0.8004 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/0.5765, allocations: 16.74 MB / 0.8167 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.195/7.772, allocations: 19.08 kB / 0.8167 GB, free: 14.42 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Delays_Examples_Delay.fmu > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1)