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.007591/0.007591, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.00197/0.00197, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.612/1.612, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07275/0.07275, allocations: 10.98 MB / 280.9 MB, free: 10.13 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.01995/0.01995, allocations: 4.245 MB / 334.6 MB, free: 29.01 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.00211/0.00211, allocations: 75.8 kB / 447.1 MB, free: 44.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09914/0.1013, allocations: 49.75 MB / 496.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002552/0.1039, allocations: 1.354 MB / 498.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.1042, allocations: 96.12 kB / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.1043, allocations: 0 / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.926e-05/0.1043, allocations: 0 / 498.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/0.1044, allocations: 7.922 kB / 498.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.1047, allocations: 19.97 kB / 498.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.509e-05/0.1048, allocations: 23.94 kB / 498.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.1048, allocations: 7.984 kB / 498.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.1048, allocations: 7.938 kB / 498.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.1049, allocations: 11.98 kB / 498.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.1049, allocations: 0 / 498.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.07e-05/0.105, allocations: 15.98 kB / 498.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.105, allocations: 11.92 kB / 498.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.1051, allocations: 7.938 kB / 498.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.1052, allocations: 31.84 kB / 498.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1052, allocations: 0 / 498.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1052, allocations: 0 / 498.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1052, allocations: 0 / 498.4 MB, free: 12.32 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.0005645/0.1058, allocations: 343.4 kB / 498.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1059, allocations: 12.03 kB / 498.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.925e-05/0.1059, allocations: 30.75 kB / 498.8 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.831e-05/0.1059, allocations: 4.875 kB / 498.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1062, allocations: 172.3 kB / 499 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1062, allocations: 4.375 kB / 499 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.1062, allocations: 384 / 499 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1064, allocations: 54.17 kB / 499 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1064, allocations: 7.938 kB / 499 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1064, allocations: 0 / 499 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1064, allocations: 0 / 499 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.1066, allocations: 35.91 kB / 499.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.1071, allocations: 260.9 kB / 499.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1073, allocations: 42.5 kB / 499.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.244e-05/0.1074, allocations: 20.89 kB / 499.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.1074, allocations: 4 kB / 499.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1075, allocations: 30.56 kB / 499.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.1075, allocations: 0 / 499.4 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003965/0.1079, allocations: 89.58 kB / 499.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1079, allocations: 51.41 kB / 499.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.108, allocations: 97.86 kB / 499.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.108, allocations: 25.7 kB / 499.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.1081, allocations: 88.12 kB / 499.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.1081, allocations: 3.953 kB / 499.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.1082, allocations: 17.72 kB / 499.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1084, allocations: 315 kB / 0.4884 GB, free: 10.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.1085, allocations: 11.98 kB / 0.4884 GB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.1085, allocations: 19.97 kB / 0.4884 GB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.1087, allocations: 40.77 kB / 0.4884 GB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1087, allocations: 3.938 kB / 0.4885 GB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002407/0.109, allocations: 73.67 kB / 0.4885 GB, free: 10.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.109, allocations: 6.188 kB / 0.4885 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.109, allocations: 0 / 0.4885 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.109, allocations: 4.188 kB / 0.4885 GB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.1091, allocations: 7.984 kB / 0.4885 GB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1092, allocations: 0 / 0.4885 GB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.1092, allocations: 4 kB / 0.4885 GB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1092, allocations: 4.031 kB / 0.4885 GB, free: 10.24 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 0.000102/0.1093, allocations: 121.8 kB / 0.4887 GB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.1094, allocations: 3.984 kB / 0.4887 GB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1096, allocations: 76.66 kB / 0.4887 GB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1096, allocations: 0 / 0.4887 GB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.1097, allocations: 0 / 0.4887 GB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1097, allocations: 7.969 kB / 0.4887 GB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1099, allocations: 161.6 kB / 0.4889 GB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1099, allocations: 7.938 kB / 0.4889 GB, free: 9.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.645e-05/0.11, allocations: 8 kB / 0.4889 GB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.11, allocations: 0 / 0.4889 GB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.11, allocations: 0 / 0.4889 GB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.11, allocations: 0 / 0.4889 GB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.11, allocations: 7.984 kB / 0.4889 GB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.1103, allocations: 163.4 kB / 0.4891 GB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.1103, allocations: 89.05 kB / 0.4892 GB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.1104, allocations: 0 / 0.4892 GB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.312e-05/0.1104, allocations: 4 kB / 0.4892 GB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1105, allocations: 3.984 kB / 0.4892 GB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1105, allocations: 4 kB / 0.4892 GB, free: 9.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.569e-05/0.1105, allocations: 79.28 kB / 0.4893 GB, free: 9.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1106, allocations: 4.031 kB / 0.4893 GB, free: 9.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1108, allocations: 11.94 kB / 0.4893 GB, free: 9.402 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.0006362/0.1114, allocations: 0.6929 MB / 0.4899 GB, free: 8.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1117, allocations: 43.94 kB / 0.49 GB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1117, allocations: 0 / 0.49 GB, free: 8.637 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.1118, allocations: 15.98 kB / 0.49 GB, free: 8.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1121, allocations: 7.984 kB / 0.49 GB, free: 8.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.1126, allocations: 131.3 kB / 0.4901 GB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.1129, allocations: 0.6847 MB / 0.4908 GB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.794e-05/0.113, allocations: 0 / 0.4908 GB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.113, allocations: 7.438 kB / 0.4908 GB, free: 7.73 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.113, allocations: 0 / 0.4908 GB, free: 7.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02413/0.1372, allocations: 1.404 MB / 0.4922 GB, free: 6.402 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.488, allocations: 8.016 kB / 0.4922 GB, free: 6.395 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)