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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.005084/0.005084, allocations: 172.3 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008787/0.0008787, allocations: 86.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.05898/0.05898, allocations: 10.97 MB / 328.8 MB, free: 11.88 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.0173/0.0173, allocations: 4.232 MB / 383.5 MB, free: 5.062 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002951/0.0002953, allocations: 8 kB / 446.2 MB, free: 43.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08776/0.08807, allocations: 50.75 MB / 496.9 MB, free: 9.094 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.3943, allocations: 78.88 MB / 0.5623 GB, free: 8.867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.3946, allocations: 76.61 kB / 0.5624 GB, free: 8.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001969/0.3965, allocations: 0.7558 MB / 0.5631 GB, free: 8.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3966, allocations: 0 / 0.5631 GB, free: 8.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.3966, allocations: 0 / 0.5631 GB, free: 8.047 MB / 346.7 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.0004178/0.397, allocations: 343.9 kB / 0.5635 GB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3971, allocations: 12.03 kB / 0.5635 GB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.45e-05/0.3971, allocations: 42.48 kB / 0.5635 GB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.3971, allocations: 4 kB / 0.5635 GB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3973, allocations: 172.6 kB / 0.5637 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.3973, allocations: 0 / 0.5637 GB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.3973, allocations: 4 kB / 0.5637 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.3975, allocations: 53.67 kB / 0.5637 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3975, allocations: 0 / 0.5637 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.3975, allocations: 4 kB / 0.5637 GB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3975, allocations: 0 / 0.5637 GB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3977, allocations: 43.95 kB / 0.5638 GB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.3981, allocations: 273.9 kB / 0.564 GB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3982, allocations: 41.72 kB / 0.5641 GB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.3983, allocations: 8.047 kB / 0.5641 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3983, allocations: 34.56 kB / 0.5641 GB, free: 6.867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3983, allocations: 0 / 0.5641 GB, free: 6.867 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003272/0.3986, allocations: 105.7 kB / 0.5642 GB, free: 6.758 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3987, allocations: 51.41 kB / 0.5643 GB, free: 6.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.3987, allocations: 89 kB / 0.5644 GB, free: 6.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3988, allocations: 25.7 kB / 0.5644 GB, free: 6.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.3988, allocations: 84.14 kB / 0.5645 GB, free: 6.484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.3988, allocations: 7.516 kB / 0.5645 GB, free: 6.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.3988, allocations: 0 / 0.5645 GB, free: 6.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3989, allocations: 322.8 kB / 0.5648 GB, free: 6.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.877e-05/0.399, allocations: 24.02 kB / 0.5648 GB, free: 6.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.3991, allocations: 19.98 kB / 0.5648 GB, free: 6.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.3992, allocations: 19.98 kB / 0.5648 GB, free: 6.094 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3992, allocations: 4.062 kB / 0.5648 GB, free: 6.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.3994, allocations: 81.59 kB / 0.5649 GB, free: 6.004 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.3994, allocations: 4 kB / 0.5649 GB, free: 6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3994, allocations: 0 / 0.5649 GB, free: 6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3994, allocations: 0 / 0.5649 GB, free: 6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.3995, allocations: 16.02 kB / 0.5649 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3995, allocations: 0 / 0.5649 GB, free: 5.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.3996, allocations: 11.98 kB / 0.5649 GB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3996, allocations: 0.5625 kB / 0.5649 GB, free: 5.973 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.362e-05/0.3997, allocations: 114.3 kB / 0.5651 GB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.3997, allocations: 0 / 0.5651 GB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002427/0.4, allocations: 90.92 kB / 0.5651 GB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.4, allocations: 0 / 0.5651 GB, free: 5.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4, allocations: 3.984 kB / 0.5651 GB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4, allocations: 3.938 kB / 0.5651 GB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.4002, allocations: 170.5 kB / 0.5653 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4002, allocations: 0 / 0.5653 GB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.4002, allocations: 15.92 kB / 0.5653 GB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4002, allocations: 0 / 0.5653 GB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.4003, allocations: 0 / 0.5653 GB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.4003, allocations: 4 kB / 0.5653 GB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4003, allocations: 0 / 0.5653 GB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.4005, allocations: 183.6 kB / 0.5655 GB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.4006, allocations: 81.09 kB / 0.5656 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.4006, allocations: 0 / 0.5656 GB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.4007, allocations: 11.98 kB / 0.5656 GB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.4007, allocations: 4.031 kB / 0.5656 GB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.4007, allocations: 3.938 kB / 0.5656 GB, free: 5.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.864e-05/0.4007, allocations: 83.27 kB / 0.5657 GB, free: 5.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4008, allocations: 0 / 0.5657 GB, free: 5.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.401, allocations: 11.94 kB / 0.5657 GB, free: 5.109 MB / 346.7 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 (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.0005324/0.4015, allocations: 0.7124 MB / 0.5664 GB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4017, allocations: 44 kB / 0.5664 GB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4017, allocations: 0 / 0.5664 GB, free: 4.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.4018, allocations: 35.91 kB / 0.5665 GB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.402, allocations: 0 / 0.5665 GB, free: 4.293 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.4024, allocations: 145.2 kB / 0.5666 GB, free: 4.105 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4027, allocations: 0.677 MB / 0.5673 GB, free: 3.402 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.242e-05/0.4027, allocations: 4 kB / 0.5673 GB, free: 3.398 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.4027, allocations: 11.44 kB / 0.5673 GB, free: 3.387 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4027, allocations: 0 / 0.5673 GB, free: 3.387 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.4148, allocations: 1.128 MB / 0.5684 GB, free: 2.418 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.4151, allocations: 216 kB / 0.5686 GB, free: 2.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.465/1.88, allocations: 4 kB / 0.5686 GB, free: 2.176 MB / 346.7 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1)