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.001274/0.001274, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001435/0.001435, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.356/1.356, allocations: 207.7 MB / 233.1 MB, free: 9.781 MB / 190.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.08749/0.08749, allocations: 11.07 MB / 296.4 MB, free: 10.61 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.02112/0.02112, allocations: 4.301 MB / 355.2 MB, free: 15.66 MB / 302.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.002155/0.002155, allocations: 72.47 kB / 476.6 MB, free: 21.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2592, allocations: 52.43 MB / 0.5167 GB, free: 8.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002365/0.2615, allocations: 1.372 MB / 0.518 GB, free: 7.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000323/0.2619, allocations: 108.5 kB / 0.5181 GB, free: 7.051 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.2619, allocations: 0 / 0.5181 GB, free: 7.051 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.2619, allocations: 0 / 0.5181 GB, free: 7.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.947e-05/0.2619, allocations: 5.625 kB / 0.5181 GB, free: 7.047 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.2622, allocations: 15.23 kB / 0.5181 GB, free: 7.043 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.982e-05/0.2623, allocations: 24.09 kB / 0.5181 GB, free: 7.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.2623, allocations: 2.453 kB / 0.5181 GB, free: 7.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.2624, allocations: 12.72 kB / 0.5182 GB, free: 7.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.295e-05/0.2624, allocations: 13.77 kB / 0.5182 GB, free: 7.016 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.2624, allocations: 2.594 kB / 0.5182 GB, free: 7.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.2625, allocations: 23.11 kB / 0.5182 GB, free: 7.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.2625, allocations: 1.125 kB / 0.5182 GB, free: 7.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.2625, allocations: 15.38 kB / 0.5182 GB, free: 6.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.2626, allocations: 29.22 kB / 0.5182 GB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2626, allocations: 1.859 kB / 0.5182 GB, free: 6.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2626, allocations: 0 / 0.5182 GB, free: 6.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.2626, allocations: 0 / 0.5182 GB, free: 6.984 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.0003643/0.263, allocations: 268.3 kB / 0.5185 GB, free: 6.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.263, allocations: 9.938 kB / 0.5185 GB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.2631, allocations: 31.5 kB / 0.5185 GB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.2631, allocations: 7.062 kB / 0.5185 GB, free: 6.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.438e-05/0.2632, allocations: 110.2 kB / 0.5187 GB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.2632, allocations: 1.375 kB / 0.5187 GB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.2632, allocations: 5.469 kB / 0.5187 GB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.2633, allocations: 45.67 kB / 0.5187 GB, free: 6.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.2633, allocations: 4.5 kB / 0.5187 GB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-06/0.2633, allocations: 0 / 0.5187 GB, free: 6.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2634, allocations: 5.094 kB / 0.5187 GB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.2635, allocations: 41.14 kB / 0.5187 GB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.2638, allocations: 222.5 kB / 0.519 GB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.2639, allocations: 40.5 kB / 0.519 GB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.779e-05/0.264, allocations: 24.03 kB / 0.519 GB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.264, allocations: 1.422 kB / 0.519 GB, free: 6.211 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.2641, allocations: 40.36 kB / 0.5191 GB, free: 6.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2641, allocations: 1.031 kB / 0.5191 GB, free: 6.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.2644, allocations: 79.91 kB / 0.5191 GB, free: 6.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.2644, allocations: 53.36 kB / 0.5192 GB, free: 6.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.2645, allocations: 97.3 kB / 0.5193 GB, free: 5.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2645, allocations: 25.7 kB / 0.5193 GB, free: 5.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.467e-05/0.2645, allocations: 90.12 kB / 0.5194 GB, free: 5.844 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.55e-05/0.2645, allocations: 9.016 kB / 0.5194 GB, free: 5.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.2645, allocations: 17.72 kB / 0.5194 GB, free: 5.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.2646, allocations: 317.7 kB / 0.5197 GB, free: 5.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.2647, allocations: 12.83 kB / 0.5197 GB, free: 5.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.896e-05/0.2647, allocations: 19.39 kB / 0.5198 GB, free: 5.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2649, allocations: 41.14 kB / 0.5198 GB, free: 5.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2649, allocations: 8 kB / 0.5198 GB, free: 5.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001715/0.265, allocations: 68.16 kB / 0.5199 GB, free: 5.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2651, allocations: 8.469 kB / 0.5199 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2651, allocations: 1.875 kB / 0.5199 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2651, allocations: 0 / 0.5199 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.111e-05/0.2652, allocations: 8.984 kB / 0.5199 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2652, allocations: 0.6562 kB / 0.5199 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.2652, allocations: 7.219 kB / 0.5199 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2652, allocations: 5.125 kB / 0.5199 GB, free: 5.426 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 4.521e-05/0.2653, allocations: 112 kB / 0.52 GB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2653, allocations: 2.375 kB / 0.52 GB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.2655, allocations: 80.38 kB / 0.5201 GB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2655, allocations: 1.156 kB / 0.5201 GB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2655, allocations: 0.8438 kB / 0.5201 GB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2655, allocations: 1.094 kB / 0.5201 GB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.2656, allocations: 132.4 kB / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2656, allocations: 0 / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.272e-05/0.2657, allocations: 9.094 kB / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2657, allocations: 1.219 kB / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.2657, allocations: 0 / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.2657, allocations: 1.734 kB / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2657, allocations: 0 / 0.5202 GB, free: 5.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.2659, allocations: 167.7 kB / 0.5204 GB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-06/0.2659, allocations: 15.02 kB / 0.5204 GB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.2659, allocations: 0 / 0.5204 GB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.266, allocations: 6.453 kB / 0.5204 GB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.266, allocations: 3.578 kB / 0.5204 GB, free: 4.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.266, allocations: 0.9688 kB / 0.5204 GB, free: 4.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.154e-05/0.266, allocations: 80.11 kB / 0.5205 GB, free: 4.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.266, allocations: 0 / 0.5205 GB, free: 4.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.2662, allocations: 7.016 kB / 0.5205 GB, free: 4.867 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.0003397/0.2666, allocations: 0.7076 MB / 0.5212 GB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.2668, allocations: 34.25 kB / 0.5212 GB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2668, allocations: 0 / 0.5212 GB, free: 4.164 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.2668, allocations: 19.67 kB / 0.5212 GB, free: 4.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2671, allocations: 13.48 kB / 0.5212 GB, free: 4.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.2675, allocations: 142 kB / 0.5214 GB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.2675, allocations: 59.91 kB / 0.5214 GB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.631e-05/0.2675, allocations: 2.344 kB / 0.5214 GB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.2676, allocations: 16.47 kB / 0.5215 GB, free: 3.895 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2676, allocations: 0 / 0.5215 GB, free: 3.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03806/0.3056, allocations: 1.927 MB / 0.5233 GB, free: 2.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.98, allocations: 9.109 kB / 0.5233 GB, free: 2.566 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.647698918357491] Failed to read output from testmodel.py, exit status != 0: 11.079918218310922 11.104304717 10.837131983999999 Calling exit ...