Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.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.Orifices.test_HorizontalOpening,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening",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.008171/0.008171, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001296/0.001296, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06882/0.06882, allocations: 10.98 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.01778/0.01778, allocations: 4.248 MB / 334.6 MB, free: 29.03 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.001482/0.001482, allocations: 66.2 kB / 447.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09692, allocations: 49.75 MB / 496.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening): time 0.4902/0.5872, allocations: 171.6 MB / 0.6528 GB, free: 5.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.5936, allocations: 5.21 MB / 0.6578 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005714/0.5942, allocations: 10.72 kB / 0.6579 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5952, allocations: 298.2 kB / 0.6581 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00087/0.5962, allocations: 460.4 kB / 0.6586 GB, free: 452 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003414/0.5996, allocations: 1.162 MB / 0.6597 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001427/0.601, allocations: 1.461 MB / 0.6611 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005732/0.6016, allocations: 480.1 kB / 0.6616 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.6024, allocations: 0.548 MB / 0.6621 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.6035, allocations: 0.8321 MB / 0.6629 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.6036, allocations: 80.53 kB / 0.663 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.6069, allocations: 1.578 MB / 0.6646 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.6072, allocations: 331.2 kB / 0.6649 GB, free: 12.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.6077, allocations: 418.3 kB / 0.6653 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002475/0.6102, allocations: 1.588 MB / 0.6668 GB, free: 10.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.6102, allocations: 0 / 0.6668 GB, free: 10.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6102, allocations: 0 / 0.6668 GB, free: 10.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.568e-05/0.6102, allocations: 0 / 0.6668 GB, free: 10.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005986/0.6162, allocations: 1.866 MB / 0.6687 GB, free: 8.348 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.6163, allocations: 11.97 kB / 0.6687 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.6164, allocations: 102.7 kB / 0.6688 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.6167, allocations: 68.52 kB / 0.6688 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.6175, allocations: 499.1 kB / 0.6693 GB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.231e-05/0.6176, allocations: 53.86 kB / 0.6694 GB, free: 7.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.6177, allocations: 67.94 kB / 0.6694 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.6208, allocations: 1.38 MB / 0.6708 GB, free: 6.105 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.6208, allocations: 4.5 kB / 0.6708 GB, free: 6.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.6209, allocations: 24 kB / 0.6708 GB, free: 6.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.183e-05/0.621, allocations: 33.25 kB / 0.6708 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/0.625, allocations: 1.898 MB / 0.6727 GB, free: 4.141 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006206/0.6312, allocations: 3.848 MB / 0.6764 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003147/0.6344, allocations: 1.378 MB / 0.6778 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002221/0.6367, allocations: 1.02 MB / 0.6788 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005397/0.6372, allocations: 380.7 kB / 0.6791 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.6373, allocations: 42.88 kB / 0.6792 GB, free: 13.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 2.806e-06/0.6373, allocations: 0 / 0.6792 GB, free: 13.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.006349/0.6436, allocations: 2.699 MB / 0.6818 GB, free: 10.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.6437, allocations: 85.11 kB / 0.6819 GB, free: 10.37 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004256/0.6442, allocations: 393.6 kB / 0.6823 GB, free: 9.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.6443, allocations: 41.7 kB / 0.6823 GB, free: 9.934 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.6444, allocations: 217.6 kB / 0.6825 GB, free: 9.715 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.6447, allocations: 321.2 kB / 0.6828 GB, free: 9.398 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.6451, allocations: 186.6 kB / 0.683 GB, free: 9.211 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.6453, allocations: 378.7 kB / 0.6834 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/0.6473, allocations: 0.8529 MB / 0.6842 GB, free: 7.977 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002071/0.6493, allocations: 0.9662 MB / 0.6851 GB, free: 6.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003868/0.6532, allocations: 1.771 MB / 0.6869 GB, free: 5.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.6532, allocations: 4 kB / 0.6869 GB, free: 5.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004778/0.658, allocations: 2.186 MB / 0.689 GB, free: 2.953 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.6581, allocations: 4 kB / 0.689 GB, free: 2.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6581, allocations: 7.938 kB / 0.689 GB, free: 2.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006809/0.6649, allocations: 1.035 MB / 0.69 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/0.6665, allocations: 287.6 kB / 0.6903 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00393/0.6705, allocations: 5.778 MB / 0.696 GB, free: 11.56 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6718, allocations: 207.5 kB / 0.6961 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6719, allocations: 51.97 kB / 0.6962 GB, free: 11.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (horizontalOpening1.buoyancy,horizontalOpening.buoyancy) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.6724, allocations: 225.5 kB / 0.6964 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.6726, allocations: 63.62 kB / 0.6965 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.6779, allocations: 2.383 MB / 0.6988 GB, free: 8.637 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.6779, allocations: 12 kB / 0.6988 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.6779, allocations: 4 kB / 0.6988 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.6779, allocations: 3.984 kB / 0.6988 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005977/0.6839, allocations: 3.38 MB / 0.7021 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.684, allocations: 0 / 0.7021 GB, free: 5.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.686, allocations: 415.5 kB / 0.7025 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.6861, allocations: 4 kB / 0.7025 GB, free: 4.754 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/0.6862, allocations: 43.97 kB / 0.7026 GB, free: 4.711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.6862, allocations: 8 kB / 0.7026 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6862, allocations: 3.938 kB / 0.7026 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00675/0.693, allocations: 3.332 MB / 0.7058 GB, free: 1.344 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.6932, allocations: 164.4 kB / 0.706 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.6934, allocations: 24 kB / 0.706 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.6945, allocations: 160 kB / 0.7062 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001656/0.6947, allocations: 80.95 kB / 0.7062 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.6948, allocations: 47.92 kB / 0.7063 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002969/0.6951, allocations: 287.1 kB / 0.7066 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6951, allocations: 0 / 0.7066 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001003/0.6961, allocations: 367.4 kB / 0.7069 GB, free: 220 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 10 (horizontalOpening.Vel[1],horizontalOpening.Vel[2],horizontalOpening.Vel[3],horizontalOpening.Vel[4],horizontalOpening.Vel[5],horizontalOpening1.Vel[1],horizontalOpening1.Vel[2],horizontalOpening1.Vel[3],horizontalOpening1.Vel[4],horizontalOpening1.Vel[5]) * Number of discrete variables: 2 (horizontalOpening.buoyancy,horizontalOpening1.buoyancy) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * 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.007645/0.7038, allocations: 4.099 MB / 0.7109 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005479/0.7093, allocations: 2.121 MB / 0.713 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.7093, allocations: 4 kB / 0.713 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002315/0.7117, allocations: 1.111 MB / 0.7141 GB, free: 8.852 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.7131, allocations: 253.8 kB / 0.7143 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01985/0.733, allocations: 10.66 MB / 0.7247 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.7336, allocations: 0.9743 MB / 0.7257 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001118/0.7347, allocations: 355 kB / 0.726 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/0.7354, allocations: 299.3 kB / 0.7263 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.547e-06/0.7354, allocations: 0 / 0.7263 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06097/0.7964, allocations: 27.41 MB / 0.7531 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.69, allocations: 13.8 kB / 0.7531 GB, free: 0.707 MB / 0.5137 GB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Orifices_test_HorizontalOpening.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Orifices.test_HorizontalOpening.pipe 2>&1)