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.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00142/0.00142, allocations: 192 kB / 16.14 MB, free: 6.254 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.34/1.34, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7162/0.7162, allocations: 132.2 MB / 422.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 59.75 kB / 0.5012 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4233, allocations: 80.21 MB / 0.5795 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1701/0.5934, allocations: 181 MB / 0.7563 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006788/0.6003, allocations: 4.936 MB / 0.7611 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.6007, allocations: 27.81 kB / 0.7611 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.6016, allocations: 374 kB / 0.7615 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.6039, allocations: 1.329 MB / 0.7628 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.6052, allocations: 0.6923 MB / 0.7634 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.6071, allocations: 2.522 MB / 0.7659 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.6077, allocations: 0.5031 MB / 0.7664 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.6088, allocations: 0.7858 MB / 0.7672 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008385/0.6097, allocations: 0.5588 MB / 0.7677 GB, free: 316 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.6098, allocations: 28 kB / 0.7677 GB, free: 288 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.6118, allocations: 1.617 MB / 0.7693 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.612, allocations: 239.3 kB / 0.7695 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.6123, allocations: 374 kB / 0.7699 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001387/0.6137, allocations: 1.464 MB / 0.7713 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.6137, allocations: 0 / 0.7713 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.6137, allocations: 4 kB / 0.7713 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.6137, allocations: 0 / 0.7713 GB, free: 12.59 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.001376/0.6151, allocations: 1.098 MB / 0.7724 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.6151, allocations: 12.03 kB / 0.7724 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.881e-05/0.6152, allocations: 86.52 kB / 0.7725 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.6164, allocations: 214.8 kB / 0.7727 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007049/0.6171, allocations: 0.5809 MB / 0.7733 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.6171, allocations: 37 kB / 0.7733 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.775e-05/0.6172, allocations: 44 kB / 0.7733 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007544/0.618, allocations: 0.4905 MB / 0.7738 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.618, allocations: 0 / 0.7738 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.618, allocations: 27.88 kB / 0.7738 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.6181, allocations: 17 kB / 0.7739 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.6188, allocations: 435.7 kB / 0.7743 GB, free: 9.457 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.002137/0.6209, allocations: 2.002 MB / 0.7762 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004948/0.6214, allocations: 349.1 kB / 0.7766 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.6217, allocations: 205.2 kB / 0.7768 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.622, allocations: 202.5 kB / 0.777 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.622, allocations: 38.78 kB / 0.777 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.333e-06/0.622, allocations: 0 / 0.777 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.001083/0.6231, allocations: 0.5429 MB / 0.7775 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.6231, allocations: 55.41 kB / 0.7776 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.6236, allocations: 0.5069 MB / 0.7781 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.6237, allocations: 33.7 kB / 0.7781 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.6238, allocations: 300.2 kB / 0.7784 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.871e-05/0.6239, allocations: 126.2 kB / 0.7785 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.624, allocations: 65.94 kB / 0.7786 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6242, allocations: 374.8 kB / 0.7789 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.6244, allocations: 138.1 kB / 0.7791 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.6247, allocations: 224.8 kB / 0.7793 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.6252, allocations: 335.2 kB / 0.7796 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6252, allocations: 3.984 kB / 0.7796 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006445/0.6259, allocations: 426 kB / 0.78 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6259, allocations: 11.94 kB / 0.78 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.6259, allocations: 0 / 0.78 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.6259, allocations: 0 / 0.78 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.6263, allocations: 75.89 kB / 0.7801 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6263, allocations: 4.078 kB / 0.7801 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/0.6267, allocations: 51.81 kB / 0.7801 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.6268, allocations: 19.97 kB / 0.7802 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003821/0.6272, allocations: 304 kB / 0.7805 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002805/0.6275, allocations: 219.6 kB / 0.7807 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000478/0.6279, allocations: 328.6 kB / 0.781 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.113e-06/0.6279, allocations: 4 kB / 0.781 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006148/0.6286, allocations: 420.5 kB / 0.7814 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/0.6286, allocations: 8 kB / 0.7814 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.6286, allocations: 0 / 0.7814 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/0.6286, allocations: 7.938 kB / 0.7814 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.6289, allocations: 67.91 kB / 0.7815 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.6289, allocations: 4 kB / 0.7815 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.6294, allocations: 65.91 kB / 0.7815 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.6294, allocations: 15.94 kB / 0.7815 GB, free: 1.641 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.000105/0.6295, allocations: 200.2 kB / 0.7817 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.952e-05/0.6296, allocations: 59.28 kB / 0.7818 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.6303, allocations: 431.2 kB / 0.7822 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.6303, allocations: 4 kB / 0.7822 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6303, allocations: 0 / 0.7822 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005363/0.6308, allocations: 424.3 kB / 0.7826 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.6323, allocations: 1.171 MB / 0.7838 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6323, allocations: 8.188 kB / 0.7838 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.6327, allocations: 83.89 kB / 0.7838 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.6327, allocations: 8 kB / 0.7838 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.6328, allocations: 8 kB / 0.7839 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.6328, allocations: 4 kB / 0.7839 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6328, allocations: 7.938 kB / 0.7839 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009243/0.6337, allocations: 0.7237 MB / 0.7846 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/0.6339, allocations: 176.3 kB / 0.7847 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.634, allocations: 15.98 kB / 0.7848 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.6345, allocations: 43.89 kB / 0.7848 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/0.6345, allocations: 35.84 kB / 0.7848 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.6346, allocations: 12.09 kB / 0.7848 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003436/0.6349, allocations: 366.8 kB / 0.7852 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6349, allocations: 0 / 0.7852 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006615/0.6356, allocations: 311.3 kB / 0.7855 GB, free: 13.42 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.001373/0.637, allocations: 1.37 MB / 0.7868 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008176/0.6378, allocations: 0.5012 MB / 0.7873 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6378, allocations: 0 / 0.7873 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.6381, allocations: 188.3 kB / 0.7875 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.64, allocations: 366.2 kB / 0.7878 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005502/0.6455, allocations: 4.942 MB / 0.7927 GB, free: 5.895 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004505/0.6459, allocations: 0.9372 MB / 0.7936 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000542/0.6465, allocations: 180.8 kB / 0.7938 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.6468, allocations: 219.4 kB / 0.794 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.6468, allocations: 0 / 0.794 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.24/3.887, allocations: 16.27 MB / 0.8099 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/3.887, allocations: 220.8 kB / 0.8101 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/5.922, allocations: 3.984 kB / 0.8101 GB, free: 4.285 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)