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.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 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.001833/0.001832, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.542/1.542, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06873/0.06873, allocations: 10.97 MB / 280.7 MB, free: 10.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01792/0.01792, allocations: 4.25 MB / 334.4 MB, free: 29.11 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.002029/0.002029, allocations: 67.91 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.292, allocations: 49.73 MB / 446.4 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002184/0.2942, allocations: 1.365 MB / 447.8 MB, free: 46.81 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000321/0.2945, allocations: 92.11 kB / 447.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.2946, allocations: 1.25 kB / 447.9 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.48e-05/0.2946, allocations: 7.984 kB / 447.9 MB, free: 46.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.2947, allocations: 8.859 kB / 447.9 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.2949, allocations: 12.3 kB / 447.9 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.369e-05/0.295, allocations: 21.91 kB / 447.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.2951, allocations: 5.109 kB / 447.9 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.2951, allocations: 7.938 kB / 447.9 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.2951, allocations: 15.61 kB / 447.9 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.2952, allocations: 1.062 kB / 447.9 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.23e-05/0.2952, allocations: 16.11 kB / 448 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2953, allocations: 9.203 kB / 448 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.2953, allocations: 18.25 kB / 448 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2954, allocations: 23.38 kB / 448 MB, free: 46.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2954, allocations: 0 / 448 MB, free: 46.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2954, allocations: 1.281 kB / 448 MB, free: 46.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.2954, allocations: 0 / 448 MB, free: 46.65 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.0004004/0.2958, allocations: 337 kB / 448.3 MB, free: 46.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.2959, allocations: 9.562 kB / 448.4 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.2959, allocations: 31.84 kB / 448.4 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.296, allocations: 14.02 kB / 448.4 MB, free: 46.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.662e-05/0.2961, allocations: 170.5 kB / 448.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.2961, allocations: 384 / 448.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.2961, allocations: 2.469 kB / 448.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2963, allocations: 49.05 kB / 448.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2963, allocations: 3.938 kB / 448.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2963, allocations: 1.469 kB / 448.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2963, allocations: 0 / 448.6 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.2965, allocations: 42.83 kB / 448.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.2969, allocations: 251.6 kB / 448.9 MB, free: 45.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.297, allocations: 42.92 kB / 448.9 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.2971, allocations: 23.19 kB / 449 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.2971, allocations: 9.125 kB / 449 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.2971, allocations: 31.5 kB / 449 MB, free: 45.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.2971, allocations: 0 / 449 MB, free: 45.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.2975, allocations: 81.27 kB / 449.1 MB, free: 45.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2975, allocations: 56.5 kB / 449.1 MB, free: 45.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.051e-05/0.2976, allocations: 102.6 kB / 449.2 MB, free: 45.35 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.2976, allocations: 25.7 kB / 449.3 MB, free: 45.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.2976, allocations: 85.27 kB / 449.4 MB, free: 45.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2977, allocations: 9.078 kB / 449.4 MB, free: 45.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.2977, allocations: 12.19 kB / 449.4 MB, free: 45.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.41e-05/0.2978, allocations: 315.9 kB / 449.7 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.2979, allocations: 17.28 kB / 449.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.2979, allocations: 17.05 kB / 449.7 MB, free: 44.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2981, allocations: 39.86 kB / 449.8 MB, free: 44.85 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2981, allocations: 3.938 kB / 449.8 MB, free: 44.85 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.2983, allocations: 69 kB / 449.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.2983, allocations: 5.719 kB / 449.8 MB, free: 44.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.2983, allocations: 4.094 kB / 449.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.2984, allocations: 0 / 449.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.2984, allocations: 10.83 kB / 449.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.2985, allocations: 4 kB / 449.8 MB, free: 44.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.2985, allocations: 7.453 kB / 449.9 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2985, allocations: 2.25 kB / 449.9 MB, free: 44.78 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.969e-05/0.2986, allocations: 111 kB / 450 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.2986, allocations: 8.969 kB / 450 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.2988, allocations: 80.44 kB / 450.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2989, allocations: 0 / 450.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2989, allocations: 0 / 450.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2989, allocations: 1.531 kB / 450.1 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.299, allocations: 161.7 kB / 450.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.299, allocations: 3.984 kB / 450.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.2991, allocations: 6.781 kB / 450.2 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.2991, allocations: 8.016 kB / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.2991, allocations: 1 kB / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2991, allocations: 0 / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2991, allocations: 1.344 kB / 450.2 MB, free: 44.38 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.2993, allocations: 162.5 kB / 450.4 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.57e-05/0.2993, allocations: 78.58 kB / 450.5 MB, free: 44.13 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.2993, allocations: 8.031 kB / 450.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.2994, allocations: 8.016 kB / 450.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2994, allocations: 1.156 kB / 450.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.2995, allocations: 1.188 kB / 450.5 MB, free: 44.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.105e-05/0.2995, allocations: 82.94 kB / 450.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2995, allocations: 0 / 450.6 MB, free: 44.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.2997, allocations: 6.25 kB / 450.6 MB, free: 44.04 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.0003985/0.3001, allocations: 0.699 MB / 451.3 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3004, allocations: 37.03 kB / 451.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3004, allocations: 0 / 451.3 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3005, allocations: 27.69 kB / 451.3 MB, free: 43.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002828/0.3008, allocations: 6.281 kB / 451.3 MB, free: 43.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.3012, allocations: 137.6 kB / 451.5 MB, free: 43.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3013, allocations: 0.6795 MB / 452.2 MB, free: 42.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3013, allocations: 6.344 kB / 452.2 MB, free: 42.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/0.3014, allocations: 12.5 kB / 452.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3014, allocations: 1.094 kB / 452.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.3196, allocations: 1.394 MB / 453.6 MB, free: 41.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.836/8.155, allocations: 9.203 kB / 453.6 MB, free: 41.67 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/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)