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.001116/0.001116, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001271/0.001271, allocations: 168.7 kB / 15.95 MB, free: 204 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.513/1.513, allocations: 205.4 MB / 222.1 MB, free: 5.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06611/0.06611, allocations: 10.99 MB / 281.4 MB, free: 10.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01661/0.01661, allocations: 4.225 MB / 336 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.0005271/0.0005274, allocations: 15.98 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3031, allocations: 50.76 MB / 449.5 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002041/0.3052, allocations: 1.074 MB / 450.6 MB, free: 46.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003338/0.3056, allocations: 99.66 kB / 450.7 MB, free: 46.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.3056, allocations: 5.281 kB / 450.7 MB, free: 46.74 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.3056, allocations: 0 / 450.7 MB, free: 46.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.3057, allocations: 0 / 450.7 MB, free: 46.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.306, allocations: 16.73 kB / 450.7 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.983e-05/0.306, allocations: 15.03 kB / 450.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.3061, allocations: 5.234 kB / 450.7 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.3061, allocations: 7.703 kB / 450.7 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.3062, allocations: 15.73 kB / 450.7 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3062, allocations: 1.25 kB / 450.7 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.3063, allocations: 15.09 kB / 450.7 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.3063, allocations: 5.516 kB / 450.8 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.3063, allocations: 27.02 kB / 450.8 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.873e-05/0.3064, allocations: 26.09 kB / 450.8 MB, free: 46.64 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3064, allocations: 0 / 450.8 MB, free: 46.64 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3064, allocations: 0 / 450.8 MB, free: 46.64 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3065, allocations: 0 / 450.8 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.000398/0.3069, allocations: 340.9 kB / 451.1 MB, free: 46.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3069, allocations: 9.562 kB / 451.1 MB, free: 46.28 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.907e-05/0.3069, allocations: 30.56 kB / 451.2 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.309e-05/0.307, allocations: 5.156 kB / 451.2 MB, free: 46.24 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.071e-05/0.3071, allocations: 173.8 kB / 451.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3071, allocations: 4 kB / 451.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.3071, allocations: 1.438 kB / 451.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3073, allocations: 57.81 kB / 451.4 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3073, allocations: 4 kB / 451.4 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.3073, allocations: 0 / 451.4 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3073, allocations: 1 kB / 451.4 MB, free: 45.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.3075, allocations: 44.7 kB / 451.5 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.3079, allocations: 268.3 kB / 451.7 MB, free: 45.67 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3081, allocations: 48.19 kB / 451.8 MB, free: 45.63 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.3082, allocations: 27.16 kB / 451.8 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.49e-05/0.3082, allocations: 2.062 kB / 451.8 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.3082, allocations: 31.56 kB / 451.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3083, allocations: 0 / 451.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003662/0.3086, allocations: 107.4 kB / 451.9 MB, free: 45.51 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3087, allocations: 51.41 kB / 452 MB, free: 45.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.3088, allocations: 103.9 kB / 452.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.3088, allocations: 25.7 kB / 452.1 MB, free: 45.31 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.3088, allocations: 81.64 kB / 452.2 MB, free: 45.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.3089, allocations: 7.906 kB / 452.2 MB, free: 45.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3089, allocations: 5.281 kB / 452.2 MB, free: 45.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.3089, allocations: 318.8 kB / 452.5 MB, free: 44.89 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.309, allocations: 22 kB / 452.5 MB, free: 44.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.161e-05/0.3091, allocations: 26.86 kB / 452.6 MB, free: 44.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.3092, allocations: 18.7 kB / 452.6 MB, free: 44.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3092, allocations: 0 / 452.6 MB, free: 44.87 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001828/0.3094, allocations: 77.97 kB / 452.7 MB, free: 44.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.3094, allocations: 4.75 kB / 452.7 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3094, allocations: 1.031 kB / 452.7 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3095, allocations: 3.938 kB / 452.7 MB, free: 44.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.3096, allocations: 12.86 kB / 452.7 MB, free: 44.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3096, allocations: 0 / 452.7 MB, free: 44.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3096, allocations: 10.5 kB / 452.7 MB, free: 44.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.3097, allocations: 9.047 kB / 452.7 MB, free: 44.8 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 7.323e-05/0.3097, allocations: 116.5 kB / 452.8 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3098, allocations: 4.906 kB / 452.8 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.31, allocations: 81.75 kB / 452.9 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.31, allocations: 0 / 452.9 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.31, allocations: 1.281 kB / 452.9 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3101, allocations: 0 / 452.9 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.3102, allocations: 161.3 kB / 453.1 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.3102, allocations: 5.312 kB / 453.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.3103, allocations: 13 kB / 453.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3103, allocations: 0 / 453.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3103, allocations: 0 / 453.1 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3103, allocations: 9.922 kB / 453.1 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3103, allocations: 0 / 453.1 MB, free: 44.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.3105, allocations: 179.9 kB / 453.3 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.445e-05/0.3105, allocations: 78.36 kB / 453.3 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3106, allocations: 1.188 kB / 453.3 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.892e-05/0.3106, allocations: 5.406 kB / 453.3 MB, free: 44.15 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.3107, allocations: 5.234 kB / 453.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.3107, allocations: 2.094 kB / 453.3 MB, free: 44.14 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.3107, allocations: 82.75 kB / 453.4 MB, free: 44.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3107, allocations: 0 / 453.4 MB, free: 44.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.311, allocations: 5.312 kB / 453.4 MB, free: 44.07 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.0004193/0.3114, allocations: 0.7163 MB / 454.2 MB, free: 43.37 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001973/0.3116, allocations: 42.56 kB / 454.2 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3116, allocations: 1.062 kB / 454.2 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.3117, allocations: 24.92 kB / 454.2 MB, free: 43.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.312, allocations: 17.27 kB / 454.2 MB, free: 43.34 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.3124, allocations: 148.5 kB / 454.4 MB, free: 43.17 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3125, allocations: 0.6766 MB / 455.1 MB, free: 42.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.161e-05/0.3126, allocations: 6.781 kB / 455.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.3126, allocations: 8.938 kB / 455.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3126, allocations: 0 / 455.1 MB, free: 42.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.3253, allocations: 1.16 MB / 456.2 MB, free: 41.93 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.3255, allocations: 215.6 kB / 456.4 MB, free: 41.7 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.268, allocations: 3.438 kB / 456.4 MB, free: 41.7 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: