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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 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.001062/0.001062, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7339/0.7339, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 71.75 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3265, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1817/0.5083, allocations: 183.2 MB / 0.7591 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007194/0.5155, allocations: 4.865 MB / 0.7639 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007903/0.5164, allocations: 35.75 kB / 0.7639 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5175, allocations: 433.3 kB / 0.7643 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.5206, allocations: 1.411 MB / 0.7657 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.5224, allocations: 0.7675 MB / 0.7665 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002128/0.5245, allocations: 1.843 MB / 0.7683 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008163/0.5253, allocations: 0.5979 MB / 0.7688 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.5269, allocations: 0.8755 MB / 0.7697 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.528, allocations: 0.5399 MB / 0.7702 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.5281, allocations: 56 kB / 0.7703 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.5303, allocations: 1.415 MB / 0.7717 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.5306, allocations: 259.3 kB / 0.7719 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004571/0.5311, allocations: 402 kB / 0.7723 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001903/0.533, allocations: 1.41 MB / 0.7737 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.533, allocations: 0 / 0.7737 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.272e-06/0.533, allocations: 0 / 0.7737 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.533, allocations: 4 kB / 0.7737 GB, free: 10.75 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.001685/0.5347, allocations: 1.102 MB / 0.7747 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.5348, allocations: 8.031 kB / 0.7747 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.582e-05/0.5349, allocations: 82.53 kB / 0.7748 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.5362, allocations: 218.8 kB / 0.775 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.537, allocations: 0.5809 MB / 0.7756 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.5371, allocations: 37 kB / 0.7756 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.5371, allocations: 44 kB / 0.7757 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008217/0.538, allocations: 0.4906 MB / 0.7762 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.538, allocations: 0 / 0.7762 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.5381, allocations: 27.92 kB / 0.7762 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.5381, allocations: 17 kB / 0.7762 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007688/0.5389, allocations: 435.7 kB / 0.7766 GB, free: 7.625 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.002571/0.5414, allocations: 2.017 MB / 0.7786 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005545/0.542, allocations: 349 kB / 0.7789 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.5423, allocations: 208.7 kB / 0.7791 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.5426, allocations: 194.5 kB / 0.7793 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.5427, allocations: 38.84 kB / 0.7793 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.5427, allocations: 0 / 0.7793 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.00123/0.5439, allocations: 0.5421 MB / 0.7799 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.544, allocations: 55.41 kB / 0.7799 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000529/0.5445, allocations: 0.503 MB / 0.7804 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.5445, allocations: 37.7 kB / 0.7805 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.5448, allocations: 304.2 kB / 0.7807 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.5449, allocations: 118.2 kB / 0.7809 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.545, allocations: 77.92 kB / 0.7809 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.5452, allocations: 362.8 kB / 0.7813 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.5455, allocations: 146.1 kB / 0.7814 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.5458, allocations: 224.8 kB / 0.7816 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005744/0.5464, allocations: 331.2 kB / 0.7819 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5464, allocations: 0 / 0.7819 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007269/0.5471, allocations: 439.1 kB / 0.7824 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.5472, allocations: 10.44 kB / 0.7824 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.5472, allocations: 0 / 0.7824 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5472, allocations: 4 kB / 0.7824 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.5475, allocations: 71.91 kB / 0.7824 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.5476, allocations: 0 / 0.7824 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004454/0.548, allocations: 39.72 kB / 0.7825 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.171e-05/0.548, allocations: 16.09 kB / 0.7825 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004119/0.5485, allocations: 304 kB / 0.7828 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002933/0.5488, allocations: 211.6 kB / 0.783 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005255/0.5493, allocations: 339.3 kB / 0.7833 GB, free: 404 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.412e-06/0.5493, allocations: 0 / 0.7833 GB, free: 404 kB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006788/0.55, allocations: 424.5 kB / 0.7837 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.55, allocations: 8.094 kB / 0.7837 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.55, allocations: 0 / 0.7837 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.441e-06/0.55, allocations: 7.938 kB / 0.7837 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.5503, allocations: 75.89 kB / 0.7838 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.5504, allocations: 0 / 0.7838 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.5508, allocations: 31.73 kB / 0.7838 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.5508, allocations: 16 kB / 0.7839 GB, free: 15.84 MB / 0.6231 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.0001247/0.551, allocations: 200.1 kB / 0.784 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5511, allocations: 71.27 kB / 0.7841 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000735/0.5518, allocations: 420 kB / 0.7845 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5518, allocations: 7.984 kB / 0.7845 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5518, allocations: 0 / 0.7845 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005731/0.5524, allocations: 432.3 kB / 0.7849 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.554, allocations: 1.169 MB / 0.7861 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.554, allocations: 0 / 0.7861 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.5544, allocations: 92.08 kB / 0.7862 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.5545, allocations: 4 kB / 0.7862 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.5545, allocations: 8 kB / 0.7862 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5545, allocations: 7.984 kB / 0.7862 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5545, allocations: 0 / 0.7862 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.5555, allocations: 0.7264 MB / 0.7869 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.5558, allocations: 176.4 kB / 0.7871 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.693e-05/0.5559, allocations: 8 kB / 0.7871 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/0.5563, allocations: 38.03 kB / 0.7871 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.5564, allocations: 27.84 kB / 0.7871 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.5564, allocations: 16 kB / 0.7871 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003871/0.5568, allocations: 362.8 kB / 0.7875 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5568, allocations: 0 / 0.7875 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000799/0.5576, allocations: 323.2 kB / 0.7878 GB, free: 11.62 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.00158/0.5592, allocations: 1.366 MB / 0.7891 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001118/0.5603, allocations: 0.5346 MB / 0.7897 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5604, allocations: 384 / 0.7897 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004366/0.5608, allocations: 184.5 kB / 0.7898 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.5624, allocations: 350.1 kB / 0.7902 GB, free: 9.168 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.5683, allocations: 4.73 MB / 0.7948 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004966/0.5688, allocations: 0.9411 MB / 0.7957 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005951/0.5694, allocations: 184.8 kB / 0.7959 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/0.5697, allocations: 215.4 kB / 0.7961 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.5697, allocations: 3.938 kB / 0.7961 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.6058, allocations: 16.74 MB / 0.8124 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.186/7.792, allocations: 6.812 kB / 0.8124 GB, free: 2.469 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 & 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)