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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 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.001386/0.001386, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.423/1.423, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.08426/0.08426, allocations: 10.98 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.0184/0.0184, allocations: 4.238 MB / 334.4 MB, free: 29.12 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.001813/0.001813, allocations: 71.88 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2617, allocations: 49.72 MB / 446.4 MB, free: 47.88 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002268/0.264, allocations: 1.363 MB / 447.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003002/0.2644, allocations: 95.8 kB / 447.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.2644, allocations: 1.062 kB / 447.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.2644, allocations: 7.984 kB / 447.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.2645, allocations: 8.922 kB / 447.9 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.2647, allocations: 12.48 kB / 447.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.45e-05/0.2648, allocations: 24.67 kB / 447.9 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.2648, allocations: 2.25 kB / 447.9 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.2649, allocations: 7.375 kB / 447.9 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.2649, allocations: 15.33 kB / 447.9 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.629e-05/0.2649, allocations: 2.281 kB / 447.9 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.265, allocations: 19.31 kB / 448 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.176e-05/0.265, allocations: 9.188 kB / 448 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.17e-05/0.2651, allocations: 10.28 kB / 448 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.928e-05/0.2652, allocations: 24.09 kB / 448 MB, free: 46.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2652, allocations: 0 / 448 MB, free: 46.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2652, allocations: 0 / 448 MB, free: 46.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2652, allocations: 1.312 kB / 448 MB, free: 46.64 MB / 318.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.000349/0.2655, allocations: 337.9 kB / 448.3 MB, free: 46.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2656, allocations: 12.28 kB / 448.3 MB, free: 46.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.357e-05/0.2656, allocations: 35.8 kB / 448.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.2656, allocations: 6.062 kB / 448.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.797e-05/0.2657, allocations: 174.3 kB / 448.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2657, allocations: 384 / 448.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2658, allocations: 1.5 kB / 448.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.2659, allocations: 50.23 kB / 448.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2659, allocations: 3.938 kB / 448.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.266, allocations: 1.125 kB / 448.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.266, allocations: 0 / 448.6 MB, free: 45.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.2661, allocations: 38.23 kB / 448.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.2665, allocations: 256.1 kB / 448.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.2666, allocations: 51.41 kB / 449 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.2667, allocations: 27 kB / 449 MB, free: 45.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.2667, allocations: 5.125 kB / 449 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.2667, allocations: 31.69 kB / 449 MB, free: 45.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2667, allocations: 0 / 449 MB, free: 45.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003425/0.2671, allocations: 84.95 kB / 449.1 MB, free: 45.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.2671, allocations: 52.47 kB / 449.1 MB, free: 45.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.2672, allocations: 102.4 kB / 449.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.2672, allocations: 26.8 kB / 449.3 MB, free: 45.3 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.2672, allocations: 85.23 kB / 449.4 MB, free: 45.21 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2672, allocations: 3.906 kB / 449.4 MB, free: 45.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.641e-05/0.2673, allocations: 13.5 kB / 449.4 MB, free: 45.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.2673, allocations: 314.8 kB / 449.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.2674, allocations: 17.25 kB / 449.7 MB, free: 44.87 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.2675, allocations: 18.11 kB / 449.7 MB, free: 44.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2676, allocations: 34.83 kB / 449.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2676, allocations: 3.938 kB / 449.8 MB, free: 44.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.2678, allocations: 73.03 kB / 449.8 MB, free: 44.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2678, allocations: 5.406 kB / 449.8 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2679, allocations: 4.094 kB / 449.8 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2679, allocations: 1.094 kB / 449.8 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.144e-05/0.268, allocations: 10.39 kB / 449.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.268, allocations: 0 / 449.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.268, allocations: 7.234 kB / 449.9 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.268, allocations: 6.094 kB / 449.9 MB, free: 44.77 MB / 318.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 4.242e-05/0.2681, allocations: 110.9 kB / 450 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2681, allocations: 5.344 kB / 450 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.2683, allocations: 76 kB / 450 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2683, allocations: 7.938 kB / 450.1 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2684, allocations: 1.125 kB / 450.1 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2684, allocations: 0 / 450.1 MB, free: 44.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.2685, allocations: 162.1 kB / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2685, allocations: 0 / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.597e-05/0.2685, allocations: 6.719 kB / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2685, allocations: 7.984 kB / 450.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2686, allocations: 1.188 kB / 450.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2686, allocations: 0 / 450.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2686, allocations: 1.062 kB / 450.2 MB, free: 44.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.2688, allocations: 158.7 kB / 450.4 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.4e-05/0.2688, allocations: 86.2 kB / 450.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.2688, allocations: 1.125 kB / 450.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.2689, allocations: 7.453 kB / 450.5 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.2689, allocations: 1.219 kB / 450.5 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.2689, allocations: 1.031 kB / 450.5 MB, free: 44.11 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.933e-05/0.269, allocations: 82.44 kB / 450.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.269, allocations: 4.969 kB / 450.6 MB, free: 44.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00022/0.2692, allocations: 5.625 kB / 450.6 MB, free: 44.03 MB / 318.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.0003458/0.2695, allocations: 0.6996 MB / 451.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001974/0.2697, allocations: 32.72 kB / 451.3 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2698, allocations: 5.219 kB / 451.3 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.2698, allocations: 26.69 kB / 451.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2701, allocations: 6.594 kB / 451.3 MB, free: 43.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.2705, allocations: 136.4 kB / 451.5 MB, free: 43.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.5e-05/0.2706, allocations: 0.68 MB / 452.2 MB, free: 42.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.799e-05/0.2706, allocations: 9.031 kB / 452.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.181e-05/0.2706, allocations: 12.75 kB / 452.2 MB, free: 42.44 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2706, allocations: 0 / 452.2 MB, free: 42.44 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.2874, allocations: 1.393 MB / 453.6 MB, free: 41.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.072, allocations: 17.58 kB / 453.6 MB, free: 41.65 MB / 318.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)