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.0008179/0.0008179, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006171/0.006171, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06293/0.06293, allocations: 10.99 MB / 281.7 MB, free: 10.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01699/0.01699, allocations: 4.23 MB / 336.4 MB, free: 29.05 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.0004968/0.0004968, allocations: 16.56 kB / 399.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2183, allocations: 50.76 MB / 450.1 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.001152/0.2195, allocations: 1.084 MB / 451.2 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.2198, allocations: 99.3 kB / 451.3 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.555e-05/0.2198, allocations: 0 / 451.3 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.2198, allocations: 3.938 kB / 451.3 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.446e-05/0.2199, allocations: 4.969 kB / 451.3 MB, free: 46.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.2201, allocations: 15.98 kB / 451.4 MB, free: 46.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.879e-05/0.2201, allocations: 25.55 kB / 451.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.709e-05/0.2202, allocations: 1.906 kB / 451.4 MB, free: 46.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.352e-05/0.2202, allocations: 7 kB / 451.4 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.2202, allocations: 11.23 kB / 451.4 MB, free: 46.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.2202, allocations: 5.016 kB / 451.4 MB, free: 46.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.2203, allocations: 19.92 kB / 451.4 MB, free: 46.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.898e-06/0.2203, allocations: 0 / 451.4 MB, free: 46.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.2204, allocations: 36.83 kB / 451.5 MB, free: 46.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.62e-05/0.2205, allocations: 27.61 kB / 451.5 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2205, allocations: 0 / 451.5 MB, free: 46.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2205, allocations: 7.938 kB / 451.5 MB, free: 46.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.2205, allocations: 1 kB / 451.5 MB, free: 46.53 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.0003097/0.2208, allocations: 336.2 kB / 451.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2208, allocations: 9.875 kB / 451.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.726e-05/0.2209, allocations: 34.75 kB / 451.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.907e-05/0.2209, allocations: 6 kB / 451.9 MB, free: 46.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.631e-05/0.221, allocations: 166.6 kB / 452 MB, free: 45.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-06/0.221, allocations: 4.375 kB / 452 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.221, allocations: 2.531 kB / 452 MB, free: 45.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2212, allocations: 54.48 kB / 452.1 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2212, allocations: 3.938 kB / 452.1 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.2212, allocations: 0 / 452.1 MB, free: 45.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.2212, allocations: 5.062 kB / 452.1 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2214, allocations: 51.8 kB / 452.2 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.2217, allocations: 264.7 kB / 452.4 MB, free: 45.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.2218, allocations: 51.94 kB / 452.5 MB, free: 45.51 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.441e-05/0.2219, allocations: 24.66 kB / 452.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.2219, allocations: 1.125 kB / 452.5 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.182e-05/0.2219, allocations: 39.59 kB / 452.5 MB, free: 45.45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.222, allocations: 0 / 452.5 MB, free: 45.45 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003292/0.2223, allocations: 100.1 kB / 452.6 MB, free: 45.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.795e-05/0.2223, allocations: 51.41 kB / 452.7 MB, free: 45.33 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.774e-05/0.2224, allocations: 106.9 kB / 452.8 MB, free: 45.22 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-06/0.2224, allocations: 25.7 kB / 452.8 MB, free: 45.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.2224, allocations: 81.52 kB / 452.9 MB, free: 45.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.451e-05/0.2224, allocations: 9.031 kB / 452.9 MB, free: 45.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/0.2224, allocations: 10.75 kB / 452.9 MB, free: 45.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.2225, allocations: 311.8 kB / 453.2 MB, free: 44.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.2226, allocations: 29.91 kB / 453.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.2227, allocations: 22.48 kB / 453.3 MB, free: 44.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2228, allocations: 56.83 kB / 453.3 MB, free: 44.71 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2228, allocations: 3.938 kB / 453.3 MB, free: 44.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.223, allocations: 78.53 kB / 453.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2231, allocations: 5 kB / 453.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2231, allocations: 1.469 kB / 453.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2231, allocations: 0 / 453.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.2232, allocations: 12.58 kB / 453.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2232, allocations: 0 / 453.4 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.2232, allocations: 10.83 kB / 453.4 MB, free: 44.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2232, allocations: 1.125 kB / 453.4 MB, free: 44.65 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.071e-05/0.2233, allocations: 119 kB / 453.5 MB, free: 44.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.2233, allocations: 5.094 kB / 453.5 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.2235, allocations: 86.59 kB / 453.6 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2236, allocations: 0 / 453.6 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2236, allocations: 0 / 453.6 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2236, allocations: 1.406 kB / 453.6 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.914e-05/0.2237, allocations: 165.2 kB / 453.8 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2237, allocations: 0 / 453.8 MB, free: 44.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/0.2237, allocations: 12.55 kB / 453.8 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2237, allocations: 1.5 kB / 453.8 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2238, allocations: 0 / 453.8 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2238, allocations: 0.5625 kB / 453.8 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2238, allocations: 4.031 kB / 453.8 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.224, allocations: 177.9 kB / 454 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.224, allocations: 77.11 kB / 454.1 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.224, allocations: 5.125 kB / 454.1 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.2241, allocations: 10.11 kB / 454.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.2241, allocations: 1.406 kB / 454.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2241, allocations: 1.5 kB / 454.1 MB, free: 43.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.098e-05/0.2242, allocations: 83.38 kB / 454.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2242, allocations: 0 / 454.2 MB, free: 43.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002083/0.2244, allocations: 5.125 kB / 454.2 MB, free: 43.91 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.0003553/0.2247, allocations: 0.7086 MB / 454.9 MB, free: 43.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.2249, allocations: 51.81 kB / 454.9 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.225, allocations: 0 / 454.9 MB, free: 43.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.225, allocations: 29.47 kB / 455 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.2253, allocations: 9.812 kB / 455 MB, free: 43.19 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00032/0.2256, allocations: 151.6 kB / 455.1 MB, free: 43.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.451e-05/0.2257, allocations: 0.6773 MB / 455.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.761e-05/0.2258, allocations: 3.969 kB / 455.8 MB, free: 42.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.2258, allocations: 17.55 kB / 455.8 MB, free: 42.3 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2258, allocations: 0 / 455.8 MB, free: 42.3 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01064/0.2364, allocations: 1.167 MB / 457 MB, free: 41.76 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.2366, allocations: 235.8 kB / 457.2 MB, free: 41.5 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/1.927, allocations: 1.031 kB / 457.2 MB, free: 41.5 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)