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.001211/0.001211, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001521/0.001521, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06205/0.06205, allocations: 10.97 MB / 281.3 MB, free: 10.28 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01633/0.01633, allocations: 4.229 MB / 336 MB, free: 29.16 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.0005517/0.0005518, allocations: 20 kB / 398.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2666, allocations: 50.76 MB / 449.4 MB, free: 47.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.00119/0.2678, allocations: 1.074 MB / 450.5 MB, free: 46.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.2681, allocations: 90.3 kB / 450.6 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.775e-05/0.2681, allocations: 0.9062 kB / 450.6 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.118e-05/0.2681, allocations: 0 / 450.6 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.716e-05/0.2682, allocations: 5.359 kB / 450.6 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.2684, allocations: 15.08 kB / 450.6 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.2685, allocations: 21.62 kB / 450.7 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.653e-05/0.2685, allocations: 1.188 kB / 450.7 MB, free: 46.78 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.2686, allocations: 11.44 kB / 450.7 MB, free: 46.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.2686, allocations: 16.14 kB / 450.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.2686, allocations: 1.156 kB / 450.7 MB, free: 46.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.2687, allocations: 14.58 kB / 450.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.2687, allocations: 0.9688 kB / 450.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.2687, allocations: 26.73 kB / 450.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.022e-05/0.2688, allocations: 26.17 kB / 450.7 MB, free: 46.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.2688, allocations: 4 kB / 450.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2688, allocations: 0 / 450.8 MB, free: 46.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.2688, allocations: 0 / 450.8 MB, free: 46.7 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.0003053/0.2691, allocations: 336.4 kB / 451.1 MB, free: 46.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2692, allocations: 9.5 kB / 451.1 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.758e-05/0.2692, allocations: 39.69 kB / 451.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.907e-05/0.2692, allocations: 1.094 kB / 451.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.2693, allocations: 180.1 kB / 451.3 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2693, allocations: 1.031 kB / 451.3 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2693, allocations: 1.156 kB / 451.3 MB, free: 46.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2695, allocations: 54.36 kB / 451.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2695, allocations: 0 / 451.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.2695, allocations: 0 / 451.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2695, allocations: 1.156 kB / 451.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2697, allocations: 44.09 kB / 451.4 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.27, allocations: 268.7 kB / 451.7 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.2701, allocations: 43.69 kB / 451.7 MB, free: 45.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.2702, allocations: 1.469 kB / 451.7 MB, free: 45.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.2702, allocations: 32 kB / 451.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2702, allocations: 0 / 451.7 MB, free: 45.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.000327/0.2705, allocations: 99.55 kB / 451.8 MB, free: 45.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.2706, allocations: 57.06 kB / 451.9 MB, free: 45.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.299e-05/0.2706, allocations: 105.5 kB / 452 MB, free: 45.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/0.2706, allocations: 26.55 kB / 452 MB, free: 45.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.2707, allocations: 85.27 kB / 452.1 MB, free: 45.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.2707, allocations: 8.75 kB / 452.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.2707, allocations: 0 / 452.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.142e-05/0.2707, allocations: 320.8 kB / 452.4 MB, free: 44.97 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.2708, allocations: 20.86 kB / 452.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.2709, allocations: 22.39 kB / 452.5 MB, free: 44.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.799e-05/0.271, allocations: 22.11 kB / 452.5 MB, free: 44.95 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.271, allocations: 0 / 452.5 MB, free: 44.95 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/0.2712, allocations: 78.31 kB / 452.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2712, allocations: 5.125 kB / 452.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2712, allocations: 1.188 kB / 452.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2712, allocations: 0 / 452.6 MB, free: 44.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.987e-05/0.2713, allocations: 16.92 kB / 452.6 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.2713, allocations: 7.969 kB / 452.6 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.2714, allocations: 11.23 kB / 452.6 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.2714, allocations: 0 / 452.6 MB, free: 44.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.353e-05/0.2714, allocations: 113.4 kB / 452.7 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.2715, allocations: 192 / 452.7 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.2717, allocations: 90.73 kB / 452.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.2717, allocations: 0 / 452.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2717, allocations: 0 / 452.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2717, allocations: 0 / 452.8 MB, free: 44.7 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.2718, allocations: 162 kB / 453 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2718, allocations: 0.8125 kB / 453 MB, free: 44.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.2719, allocations: 12.69 kB / 453 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.2719, allocations: 3.984 kB / 453 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.2719, allocations: 1.656 kB / 453 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2719, allocations: 0 / 453 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2719, allocations: 3.938 kB / 453 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000201/0.2721, allocations: 181.6 kB / 453.2 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.2722, allocations: 77.11 kB / 453.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.2722, allocations: 1.094 kB / 453.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.2723, allocations: 14.33 kB / 453.3 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.2723, allocations: 1.219 kB / 453.3 MB, free: 44.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2723, allocations: 1.25 kB / 453.3 MB, free: 44.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.965e-05/0.2723, allocations: 83 kB / 453.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.172e-06/0.2723, allocations: 0 / 453.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.2726, allocations: 10.12 kB / 453.4 MB, free: 44.14 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 (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.0003676/0.2729, allocations: 0.7154 MB / 454.1 MB, free: 43.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.2731, allocations: 44 kB / 454.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2732, allocations: 4.094 kB / 454.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.2732, allocations: 27.66 kB / 454.1 MB, free: 43.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.2734, allocations: 7.625 kB / 454.2 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.2738, allocations: 140.5 kB / 454.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.2739, allocations: 0.6872 MB / 455 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.2739, allocations: 1.344 kB / 455 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.168e-05/0.274, allocations: 12.81 kB / 455 MB, free: 42.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.274, allocations: 0 / 455 MB, free: 42.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.2853, allocations: 1.135 MB / 456.1 MB, free: 42.02 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.2856, allocations: 210 kB / 456.3 MB, free: 41.79 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.584/1.87, allocations: 0 / 456.3 MB, free: 41.79 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 & /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) Environment - environmentSimulation: