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.001367/0.001367, allocations: 108 kB / 15.6 MB, free: 132 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.00166/0.00166, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.472/1.472, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07122/0.07122, allocations: 10.97 MB / 280.7 MB, free: 10.22 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01903/0.01903, allocations: 4.24 MB / 334.4 MB, free: 29.11 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.002772/0.002772, allocations: 64.47 kB / 396.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2588, allocations: 49.72 MB / 446.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe): time 0.3945/0.6534, allocations: 184.6 MB / 0.6163 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.6582, allocations: 5.03 MB / 0.6212 GB, free: 15.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.6585, allocations: 10.22 kB / 0.6212 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006361/0.6592, allocations: 190.7 kB / 0.6214 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004559/0.6596, allocations: 225.2 kB / 0.6216 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007912/0.6675, allocations: 2.966 MB / 0.6245 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009094/0.6685, allocations: 0.8225 MB / 0.6253 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004039/0.6689, allocations: 274.4 kB / 0.6255 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.6694, allocations: 307.8 kB / 0.6258 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.6699, allocations: 315 kB / 0.6261 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-05/0.67, allocations: 40.16 kB / 0.6262 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009553/0.6796, allocations: 5.144 MB / 0.6312 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004592/0.6801, allocations: 198.4 kB / 0.6314 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005948/0.6807, allocations: 215.5 kB / 0.6316 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008306/0.689, allocations: 2.979 MB / 0.6345 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6891, allocations: 0 / 0.6345 GB, free: 11.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.6891, allocations: 3.938 kB / 0.6345 GB, free: 11.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.6891, allocations: 0 / 0.6345 GB, free: 11.39 MB / 414.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.004503/0.6936, allocations: 1.426 MB / 0.6359 GB, free: 9.922 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.6937, allocations: 12.03 kB / 0.6359 GB, free: 9.91 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001087/0.6938, allocations: 68.98 kB / 0.636 GB, free: 9.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.6939, allocations: 48.47 kB / 0.636 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.6944, allocations: 360.1 kB / 0.6364 GB, free: 9.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.6944, allocations: 25.22 kB / 0.6364 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.6945, allocations: 42.5 kB / 0.6364 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.6956, allocations: 0.7234 MB / 0.6371 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.6957, allocations: 0 / 0.6371 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.449e-05/0.6957, allocations: 12 kB / 0.6371 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-05/0.6958, allocations: 32.64 kB / 0.6372 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.6968, allocations: 0.6503 MB / 0.6378 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.7009, allocations: 2.633 MB / 0.6404 GB, free: 5.184 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.7023, allocations: 0.5047 MB / 0.6409 GB, free: 4.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.7027, allocations: 268.6 kB / 0.6411 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/0.7034, allocations: 0.6227 MB / 0.6417 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.7035, allocations: 37.09 kB / 0.6418 GB, free: 3.613 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.235e-06/0.7035, allocations: 0 / 0.6418 GB, free: 3.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.00127/0.7047, allocations: 0.7668 MB / 0.6425 GB, free: 2.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.7048, allocations: 57.94 kB / 0.6426 GB, free: 2.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.7052, allocations: 344.4 kB / 0.6429 GB, free: 2.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.7052, allocations: 29.7 kB / 0.6429 GB, free: 2.398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.7053, allocations: 239.4 kB / 0.6432 GB, free: 2.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.7054, allocations: 82.81 kB / 0.6432 GB, free: 2.078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.7056, allocations: 114 kB / 0.6434 GB, free: 1.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.7057, allocations: 342.8 kB / 0.6437 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004068/0.7062, allocations: 288.7 kB / 0.644 GB, free: 1.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.7067, allocations: 419.1 kB / 0.6444 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009159/0.7076, allocations: 0.7177 MB / 0.6451 GB, free: 112 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7076, allocations: 4 kB / 0.6451 GB, free: 108 kB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001215/0.7088, allocations: 0.7772 MB / 0.6458 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.7089, allocations: 8 kB / 0.6458 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7089, allocations: 7.938 kB / 0.6458 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.7089, allocations: 4 kB / 0.6458 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006308/0.7095, allocations: 163.5 kB / 0.646 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.7096, allocations: 14.47 kB / 0.646 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.71, allocations: 79.41 kB / 0.6461 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-05/0.71, allocations: 32.84 kB / 0.6461 GB, free: 15.05 MB / 430.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.0002385/0.7103, allocations: 207.1 kB / 0.6463 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.7104, allocations: 31.62 kB / 0.6463 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.7118, allocations: 0.716 MB / 0.647 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.7118, allocations: 0 / 0.647 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.7118, allocations: 4 kB / 0.647 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7118, allocations: 3.984 kB / 0.647 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.7142, allocations: 1.723 MB / 0.6487 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.7142, allocations: 4 kB / 0.6487 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.7147, allocations: 114.4 kB / 0.6488 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.7148, allocations: 7.938 kB / 0.6489 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.7148, allocations: 23.97 kB / 0.6489 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.7148, allocations: 4.188 kB / 0.6489 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7148, allocations: 4 kB / 0.6489 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.7162, allocations: 0.9989 MB / 0.6499 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.7163, allocations: 116.7 kB / 0.65 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.7164, allocations: 19.92 kB / 0.65 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.7167, allocations: 43.94 kB / 0.65 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.7168, allocations: 26.48 kB / 0.6501 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.7169, allocations: 15.98 kB / 0.6501 GB, free: 10.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002237/0.7171, allocations: 239 kB / 0.6503 GB, free: 10.61 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7171, allocations: 0 / 0.6503 GB, free: 10.61 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001326/0.7184, allocations: 483.5 kB / 0.6508 GB, free: 10.14 MB / 430.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.003057/0.7215, allocations: 2.042 MB / 0.6528 GB, free: 8.094 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.7226, allocations: 0.6688 MB / 0.6534 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.7226, allocations: 0 / 0.6534 GB, free: 7.445 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004252/0.7231, allocations: 275.6 kB / 0.6537 GB, free: 7.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7241, allocations: 151.3 kB / 0.6538 GB, free: 7.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/0.7318, allocations: 4.931 MB / 0.6586 GB, free: 1.914 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000511/0.7323, allocations: 0.8387 MB / 0.6594 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006147/0.7329, allocations: 224.5 kB / 0.6597 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.7332, allocations: 131.4 kB / 0.6598 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.7332, allocations: 0 / 0.6598 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04267/0.7759, allocations: 18.45 MB / 0.6778 GB, free: 14.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.899, allocations: 8.312 kB / 0.6778 GB, free: 14.36 MB / 462.1 MB (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)