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.005298/0.005298, allocations: 101.9 kB / 15.73 MB, free: 5.988 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.001302/0.001302, allocations: 189.4 kB / 16.67 MB, free: 5.914 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.401/1.401, allocations: 205.1 MB / 222.6 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06796/0.06796, allocations: 10.99 MB / 280.9 MB, free: 9.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01794/0.01794, allocations: 4.23 MB / 334.6 MB, free: 28.99 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.002105, allocations: 77.81 kB / 447.1 MB, free: 44.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08388, allocations: 49.74 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.002353/0.08627, allocations: 1.35 MB / 498.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00027/0.08656, allocations: 100.1 kB / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.266e-05/0.0866, allocations: 0 / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.08664, allocations: 0 / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.08669, allocations: 3.938 kB / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.08695, allocations: 19.97 kB / 498.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.08702, allocations: 27.92 kB / 498.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.08707, allocations: 0 / 498.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.012e-05/0.08711, allocations: 15.92 kB / 498.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.08715, allocations: 11.98 kB / 498.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.08717, allocations: 4 kB / 498.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.08725, allocations: 8 kB / 498.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.08727, allocations: 11.92 kB / 498.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.616e-05/0.08731, allocations: 7.984 kB / 498.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.08744, allocations: 31.84 kB / 498.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.08746, allocations: 0 / 498.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.08746, allocations: 0 / 498.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.08748, allocations: 0 / 498.4 MB, free: 12.34 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.0004526/0.08793, allocations: 343.4 kB / 498.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.08798, allocations: 15.97 kB / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.08802, allocations: 30.75 kB / 498.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.08806, allocations: 4.938 kB / 498.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.08818, allocations: 176.3 kB / 499 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.0882, allocations: 384 / 499 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.08822, allocations: 384 / 499 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.08841, allocations: 50.23 kB / 499 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.08843, allocations: 7.938 kB / 499 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.08845, allocations: 3.938 kB / 499 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.08845, allocations: 0 / 499 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.08863, allocations: 31.97 kB / 499.1 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.08904, allocations: 260.9 kB / 499.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.08919, allocations: 42.5 kB / 499.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.08928, allocations: 20.89 kB / 499.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.08933, allocations: 4 kB / 499.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.08936, allocations: 30.56 kB / 499.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.08936, allocations: 0 / 499.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.08973, allocations: 89.58 kB / 499.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.08977, allocations: 51.41 kB / 499.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.89e-05/0.08986, allocations: 97.86 kB / 499.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.08988, allocations: 25.7 kB / 499.7 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.08992, allocations: 84.14 kB / 499.8 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.08994, allocations: 7.938 kB / 499.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/0.09, allocations: 17.72 kB / 499.8 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.0901, allocations: 315 kB / 0.4884 GB, free: 10.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.09019, allocations: 11.98 kB / 0.4884 GB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.699e-05/0.09027, allocations: 19.97 kB / 0.4884 GB, free: 10.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.09044, allocations: 36.83 kB / 0.4884 GB, free: 10.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.09045, allocations: 3.938 kB / 0.4884 GB, free: 10.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.09066, allocations: 77.61 kB / 0.4885 GB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.09068, allocations: 4 kB / 0.4885 GB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.09069, allocations: 0 / 0.4885 GB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.09071, allocations: 4 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.0908, allocations: 7.984 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.09081, allocations: 0 / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.09086, allocations: 4.188 kB / 0.4885 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.09088, allocations: 0 / 0.4885 GB, free: 10.26 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 6.834e-05/0.09096, allocations: 125.8 kB / 0.4887 GB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.654e-05/0.09099, allocations: 3.984 kB / 0.4887 GB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.09124, allocations: 76.66 kB / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.09125, allocations: 0 / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.09126, allocations: 0 / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.09127, allocations: 3.969 kB / 0.4887 GB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.09145, allocations: 165.6 kB / 0.4889 GB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.09146, allocations: 3.938 kB / 0.4889 GB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.09152, allocations: 11.98 kB / 0.4889 GB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.09153, allocations: 0 / 0.4889 GB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.09155, allocations: 0 / 0.4889 GB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.09155, allocations: 3.984 kB / 0.4889 GB, free: 9.809 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.09156, allocations: 4 kB / 0.4889 GB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.09181, allocations: 167.5 kB / 0.4891 GB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.09186, allocations: 85.05 kB / 0.4892 GB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.09188, allocations: 0 / 0.4892 GB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.09196, allocations: 4 kB / 0.4892 GB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.092, allocations: 3.984 kB / 0.4892 GB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.09202, allocations: 4 kB / 0.4892 GB, free: 9.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.09206, allocations: 83.22 kB / 0.4892 GB, free: 9.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09206, allocations: 4.031 kB / 0.4893 GB, free: 9.426 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.0923, allocations: 11.94 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.0005136/0.09282, allocations: 0.6929 MB / 0.4899 GB, free: 8.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.09304, allocations: 43.98 kB / 0.49 GB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.09306, allocations: 0 / 0.49 GB, free: 8.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.09315, allocations: 19.92 kB / 0.49 GB, free: 8.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.09345, allocations: 6.188 kB / 0.49 GB, free: 8.625 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.09385, allocations: 131.8 kB / 0.4901 GB, free: 8.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.09409, allocations: 0.6808 MB / 0.4908 GB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.068e-05/0.09413, allocations: 3.984 kB / 0.4908 GB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.09418, allocations: 7.438 kB / 0.4908 GB, free: 7.738 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09418, allocations: 0 / 0.4908 GB, free: 7.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.111, allocations: 1.4 MB / 0.4922 GB, free: 6.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.157, allocations: 11.11 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)