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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.8 kB / 16.46 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 215.2 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 207.6 MB / 229.8 MB, free: 4.23 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro master/package.mo): time 0.07225/0.07225, allocations: 11.07 MB / 292.8 MB, free: 5.293 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TAeZoSysPro_testsuite master/package.mo): time 0.02096/0.02096, allocations: 4.303 MB / 351.1 MB, free: 23.51 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003507/0.003507, allocations: 67.91 kB / 470.9 MB, free: 40.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09187/0.09538, allocations: 52.4 MB / 0.5111 GB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.00356/0.09894, allocations: 1.354 MB / 0.5124 GB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004787/0.09942, allocations: 100.2 kB / 0.5125 GB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.09946, allocations: 0 / 0.5125 GB, free: 2.434 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.09949, allocations: 7.938 kB / 0.5125 GB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.09955, allocations: 3.984 kB / 0.5125 GB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003532/0.0999, allocations: 15.92 kB / 0.5125 GB, free: 2.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1, allocations: 27.86 kB / 0.5125 GB, free: 2.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.787e-05/0.1001, allocations: 8 kB / 0.5125 GB, free: 2.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.674e-05/0.1001, allocations: 11.98 kB / 0.5125 GB, free: 2.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.525e-05/0.1002, allocations: 3.938 kB / 0.5126 GB, free: 2.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1002, allocations: 4 kB / 0.5126 GB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.1003, allocations: 19.97 kB / 0.5126 GB, free: 2.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.1003, allocations: 4 kB / 0.5126 GB, free: 2.328 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1004, allocations: 15.86 kB / 0.5126 GB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1005, allocations: 28.19 kB / 0.5126 GB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1005, allocations: 0 / 0.5126 GB, free: 2.285 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1005, allocations: 0 / 0.5126 GB, free: 2.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1005, allocations: 7.938 kB / 0.5126 GB, free: 2.277 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.0006656/0.1012, allocations: 343.4 kB / 0.513 GB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.1012, allocations: 8.031 kB / 0.513 GB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.1013, allocations: 30.75 kB / 0.513 GB, free: 1.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.1013, allocations: 4.938 kB / 0.513 GB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1015, allocations: 164.3 kB / 0.5132 GB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1015, allocations: 4.312 kB / 0.5132 GB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1015, allocations: 8.359 kB / 0.5132 GB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.1018, allocations: 50.23 kB / 0.5132 GB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1018, allocations: 7.938 kB / 0.5132 GB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.1018, allocations: 0 / 0.5132 GB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1018, allocations: 3.984 kB / 0.5132 GB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.102, allocations: 27.97 kB / 0.5133 GB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.1025, allocations: 260.9 kB / 0.5135 GB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1027, allocations: 46.44 kB / 0.5135 GB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1028, allocations: 24.91 kB / 0.5136 GB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.1028, allocations: 0 / 0.5136 GB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1028, allocations: 30.56 kB / 0.5136 GB, free: 1.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.1028, allocations: 0 / 0.5136 GB, free: 1.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004052/0.1032, allocations: 81.64 kB / 0.5137 GB, free: 1.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.1033, allocations: 55.34 kB / 0.5137 GB, free: 0.957 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.1034, allocations: 101.8 kB / 0.5138 GB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1034, allocations: 29.7 kB / 0.5139 GB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.1035, allocations: 84.14 kB / 0.5139 GB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1035, allocations: 3.953 kB / 0.5139 GB, free: 0.7227 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.005e-05/0.1036, allocations: 21.83 kB / 0.514 GB, free: 0.6953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1037, allocations: 310.8 kB / 0.5143 GB, free: 392 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.1038, allocations: 15.98 kB / 0.5143 GB, free: 376 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.1039, allocations: 15.98 kB / 0.5143 GB, free: 360 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1041, allocations: 36.81 kB / 0.5143 GB, free: 320 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1041, allocations: 8 kB / 0.5143 GB, free: 312 kB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.1043, allocations: 69.61 kB / 0.5144 GB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1043, allocations: 7.938 kB / 0.5144 GB, free: 228 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1043, allocations: 4 kB / 0.5144 GB, free: 224 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1043, allocations: 0 / 0.5144 GB, free: 224 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.1044, allocations: 7.938 kB / 0.5144 GB, free: 216 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1044, allocations: 0 / 0.5144 GB, free: 216 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.841e-05/0.1045, allocations: 19.95 kB / 0.5144 GB, free: 196 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1045, allocations: 4 kB / 0.5144 GB, free: 192 kB / 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 9.917e-05/0.1046, allocations: 109.8 kB / 0.5145 GB, free: 72 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.1046, allocations: 0 / 0.5145 GB, free: 72 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1049, allocations: 80.7 kB / 0.5146 GB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.1049, allocations: 0 / 0.5146 GB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1049, allocations: 8.031 kB / 0.5146 GB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1049, allocations: 0 / 0.5146 GB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1051, allocations: 161.6 kB / 0.5148 GB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1051, allocations: 0 / 0.5148 GB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.417e-05/0.1052, allocations: 11.92 kB / 0.5148 GB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1052, allocations: 0 / 0.5148 GB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1052, allocations: 0 / 0.5148 GB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1052, allocations: 4 kB / 0.5148 GB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1052, allocations: 0 / 0.5148 GB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1055, allocations: 163.5 kB / 0.515 GB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.1055, allocations: 81.06 kB / 0.515 GB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.1056, allocations: 0 / 0.515 GB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.1056, allocations: 11.98 kB / 0.515 GB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.1057, allocations: 192 / 0.515 GB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1057, allocations: 4 kB / 0.515 GB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.368e-05/0.1057, allocations: 91.28 kB / 0.5151 GB, free: 15.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1057, allocations: 0 / 0.5151 GB, free: 15.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.106, allocations: 7.938 kB / 0.5151 GB, free: 15.37 MB / 350.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.0006678/0.1066, allocations: 0.7024 MB / 0.5158 GB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.1069, allocations: 35.95 kB / 0.5159 GB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1069, allocations: 0 / 0.5159 GB, free: 14.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.532e-05/0.107, allocations: 23.92 kB / 0.5159 GB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1073, allocations: 2.031 kB / 0.5159 GB, free: 14.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.1078, allocations: 139.9 kB / 0.516 GB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1082, allocations: 0.6729 MB / 0.5167 GB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.877e-05/0.1082, allocations: 0 / 0.5167 GB, free: 13.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.1083, allocations: 23.36 kB / 0.5167 GB, free: 13.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1083, allocations: 0 / 0.5167 GB, free: 13.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.132, allocations: 1.403 MB / 0.5181 GB, free: 12.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.566, allocations: 0 / 0.5181 GB, free: 12.34 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 TAeZoSysPro_testsuite_TAeZoSysPro_testsuite_FluidDynamics_Components_Valves_test_polynomial.fmu > TAeZoSysPro_testsuite_TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.308876167051494] Failed to read output from testmodel.py, exit status != 0: 8.6335684559308 8.650454374 8.546244082 Calling exit ...