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.008673/0.008673, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.002218/0.002218, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.444/1.444, allocations: 205.1 MB / 222.6 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.08292/0.08292, allocations: 10.98 MB / 280.9 MB, free: 10 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01807/0.01807, allocations: 4.249 MB / 334.6 MB, free: 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.001528/0.001528, allocations: 71.14 kB / 447.1 MB, free: 44.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09887, allocations: 49.74 MB / 496.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002724/0.1016, allocations: 1.366 MB / 498.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003679/0.102, allocations: 100.1 kB / 498.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.1021, allocations: 0 / 498.3 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.1022, allocations: 3.938 kB / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.007e-05/0.1022, allocations: 0 / 498.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1025, allocations: 15.92 kB / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.587e-05/0.1026, allocations: 23.92 kB / 498.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.082e-05/0.1026, allocations: 4 kB / 498.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.1027, allocations: 19.91 kB / 498.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.311e-05/0.1027, allocations: 8 kB / 498.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1027, allocations: 0 / 498.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.341e-05/0.1028, allocations: 15.98 kB / 498.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.1028, allocations: 3.938 kB / 498.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.1028, allocations: 11.98 kB / 498.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.103, allocations: 31.89 kB / 498.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.103, allocations: 0 / 498.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.103, allocations: 0 / 498.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.103, allocations: 0 / 498.4 MB, free: 12.35 MB / 334.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.0004613/0.1035, allocations: 346.3 kB / 498.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1035, allocations: 11.97 kB / 498.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.1036, allocations: 34.75 kB / 498.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.1036, allocations: 4.938 kB / 498.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.1037, allocations: 160.4 kB / 499 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.1038, allocations: 4.359 kB / 499 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.1038, allocations: 4.375 kB / 499 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1039, allocations: 50.19 kB / 499 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.104, allocations: 11.92 kB / 499 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.104, allocations: 0 / 499 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.104, allocations: 3.938 kB / 499 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001604/0.1042, allocations: 31.97 kB / 499.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.1046, allocations: 261.1 kB / 499.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1047, allocations: 46.44 kB / 499.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.1048, allocations: 20.91 kB / 499.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1049, allocations: 0 / 499.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.1049, allocations: 38.55 kB / 499.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1049, allocations: 0 / 499.4 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003369/0.1052, allocations: 77.66 kB / 499.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.1053, allocations: 59.39 kB / 499.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.227e-05/0.1054, allocations: 97.86 kB / 499.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.1054, allocations: 25.7 kB / 499.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/0.1054, allocations: 80.14 kB / 499.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.1055, allocations: 3.906 kB / 499.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.1055, allocations: 25.64 kB / 499.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1056, allocations: 315 kB / 0.4884 GB, free: 10.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1057, allocations: 15.98 kB / 0.4884 GB, free: 10.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.038e-05/0.1058, allocations: 15.98 kB / 0.4884 GB, free: 10.42 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1059, allocations: 40.81 kB / 0.4884 GB, free: 10.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.1059, allocations: 3.938 kB / 0.4884 GB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.1061, allocations: 69.72 kB / 0.4885 GB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1061, allocations: 6.188 kB / 0.4885 GB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1062, allocations: 0 / 0.4885 GB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1062, allocations: 0 / 0.4885 GB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.1063, allocations: 8 kB / 0.4885 GB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1063, allocations: 7.922 kB / 0.4885 GB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.32e-05/0.1063, allocations: 4 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.1064, allocations: 0 / 0.4885 GB, free: 10.27 MB / 334.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 8.307e-05/0.1064, allocations: 117.8 kB / 0.4887 GB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.1065, allocations: 4.188 kB / 0.4887 GB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1067, allocations: 72.75 kB / 0.4887 GB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.654e-06/0.1067, allocations: 4 kB / 0.4887 GB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1067, allocations: 0 / 0.4887 GB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.1067, allocations: 7.969 kB / 0.4887 GB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.1069, allocations: 161.5 kB / 0.4889 GB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1069, allocations: 0 / 0.4889 GB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.107, allocations: 19.92 kB / 0.4889 GB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.107, allocations: 0 / 0.4889 GB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.107, allocations: 0 / 0.4889 GB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.107, allocations: 0 / 0.4889 GB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.107, allocations: 3.938 kB / 0.4889 GB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.1072, allocations: 167.5 kB / 0.4891 GB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.1073, allocations: 77.11 kB / 0.4891 GB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.1073, allocations: 3.984 kB / 0.4892 GB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.1074, allocations: 4 kB / 0.4892 GB, free: 9.543 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1074, allocations: 4 kB / 0.4892 GB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1075, allocations: 0 / 0.4892 GB, free: 9.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.551e-05/0.1075, allocations: 87.27 kB / 0.4892 GB, free: 9.453 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1075, allocations: 4.031 kB / 0.4892 GB, free: 9.449 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1077, allocations: 4 kB / 0.4892 GB, free: 9.445 MB / 334.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.0006322/0.1084, allocations: 0.6967 MB / 0.4899 GB, free: 8.719 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.1086, allocations: 39.98 kB / 0.49 GB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1086, allocations: 0 / 0.49 GB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.1087, allocations: 15.98 kB / 0.49 GB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1091, allocations: 8 kB / 0.49 GB, free: 8.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.1096, allocations: 147.6 kB / 0.4901 GB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.11, allocations: 0.6769 MB / 0.4908 GB, free: 7.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.555e-05/0.11, allocations: 7.938 kB / 0.4908 GB, free: 7.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.1101, allocations: 11.42 kB / 0.4908 GB, free: 7.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1101, allocations: 0 / 0.4908 GB, free: 7.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.1304, allocations: 1.402 MB / 0.4922 GB, free: 6.422 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.721, allocations: 8.016 kB / 0.4922 GB, free: 6.414 MB / 334.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)