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.006092/0.006092, allocations: 99.3 kB / 15.73 MB, free: 5.602 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.00134/0.001341, allocations: 190.4 kB / 16.68 MB, free: 5.523 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7411/0.7411, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 57.12 kB / 0.5808 GB, free: 24.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1371, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.5058/0.643, allocations: 183.2 MB / 0.8381 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007495/0.6505, allocations: 4.859 MB / 0.8429 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.6515, allocations: 32.34 kB / 0.8429 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.6527, allocations: 449.9 kB / 0.8433 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003206/0.6559, allocations: 1.466 MB / 0.8447 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.6578, allocations: 0.7746 MB / 0.8455 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001863/0.6596, allocations: 1.856 MB / 0.8473 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00066/0.6603, allocations: 0.6005 MB / 0.8479 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.6617, allocations: 0.8979 MB / 0.8488 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009634/0.6627, allocations: 0.5412 MB / 0.8493 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.969e-05/0.6628, allocations: 57.5 kB / 0.8494 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.665, allocations: 1.421 MB / 0.8508 GB, free: 72 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.6653, allocations: 266.7 kB / 0.851 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003459/0.6656, allocations: 399.7 kB / 0.8514 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.6673, allocations: 1.432 MB / 0.8528 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6674, allocations: 0 / 0.8528 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6674, allocations: 0 / 0.8528 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.6674, allocations: 0 / 0.8528 GB, free: 14.74 MB / 0.6231 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.00152/0.6689, allocations: 1.127 MB / 0.8539 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.6689, allocations: 14.12 kB / 0.8539 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.444e-05/0.669, allocations: 83.12 kB / 0.854 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.6703, allocations: 224.1 kB / 0.8542 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/0.6712, allocations: 0.6177 MB / 0.8548 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.6712, allocations: 41.12 kB / 0.8548 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.6713, allocations: 52.48 kB / 0.8549 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007736/0.6721, allocations: 0.4888 MB / 0.8554 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.6721, allocations: 2.219 kB / 0.8554 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.6722, allocations: 21.22 kB / 0.8554 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.6722, allocations: 15.91 kB / 0.8554 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/0.6729, allocations: 434.1 kB / 0.8558 GB, free: 12.59 MB / 0.6231 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.002332/0.6752, allocations: 2.005 MB / 0.8578 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.6758, allocations: 348.5 kB / 0.8581 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.6761, allocations: 212.1 kB / 0.8583 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002487/0.6763, allocations: 194.5 kB / 0.8585 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.6764, allocations: 30.84 kB / 0.8585 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.513e-06/0.6764, allocations: 4 kB / 0.8585 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.001135/0.6775, allocations: 0.5499 MB / 0.8591 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.6776, allocations: 59.34 kB / 0.8591 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/0.6781, allocations: 0.503 MB / 0.8596 GB, free: 8.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.6781, allocations: 33.69 kB / 0.8596 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/0.6783, allocations: 308.6 kB / 0.8599 GB, free: 8.273 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.6784, allocations: 126.9 kB / 0.8601 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6785, allocations: 66.03 kB / 0.8601 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6786, allocations: 366.8 kB / 0.8605 GB, free: 7.711 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.6789, allocations: 146 kB / 0.8606 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.6792, allocations: 224.5 kB / 0.8608 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.6797, allocations: 340.2 kB / 0.8611 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6797, allocations: 0 / 0.8611 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006608/0.6804, allocations: 429 kB / 0.8616 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6804, allocations: 8 kB / 0.8616 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6804, allocations: 3.938 kB / 0.8616 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.6805, allocations: 4 kB / 0.8616 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.6808, allocations: 64 kB / 0.8616 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6808, allocations: 11.98 kB / 0.8616 GB, free: 6.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.6813, allocations: 39.77 kB / 0.8617 GB, free: 6.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.6813, allocations: 15.94 kB / 0.8617 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000391/0.6817, allocations: 304 kB / 0.862 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002859/0.682, allocations: 217.7 kB / 0.8622 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005057/0.6825, allocations: 335.3 kB / 0.8625 GB, free: 5.527 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.6825, allocations: 3.938 kB / 0.8625 GB, free: 5.523 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000629/0.6831, allocations: 421 kB / 0.8629 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.6832, allocations: 8 kB / 0.8629 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.6832, allocations: 0 / 0.8629 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-06/0.6832, allocations: 7.938 kB / 0.8629 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.6835, allocations: 67.89 kB / 0.863 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.6835, allocations: 4 kB / 0.863 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.6839, allocations: 45.75 kB / 0.863 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.6839, allocations: 8 kB / 0.8631 GB, free: 4.969 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.0001174/0.6841, allocations: 204.2 kB / 0.8632 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.6842, allocations: 63.61 kB / 0.8633 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006886/0.6848, allocations: 423.2 kB / 0.8637 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.6849, allocations: 4 kB / 0.8637 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.6849, allocations: 3.984 kB / 0.8637 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005526/0.6854, allocations: 440.2 kB / 0.8641 GB, free: 3.809 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.687, allocations: 1.174 MB / 0.8653 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.687, allocations: 0 / 0.8653 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003958/0.6874, allocations: 87.89 kB / 0.8654 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.6875, allocations: 0 / 0.8654 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.605e-05/0.6875, allocations: 15.98 kB / 0.8654 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.6875, allocations: 3.938 kB / 0.8654 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6875, allocations: 4 kB / 0.8654 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009553/0.6885, allocations: 0.7236 MB / 0.8661 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.6887, allocations: 188.6 kB / 0.8663 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.076e-05/0.6888, allocations: 8 kB / 0.8663 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.6892, allocations: 23.97 kB / 0.8663 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.6893, allocations: 27.91 kB / 0.8663 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.6893, allocations: 12 kB / 0.8663 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003497/0.6897, allocations: 366.8 kB / 0.8667 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6897, allocations: 0 / 0.8667 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007662/0.6904, allocations: 323.4 kB / 0.867 GB, free: 0.75 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.001505/0.6919, allocations: 1.367 MB / 0.8683 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008844/0.6928, allocations: 0.5152 MB / 0.8688 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6929, allocations: 0 / 0.8688 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.6931, allocations: 179.7 kB / 0.869 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.6946, allocations: 360 kB / 0.8694 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005267/0.6999, allocations: 4.645 MB / 0.8739 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.7003, allocations: 0.9295 MB / 0.8748 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005068/0.7008, allocations: 180.8 kB / 0.875 GB, free: 8.395 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.7011, allocations: 215.4 kB / 0.8752 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.7011, allocations: 0 / 0.8752 GB, free: 8.184 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/0.7357, allocations: 16.86 MB / 0.8916 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.911/8.646, allocations: 10.67 kB / 0.8917 GB, free: 7.582 MB / 0.6544 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)