Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) Using package TAeZoSysPro_testsuite with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo) Using package TAeZoSysPro with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe",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.007921/0.007921, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001309/0.00131, allocations: 197.3 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07056/0.07056, allocations: 10.97 MB / 280.9 MB, free: 10.15 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.03123/0.03123, allocations: 4.24 MB / 334.6 MB, free: 29.04 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.05 kB / 447.1 MB, free: 44.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08716/0.08863, allocations: 49.75 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe): time 0.5014/0.5901, allocations: 184.6 MB / 0.6655 GB, free: 10.49 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005927/0.5961, allocations: 5.032 MB / 0.6704 GB, free: 6.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003029/0.5964, allocations: 7.938 kB / 0.6704 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.5972, allocations: 194.8 kB / 0.6706 GB, free: 6.086 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.5977, allocations: 234.9 kB / 0.6708 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008152/0.6059, allocations: 2.961 MB / 0.6737 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001015/0.6069, allocations: 0.8259 MB / 0.6745 GB, free: 2.059 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003647/0.6073, allocations: 280.7 kB / 0.6748 GB, free: 1.777 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.6076, allocations: 307.1 kB / 0.6751 GB, free: 1.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.608, allocations: 318.9 kB / 0.6754 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.295e-05/0.6081, allocations: 40 kB / 0.6754 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009495/0.6176, allocations: 5.187 MB / 0.6805 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003046/0.6179, allocations: 199.6 kB / 0.6807 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003859/0.6183, allocations: 215 kB / 0.6809 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008145/0.6265, allocations: 3 MB / 0.6838 GB, free: 8.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.6265, allocations: 0 / 0.6838 GB, free: 8.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.6265, allocations: 0 / 0.6838 GB, free: 8.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.167e-05/0.6266, allocations: 4 kB / 0.6838 GB, free: 8.512 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.005115/0.6317, allocations: 1.461 MB / 0.6853 GB, free: 6.996 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.6318, allocations: 8.031 kB / 0.6853 GB, free: 6.988 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.6319, allocations: 74.72 kB / 0.6853 GB, free: 6.906 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.632, allocations: 36.7 kB / 0.6854 GB, free: 6.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.6326, allocations: 371.6 kB / 0.6857 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.6327, allocations: 21.22 kB / 0.6857 GB, free: 6.449 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.6328, allocations: 39.94 kB / 0.6858 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.6339, allocations: 0.7195 MB / 0.6865 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.634, allocations: 0 / 0.6865 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.634, allocations: 12 kB / 0.6865 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.552e-05/0.6341, allocations: 36.58 kB / 0.6865 GB, free: 5.605 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.6351, allocations: 0.6583 MB / 0.6872 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.6395, allocations: 2.611 MB / 0.6897 GB, free: 2.219 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.6409, allocations: 0.5099 MB / 0.6902 GB, free: 1.699 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.6413, allocations: 260.7 kB / 0.6905 GB, free: 1.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007331/0.6421, allocations: 0.6286 MB / 0.6911 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.6421, allocations: 30.56 kB / 0.6911 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.6421, allocations: 3.938 kB / 0.6911 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.0013/0.6434, allocations: 0.778 MB / 0.6919 GB, free: 15.86 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.6435, allocations: 55.41 kB / 0.6919 GB, free: 15.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.6438, allocations: 340.5 kB / 0.6923 GB, free: 15.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.074e-05/0.6439, allocations: 33.7 kB / 0.6923 GB, free: 15.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.6441, allocations: 236.1 kB / 0.6925 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/0.6442, allocations: 95.2 kB / 0.6926 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.6444, allocations: 114 kB / 0.6927 GB, free: 14.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6445, allocations: 342.8 kB / 0.693 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.645, allocations: 288.7 kB / 0.6933 GB, free: 14.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/0.6455, allocations: 420.4 kB / 0.6937 GB, free: 13.87 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.6465, allocations: 0.7183 MB / 0.6944 GB, free: 13.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6465, allocations: 0 / 0.6944 GB, free: 13.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001212/0.6477, allocations: 0.7743 MB / 0.6952 GB, free: 12.31 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.6477, allocations: 8 kB / 0.6952 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6477, allocations: 4 kB / 0.6952 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.6478, allocations: 11.94 kB / 0.6952 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006317/0.6484, allocations: 159.7 kB / 0.6953 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.6484, allocations: 9.562 kB / 0.6954 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.6488, allocations: 79.56 kB / 0.6954 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.6489, allocations: 36.66 kB / 0.6955 GB, free: 12.01 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 53 * 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.0002376/0.6491, allocations: 205.6 kB / 0.6957 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.6492, allocations: 39.83 kB / 0.6957 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6505, allocations: 0.713 MB / 0.6964 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6506, allocations: 4 kB / 0.6964 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6506, allocations: 0 / 0.6964 GB, free: 11.05 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.6506, allocations: 11.86 kB / 0.6964 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.6529, allocations: 1.724 MB / 0.6981 GB, free: 9.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.653, allocations: 8.094 kB / 0.6981 GB, free: 9.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005624/0.6535, allocations: 123.8 kB / 0.6982 GB, free: 9.043 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.6535, allocations: 3.938 kB / 0.6982 GB, free: 9.039 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.6536, allocations: 23.97 kB / 0.6982 GB, free: 9.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.6536, allocations: 4 kB / 0.6982 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6536, allocations: 3.938 kB / 0.6983 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6549, allocations: 0.997 MB / 0.6992 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.655, allocations: 108.9 kB / 0.6993 GB, free: 7.855 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.6551, allocations: 19.92 kB / 0.6993 GB, free: 7.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.6555, allocations: 39.94 kB / 0.6994 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.6555, allocations: 31.89 kB / 0.6994 GB, free: 7.766 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/0.6556, allocations: 15.98 kB / 0.6994 GB, free: 7.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002333/0.6558, allocations: 239 kB / 0.6997 GB, free: 7.52 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6558, allocations: 0 / 0.6997 GB, free: 7.52 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00127/0.6571, allocations: 494.4 kB / 0.7001 GB, free: 7.035 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (pipe.transport[1].u[1,1],pipe.transport[1].u[2,1],pipe.transport[1].u[3,1],pipe.transport[2].u[1,1],pipe.transport[2].u[2,1],pipe.transport[2].u[3,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 (31): * Single equations (assignments): 31 * 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.00295/0.6601, allocations: 2.042 MB / 0.7021 GB, free: 4.953 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.6611, allocations: 0.6164 MB / 0.7027 GB, free: 4.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.6611, allocations: 0 / 0.7027 GB, free: 4.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004018/0.6615, allocations: 277 kB / 0.703 GB, free: 4.066 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.6624, allocations: 157.1 kB / 0.7031 GB, free: 3.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.6689, allocations: 4.926 MB / 0.708 GB, free: 14.77 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6694, allocations: 0.8309 MB / 0.7088 GB, free: 13.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005784/0.67, allocations: 229.8 kB / 0.709 GB, free: 13.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.6703, allocations: 135.4 kB / 0.7091 GB, free: 13.55 MB / 494.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6703, allocations: 0 / 0.7091 GB, free: 13.55 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04137/0.7117, allocations: 18.55 MB / 0.7272 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.431/9.143, allocations: 0 / 0.7272 GB, free: 11.04 MB / 0.4981 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe 2>&1)