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.001021/0.001021, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009773/0.0009773, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.249/1.249, allocations: 205.1 MB / 222 MB, free: 4.953 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.08165/0.08166, allocations: 10.97 MB / 280.3 MB, free: 10.68 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01714/0.01714, allocations: 4.237 MB / 334 MB, free: 29.37 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.001406/0.001406, allocations: 67.91 kB / 395.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.26, allocations: 49.72 MB / 445.7 MB, free: 47.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002384/0.2624, allocations: 1.427 MB / 447.1 MB, free: 46.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003457/0.2628, allocations: 94.94 kB / 447.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.2628, allocations: 0 / 447.2 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.2629, allocations: 7.875 kB / 447.2 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.2629, allocations: 9.125 kB / 447.2 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.2632, allocations: 11.38 kB / 447.2 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.171e-05/0.2632, allocations: 22.3 kB / 447.2 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.2633, allocations: 1.031 kB / 447.2 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.2633, allocations: 7.922 kB / 447.2 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.068e-05/0.2633, allocations: 11.72 kB / 447.3 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.2633, allocations: 1.188 kB / 447.3 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.2634, allocations: 22.22 kB / 447.3 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.2634, allocations: 5.016 kB / 447.3 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.732e-05/0.2635, allocations: 14.69 kB / 447.3 MB, free: 46.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2636, allocations: 28.31 kB / 447.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2636, allocations: 4 kB / 447.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2636, allocations: 0 / 447.3 MB, free: 46.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.2636, allocations: 0 / 447.3 MB, free: 46.61 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.0004019/0.264, allocations: 338.5 kB / 447.7 MB, free: 46.24 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2641, allocations: 8.906 kB / 447.7 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.644e-05/0.2641, allocations: 31.72 kB / 447.7 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.2641, allocations: 2.031 kB / 447.7 MB, free: 46.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.2642, allocations: 173.5 kB / 447.9 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.2642, allocations: 1.688 kB / 447.9 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2642, allocations: 5.438 kB / 447.9 MB, free: 45.99 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2644, allocations: 50.14 kB / 447.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2644, allocations: 3.938 kB / 447.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.2644, allocations: 0 / 447.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2644, allocations: 1.219 kB / 447.9 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.2646, allocations: 34.53 kB / 448 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.265, allocations: 259.3 kB / 448.2 MB, free: 45.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.2651, allocations: 38.91 kB / 448.3 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.886e-05/0.2652, allocations: 23.16 kB / 448.3 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.513e-05/0.2652, allocations: 13.16 kB / 448.3 MB, free: 45.58 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.2652, allocations: 36 kB / 448.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.2652, allocations: 0 / 448.3 MB, free: 45.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.2656, allocations: 80.98 kB / 448.4 MB, free: 45.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.2656, allocations: 52.5 kB / 448.5 MB, free: 45.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.2657, allocations: 102.4 kB / 448.6 MB, free: 45.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.126e-05/0.2657, allocations: 25.7 kB / 448.6 MB, free: 45.28 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.2658, allocations: 93.44 kB / 448.7 MB, free: 45.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.2658, allocations: 8.953 kB / 448.7 MB, free: 45.18 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.2658, allocations: 12.19 kB / 448.7 MB, free: 45.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.633e-05/0.2659, allocations: 311.8 kB / 449 MB, free: 44.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.087e-05/0.266, allocations: 17.8 kB / 449 MB, free: 44.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.266, allocations: 16.75 kB / 449 MB, free: 44.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.2662, allocations: 43.83 kB / 449.1 MB, free: 44.81 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2662, allocations: 7.875 kB / 449.1 MB, free: 44.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001712/0.2664, allocations: 65.88 kB / 449.1 MB, free: 44.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2664, allocations: 4.094 kB / 449.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2664, allocations: 5.219 kB / 449.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2664, allocations: 0 / 449.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.2665, allocations: 14.61 kB / 449.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2665, allocations: 0 / 449.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.581e-05/0.2666, allocations: 7.844 kB / 449.2 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.2666, allocations: 1.062 kB / 449.2 MB, free: 44.74 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 5.867e-05/0.2667, allocations: 115.9 kB / 449.3 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.2667, allocations: 5.031 kB / 449.3 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.2669, allocations: 79.69 kB / 449.4 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.267, allocations: 0 / 449.4 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.267, allocations: 1.062 kB / 449.4 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.267, allocations: 0 / 449.4 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2671, allocations: 157.9 kB / 449.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2671, allocations: 1.094 kB / 449.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.2672, allocations: 9.234 kB / 449.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2672, allocations: 1.156 kB / 449.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.2672, allocations: 0 / 449.5 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2672, allocations: 5.125 kB / 449.5 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2672, allocations: 0 / 449.5 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.2674, allocations: 163.4 kB / 449.7 MB, free: 44.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.2674, allocations: 82.12 kB / 449.8 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.2674, allocations: 0.9375 kB / 449.8 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.2675, allocations: 7.562 kB / 449.8 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.2676, allocations: 9.484 kB / 449.8 MB, free: 44.08 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.2676, allocations: 1.438 kB / 449.8 MB, free: 44.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.2676, allocations: 82.16 kB / 449.9 MB, free: 44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2676, allocations: 0 / 449.9 MB, free: 44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002161/0.2678, allocations: 6.656 kB / 449.9 MB, free: 44 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.0004012/0.2683, allocations: 0.6957 MB / 450.6 MB, free: 43.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.2685, allocations: 41.23 kB / 450.6 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2685, allocations: 0 / 450.6 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.33e-05/0.2686, allocations: 19.95 kB / 450.6 MB, free: 43.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2688, allocations: 14.06 kB / 450.7 MB, free: 43.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.2692, allocations: 142.3 kB / 450.8 MB, free: 43.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.2694, allocations: 0.6731 MB / 451.5 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.2694, allocations: 7.328 kB / 451.5 MB, free: 42.42 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.2694, allocations: 16.84 kB / 451.5 MB, free: 42.41 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2694, allocations: 0 / 451.5 MB, free: 42.41 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.31/1.579, allocations: 1.223 MB / 452.7 MB, free: 41.79 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/1.579, allocations: 233 kB / 452.9 MB, free: 41.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/3.628, allocations: 1.031 kB / 452.9 MB, free: 41.54 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)