Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.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.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial,fileNamePrefix="TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial",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.009563/0.009563, allocations: 100.6 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.001416/0.001417, allocations: 189.7 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.488/1.488, 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.07071/0.07071, allocations: 10.98 MB / 280.9 MB, free: 10.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01978/0.01978, allocations: 4.248 MB / 334.6 MB, free: 29 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.002105/0.002106, allocations: 72.03 kB / 447.1 MB, free: 44.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08851, allocations: 49.75 MB / 496.8 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002827/0.09138, allocations: 1.354 MB / 498.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003632/0.09177, allocations: 100.1 kB / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.465e-05/0.09181, allocations: 4 kB / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.483e-05/0.09184, allocations: 0 / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.621e-05/0.0919, allocations: 3.938 kB / 498.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002797/0.09218, allocations: 11.98 kB / 498.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.017e-05/0.09228, allocations: 31.92 kB / 498.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.09234, allocations: 4 kB / 498.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.959e-05/0.09237, allocations: 7.938 kB / 498.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.09241, allocations: 11.97 kB / 498.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.09244, allocations: 4 kB / 498.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.09252, allocations: 15.98 kB / 498.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.09254, allocations: 3.938 kB / 498.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.09258, allocations: 8 kB / 498.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.09271, allocations: 35.77 kB / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.09272, allocations: 0 / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.09273, allocations: 4 kB / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.09274, allocations: 0 / 498.4 MB, free: 12.33 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005047/0.09324, allocations: 343.4 kB / 498.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.09329, allocations: 8.031 kB / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.09334, allocations: 30.75 kB / 498.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.09337, allocations: 8.875 kB / 498.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.09355, allocations: 168.3 kB / 499 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.09357, allocations: 4.375 kB / 499 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.09359, allocations: 4.375 kB / 499 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.09379, allocations: 53.97 kB / 499 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.09381, allocations: 4 kB / 499 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.09382, allocations: 7.938 kB / 499 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.09383, allocations: 0 / 499 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001723/0.09401, allocations: 35.89 kB / 499.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.09449, allocations: 260.9 kB / 499.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.09463, allocations: 34.59 kB / 499.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.071e-05/0.09473, allocations: 24.91 kB / 499.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.917e-05/0.09477, allocations: 0 / 499.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.0948, allocations: 30.56 kB / 499.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.09481, allocations: 8 kB / 499.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.09519, allocations: 81.58 kB / 499.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.09524, allocations: 51.41 kB / 499.6 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.09534, allocations: 105.8 kB / 499.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.09536, allocations: 25.7 kB / 499.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.09543, allocations: 80.14 kB / 499.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.09546, allocations: 8.078 kB / 499.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.0955, allocations: 17.72 kB / 499.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.09568, allocations: 314.8 kB / 0.4884 GB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.09577, allocations: 15.98 kB / 0.4884 GB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.09585, allocations: 15.98 kB / 0.4884 GB, free: 10.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.09604, allocations: 52.75 kB / 0.4885 GB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.09605, allocations: 0 / 0.4885 GB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002032/0.09626, allocations: 61.62 kB / 0.4885 GB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.09629, allocations: 8 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.0963, allocations: 0 / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.09632, allocations: 3.984 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.09643, allocations: 8 kB / 0.4885 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.09645, allocations: 0 / 0.4885 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.09651, allocations: 12.02 kB / 0.4886 GB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.09653, allocations: 0 / 0.4886 GB, free: 10.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 9.792e-05/0.09663, allocations: 109.8 kB / 0.4887 GB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.09666, allocations: 4 kB / 0.4887 GB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.09692, allocations: 76.7 kB / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.09694, allocations: 4.031 kB / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09695, allocations: 4 kB / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.09696, allocations: 0 / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.09716, allocations: 157.6 kB / 0.4889 GB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.09717, allocations: 7.875 kB / 0.4889 GB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.09724, allocations: 11.98 kB / 0.4889 GB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.09725, allocations: 4 kB / 0.4889 GB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.09726, allocations: 0 / 0.4889 GB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.09727, allocations: 0 / 0.4889 GB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.09727, allocations: 0 / 0.4889 GB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.09756, allocations: 171.4 kB / 0.4891 GB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.09762, allocations: 81.06 kB / 0.4892 GB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.09764, allocations: 0 / 0.4892 GB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.09772, allocations: 7.984 kB / 0.4892 GB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.09777, allocations: 4 kB / 0.4892 GB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.09778, allocations: 4.031 kB / 0.4892 GB, free: 9.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.558e-05/0.09785, allocations: 91.44 kB / 0.4893 GB, free: 9.422 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.09786, allocations: 0 / 0.4893 GB, free: 9.422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.09809, allocations: 7.938 kB / 0.4893 GB, free: 9.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0007051/0.0988, allocations: 0.6968 MB / 0.4899 GB, free: 8.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.09905, allocations: 39.89 kB / 0.49 GB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09906, allocations: 0 / 0.49 GB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.09915, allocations: 15.98 kB / 0.49 GB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.09948, allocations: 6.188 kB / 0.49 GB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004702/0.09996, allocations: 135.9 kB / 0.4901 GB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1003, allocations: 0.6768 MB / 0.4908 GB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.753e-05/0.1003, allocations: 0 / 0.4908 GB, free: 7.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.1004, allocations: 11.44 kB / 0.4908 GB, free: 7.742 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1004, allocations: 0 / 0.4908 GB, free: 7.742 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.1245, allocations: 1.409 MB / 0.4922 GB, free: 6.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/8.384, allocations: 3.953 kB / 0.4922 GB, free: 6.406 MB / 334.1 MB (rm -f TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; mkfifo TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe ; head -c 1048576 < TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe >> ../files/TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.sim & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1)