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.006211/0.006211, allocations: 99.25 kB / 15.73 MB, free: 6.492 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.00139/0.00139, allocations: 198.5 kB / 16.68 MB, free: 6.375 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.573/1.573, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07093/0.07093, allocations: 10.98 MB / 280.9 MB, free: 10.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02005/0.02005, allocations: 4.244 MB / 334.6 MB, free: 29.02 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.002047/0.002047, allocations: 71 kB / 447.1 MB, free: 44.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07984/0.08191, allocations: 49.74 MB / 496.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe): time 0.4661/0.548, allocations: 184.6 MB / 0.6655 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006405/0.5545, allocations: 5.046 MB / 0.6704 GB, free: 6.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.5548, allocations: 8 kB / 0.6704 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.5557, allocations: 182.8 kB / 0.6706 GB, free: 6.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005081/0.5562, allocations: 234.9 kB / 0.6708 GB, free: 6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008719/0.5649, allocations: 2.958 MB / 0.6737 GB, free: 3.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.5662, allocations: 0.822 MB / 0.6745 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004602/0.5666, allocations: 276.7 kB / 0.6748 GB, free: 1.938 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004148/0.5671, allocations: 307.1 kB / 0.6751 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004664/0.5675, allocations: 319 kB / 0.6754 GB, free: 1.324 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.651e-05/0.5676, allocations: 40 kB / 0.6754 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009533/0.5772, allocations: 5.175 MB / 0.6805 GB, free: 12.1 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.5775, allocations: 203.6 kB / 0.6807 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.5778, allocations: 207.1 kB / 0.6809 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.5849, allocations: 3.004 MB / 0.6838 GB, free: 8.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5849, allocations: 4 kB / 0.6838 GB, free: 8.684 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5849, allocations: 0 / 0.6838 GB, free: 8.684 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5849, allocations: 0 / 0.6838 GB, free: 8.684 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.00418/0.5891, allocations: 1.45 MB / 0.6852 GB, free: 7.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.5892, allocations: 12.03 kB / 0.6852 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.5893, allocations: 78.7 kB / 0.6853 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.5895, allocations: 40.7 kB / 0.6853 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005718/0.59, allocations: 367.6 kB / 0.6857 GB, free: 6.645 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.5901, allocations: 21.22 kB / 0.6857 GB, free: 6.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.5902, allocations: 35.94 kB / 0.6857 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.5914, allocations: 0.7234 MB / 0.6865 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.5914, allocations: 0 / 0.6865 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.5915, allocations: 12 kB / 0.6865 GB, free: 5.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.148e-05/0.5916, allocations: 36.62 kB / 0.6865 GB, free: 5.781 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.5926, allocations: 0.6505 MB / 0.6871 GB, free: 5.133 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004297/0.5969, allocations: 2.619 MB / 0.6897 GB, free: 2.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.5985, allocations: 0.51 MB / 0.6902 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.5989, allocations: 260.6 kB / 0.6904 GB, free: 1.617 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007686/0.5996, allocations: 0.6324 MB / 0.6911 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5997, allocations: 38.5 kB / 0.6911 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.5997, allocations: 0 / 0.6911 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.001438/0.6011, allocations: 0.7664 MB / 0.6918 GB, free: 36 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.6012, allocations: 55.41 kB / 0.6919 GB, free: 15.97 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000384/0.6016, allocations: 340.4 kB / 0.6922 GB, free: 15.63 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.6017, allocations: 33.7 kB / 0.6923 GB, free: 15.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.6018, allocations: 240.1 kB / 0.6925 GB, free: 15.35 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.6019, allocations: 91.27 kB / 0.6926 GB, free: 15.26 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.6021, allocations: 114 kB / 0.6927 GB, free: 15.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6023, allocations: 350.8 kB / 0.693 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.6028, allocations: 280.7 kB / 0.6933 GB, free: 14.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.6033, allocations: 427.2 kB / 0.6937 GB, free: 14.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6044, allocations: 0.7105 MB / 0.6944 GB, free: 13.27 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6044, allocations: 0 / 0.6944 GB, free: 13.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001306/0.6057, allocations: 0.7777 MB / 0.6951 GB, free: 12.49 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6057, allocations: 12.5 kB / 0.6951 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.6058, allocations: 4 kB / 0.6952 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/0.6058, allocations: 12 kB / 0.6952 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.6065, allocations: 155.8 kB / 0.6953 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.6066, allocations: 11.94 kB / 0.6953 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003758/0.607, allocations: 79.5 kB / 0.6954 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.607, allocations: 35.97 kB / 0.6954 GB, free: 12.18 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.0002514/0.6073, allocations: 205.5 kB / 0.6956 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.804e-05/0.6074, allocations: 35.77 kB / 0.6957 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.6088, allocations: 0.7173 MB / 0.6964 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6088, allocations: 4 kB / 0.6964 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6088, allocations: 0 / 0.6964 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.6088, allocations: 3.984 kB / 0.6964 GB, free: 11.22 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.6114, allocations: 1.736 MB / 0.6981 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6114, allocations: 0 / 0.6981 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.6119, allocations: 111.8 kB / 0.6982 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.612, allocations: 3.938 kB / 0.6982 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.612, allocations: 32.08 kB / 0.6982 GB, free: 9.195 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.365e-06/0.612, allocations: 11.64 kB / 0.6982 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.612, allocations: 0 / 0.6982 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.6135, allocations: 1.005 MB / 0.6992 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.6136, allocations: 104.9 kB / 0.6993 GB, free: 8.031 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.6137, allocations: 19.98 kB / 0.6993 GB, free: 8.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.614, allocations: 39.94 kB / 0.6994 GB, free: 7.973 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.6141, allocations: 23.97 kB / 0.6994 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.6142, allocations: 20.8 kB / 0.6994 GB, free: 7.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.6145, allocations: 247 kB / 0.6996 GB, free: 7.691 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6145, allocations: 0 / 0.6996 GB, free: 7.691 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001611/0.6161, allocations: 494.4 kB / 0.7001 GB, free: 7.207 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.00328/0.6194, allocations: 2.042 MB / 0.7021 GB, free: 5.125 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.6205, allocations: 0.6171 MB / 0.7027 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6205, allocations: 0 / 0.7027 GB, free: 4.508 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.6209, allocations: 267.7 kB / 0.703 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008586/0.6218, allocations: 155.9 kB / 0.7031 GB, free: 4.098 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006657/0.6284, allocations: 4.926 MB / 0.7079 GB, free: 14.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.629, allocations: 0.8387 MB / 0.7087 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005695/0.6295, allocations: 232 kB / 0.709 GB, free: 13.85 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002826/0.6298, allocations: 135.4 kB / 0.7091 GB, free: 13.72 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6298, allocations: 0 / 0.7091 GB, free: 13.72 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04608/0.6759, allocations: 18.55 MB / 0.7272 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.945/9.621, allocations: 4 kB / 0.7272 GB, free: 11.21 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)