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.0008999/0.0008999, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009704/0.0009703, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.291/1.291, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.06284/0.06284, allocations: 10.97 MB / 280.4 MB, free: 10.4 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.226 MB / 334.1 MB, free: 29.29 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.001316/0.001316, allocations: 67.91 kB / 396.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2031, allocations: 49.73 MB / 445.9 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002066/0.2052, allocations: 1.422 MB / 447.3 MB, free: 46.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002621/0.2054, allocations: 94.03 kB / 447.4 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.994e-05/0.2055, allocations: 1.281 kB / 447.4 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.2055, allocations: 3.984 kB / 447.4 MB, free: 46.72 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.496e-05/0.2055, allocations: 7.938 kB / 447.4 MB, free: 46.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.2058, allocations: 16.69 kB / 447.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.2058, allocations: 22.44 kB / 447.4 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.2059, allocations: 1.188 kB / 447.4 MB, free: 46.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.412e-05/0.2059, allocations: 11.27 kB / 447.4 MB, free: 46.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.651e-05/0.2059, allocations: 15.73 kB / 447.5 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2059, allocations: 1.438 kB / 447.5 MB, free: 46.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.231e-05/0.206, allocations: 11.81 kB / 447.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.206, allocations: 9.047 kB / 447.5 MB, free: 46.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.2061, allocations: 10.36 kB / 447.5 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.648e-05/0.2061, allocations: 36 kB / 447.5 MB, free: 46.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.2062, allocations: 1.344 kB / 447.5 MB, free: 46.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.2062, allocations: 0 / 447.5 MB, free: 46.62 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.2062, allocations: 0 / 447.5 MB, free: 46.62 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.0003153/0.2065, allocations: 337.8 kB / 447.9 MB, free: 46.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2065, allocations: 13.75 kB / 447.9 MB, free: 46.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.382e-05/0.2066, allocations: 30.75 kB / 447.9 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.136e-05/0.2066, allocations: 2 kB / 447.9 MB, free: 46.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.562e-05/0.2067, allocations: 174.2 kB / 448.1 MB, free: 46.01 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2067, allocations: 5.469 kB / 448.1 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.2067, allocations: 1.375 kB / 448.1 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.2068, allocations: 53.2 kB / 448.1 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2069, allocations: 5 kB / 448.1 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.2069, allocations: 0 / 448.1 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2069, allocations: 5.078 kB / 448.1 MB, free: 45.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.207, allocations: 29.84 kB / 448.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.2073, allocations: 259.7 kB / 448.4 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.2074, allocations: 43.72 kB / 448.5 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.302e-05/0.2075, allocations: 22.98 kB / 448.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2076, allocations: 5.125 kB / 448.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.2076, allocations: 35.69 kB / 448.5 MB, free: 45.55 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2076, allocations: 0 / 448.5 MB, free: 45.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003001/0.2079, allocations: 76.83 kB / 448.6 MB, free: 45.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.2079, allocations: 52.62 kB / 448.7 MB, free: 45.43 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.67e-05/0.208, allocations: 102.9 kB / 448.8 MB, free: 45.33 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.685e-06/0.208, allocations: 33.77 kB / 448.8 MB, free: 45.29 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.208, allocations: 85.25 kB / 448.9 MB, free: 45.2 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.208, allocations: 9.219 kB / 448.9 MB, free: 45.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.2081, allocations: 11.81 kB / 448.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.116e-05/0.2081, allocations: 311.9 kB / 449.2 MB, free: 44.87 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.2082, allocations: 17.52 kB / 449.2 MB, free: 44.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.2083, allocations: 17.22 kB / 449.2 MB, free: 44.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.2084, allocations: 39.92 kB / 449.3 MB, free: 44.83 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2084, allocations: 3.938 kB / 449.3 MB, free: 44.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000163/0.2086, allocations: 64.59 kB / 449.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2086, allocations: 6 kB / 449.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2086, allocations: 0 / 449.3 MB, free: 44.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.2086, allocations: 7.969 kB / 449.3 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.2087, allocations: 13.77 kB / 449.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.2087, allocations: 1.156 kB / 449.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.116e-05/0.2088, allocations: 3.062 kB / 449.4 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.2088, allocations: 9.438 kB / 449.4 MB, free: 44.75 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.005e-05/0.2088, allocations: 115.2 kB / 449.5 MB, free: 44.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.2088, allocations: 9.469 kB / 449.5 MB, free: 44.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001989/0.209, allocations: 75.84 kB / 449.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2091, allocations: 0 / 449.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2091, allocations: 1.031 kB / 449.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2091, allocations: 0 / 449.6 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.2092, allocations: 162.3 kB / 449.7 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2092, allocations: 0 / 449.7 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.2092, allocations: 10.72 kB / 449.7 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2092, allocations: 0 / 449.7 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.2093, allocations: 9.344 kB / 449.7 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2093, allocations: 0 / 449.7 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2093, allocations: 3.984 kB / 449.8 MB, free: 44.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.2094, allocations: 156.2 kB / 449.9 MB, free: 44.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.2095, allocations: 82.22 kB / 450 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.2095, allocations: 0 / 450 MB, free: 44.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.2096, allocations: 7.531 kB / 450 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.2096, allocations: 10.27 kB / 450 MB, free: 44.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.2096, allocations: 1.219 kB / 450 MB, free: 44.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.912e-05/0.2096, allocations: 78.75 kB / 450.1 MB, free: 44.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2096, allocations: 0 / 450.1 MB, free: 44.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.2099, allocations: 5.625 kB / 450.1 MB, free: 44.02 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.0003315/0.2102, allocations: 0.7029 MB / 450.8 MB, free: 43.33 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.2104, allocations: 34.19 kB / 450.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.2104, allocations: 0 / 450.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.72e-05/0.2105, allocations: 24.11 kB / 450.8 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2107, allocations: 10.23 kB / 450.9 MB, free: 43.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.2111, allocations: 149.8 kB / 451 MB, free: 43.13 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.246e-05/0.2112, allocations: 0.6803 MB / 451.7 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.2112, allocations: 2.375 kB / 451.7 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.2113, allocations: 16.5 kB / 451.7 MB, free: 42.42 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2113, allocations: 1.094 kB / 451.7 MB, free: 42.42 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5601/0.7714, allocations: 1.265 MB / 453 MB, free: 41.8 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.7715, allocations: 237.3 kB / 453.2 MB, free: 41.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.255, allocations: 3.938 kB / 453.2 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)