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.0009294/0.0009295, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.0009373/0.0009372, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06282/0.06282, allocations: 10.97 MB / 281.3 MB, free: 10.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.0164/0.0164, allocations: 4.227 MB / 336 MB, free: 29.17 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.000454/0.0004542, allocations: 19.98 kB / 398.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 50.76 MB / 449.4 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe): time 0.3659/0.6112, allocations: 149.2 MB / 0.5846 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.6153, allocations: 4.328 MB / 0.5888 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.6155, allocations: 5.531 kB / 0.5888 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.616, allocations: 140.9 kB / 0.5889 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002845/0.6163, allocations: 132.5 kB / 0.5891 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.6228, allocations: 1.991 MB / 0.591 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007192/0.6235, allocations: 495 kB / 0.5915 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.6238, allocations: 204 kB / 0.5917 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.6241, allocations: 221.6 kB / 0.5919 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.6243, allocations: 206 kB / 0.5921 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.384e-05/0.6244, allocations: 23.91 kB / 0.5921 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008709/0.6331, allocations: 4.234 MB / 0.5962 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003722/0.6335, allocations: 161.1 kB / 0.5964 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.6337, allocations: 97.8 kB / 0.5965 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005117/0.6389, allocations: 1.767 MB / 0.5982 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6389, allocations: 0 / 0.5982 GB, free: 1.508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6389, allocations: 0 / 0.5982 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.6389, allocations: 0 / 0.5982 GB, free: 1.508 MB / 398.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.004037/0.643, allocations: 1.313 MB / 0.5995 GB, free: 16.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.643, allocations: 11.98 kB / 0.5995 GB, free: 16.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.6431, allocations: 74.69 kB / 0.5996 GB, free: 16.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.129e-05/0.6432, allocations: 39.33 kB / 0.5996 GB, free: 16.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.6438, allocations: 360.7 kB / 0.6 GB, free: 16.49 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.6438, allocations: 25.53 kB / 0.6 GB, free: 16.49 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.6439, allocations: 32.78 kB / 0.6 GB, free: 16.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.6449, allocations: 0.7171 MB / 0.6007 GB, free: 16.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6449, allocations: 2.906 kB / 0.6007 GB, free: 16.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.6449, allocations: 14.19 kB / 0.6007 GB, free: 16.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.645, allocations: 33.08 kB / 0.6008 GB, free: 16.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008145/0.6458, allocations: 0.6507 MB / 0.6014 GB, free: 16.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003704/0.6495, allocations: 2.662 MB / 0.604 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.6507, allocations: 0.5158 MB / 0.6045 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007029/0.6515, allocations: 0.6323 MB / 0.6051 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.6515, allocations: 37.47 kB / 0.6052 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.434e-06/0.6515, allocations: 0 / 0.6052 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=23): time 0.00109/0.6526, allocations: 0.7684 MB / 0.6059 GB, free: 13.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.6526, allocations: 54.28 kB / 0.606 GB, free: 13.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/0.653, allocations: 338.9 kB / 0.6063 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.653, allocations: 29.08 kB / 0.6063 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6532, allocations: 225.4 kB / 0.6065 GB, free: 12.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.724e-05/0.6533, allocations: 92.33 kB / 0.6066 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.6533, allocations: 12.25 kB / 0.6066 GB, free: 12.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.6534, allocations: 347 kB / 0.607 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.6538, allocations: 280.4 kB / 0.6072 GB, free: 12.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.6543, allocations: 422.8 kB / 0.6076 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.6548, allocations: 351.2 kB / 0.608 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.401e-06/0.6548, allocations: 2.938 kB / 0.608 GB, free: 12.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001116/0.6559, allocations: 0.7719 MB / 0.6087 GB, free: 12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.656, allocations: 8.219 kB / 0.6087 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.656, allocations: 5.156 kB / 0.6087 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.656, allocations: 8 kB / 0.6087 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.6566, allocations: 163 kB / 0.6089 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-05/0.6566, allocations: 13.7 kB / 0.6089 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.6571, allocations: 85.53 kB / 0.609 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.6572, allocations: 29.47 kB / 0.609 GB, free: 11.9 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002619/0.6574, allocations: 205.5 kB / 0.6092 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/0.6575, allocations: 29.81 kB / 0.6092 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.6589, allocations: 0.7213 MB / 0.61 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.6589, allocations: 4.625 kB / 0.61 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6589, allocations: 4 kB / 0.61 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6589, allocations: 0 / 0.61 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.6613, allocations: 1.727 MB / 0.6116 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6613, allocations: 2 kB / 0.6116 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005091/0.6618, allocations: 125.3 kB / 0.6118 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.6618, allocations: 9.547 kB / 0.6118 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.6619, allocations: 21.92 kB / 0.6118 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.6619, allocations: 2.469 kB / 0.6118 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6619, allocations: 2.844 kB / 0.6118 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.6632, allocations: 1.045 MB / 0.6128 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.6634, allocations: 118.2 kB / 0.6129 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.6634, allocations: 18.77 kB / 0.613 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.6638, allocations: 42.45 kB / 0.613 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.6639, allocations: 29.52 kB / 0.613 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.664, allocations: 15.3 kB / 0.613 GB, free: 9.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.6642, allocations: 243 kB / 0.6133 GB, free: 9.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.212e-06/0.6642, allocations: 0 / 0.6133 GB, free: 9.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001479/0.6657, allocations: 479.2 kB / 0.6137 GB, free: 9.645 MB / 414.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002893/0.6686, allocations: 2.414 MB / 0.6161 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008953/0.6695, allocations: 0.6067 MB / 0.6167 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6695, allocations: 1.859 kB / 0.6167 GB, free: 8.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.6698, allocations: 279.1 kB / 0.6169 GB, free: 8.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/0.6706, allocations: 147.2 kB / 0.6171 GB, free: 7.969 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005281/0.6759, allocations: 5.866 MB / 0.6228 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/0.6763, allocations: 0.8462 MB / 0.6236 GB, free: 3.074 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.677, allocations: 229.7 kB / 0.6239 GB, free: 2.984 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.6772, allocations: 139.3 kB / 0.624 GB, free: 2.957 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6772, allocations: 0 / 0.624 GB, free: 2.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.7137, allocations: 17.73 MB / 0.6413 GB, free: 2.09 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.714, allocations: 212.8 kB / 0.6415 GB, free: 1.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.908, allocations: 3.281 kB / 0.6415 GB, free: 1.852 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Pipes_test_DynamicPipe.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Pipes.test_DynamicPipe.pipe 2>&1) Environment - environmentSimulation: