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.001281/0.001281, allocations: 113 kB / 18.94 MB, free: 2.934 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.001499/0.001499, allocations: 210.5 kB / 22.25 MB, free: 5.086 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.453/1.453, allocations: 207.6 MB / 233 MB, free: 10.01 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.07326/0.07326, allocations: 11.05 MB / 296.3 MB, free: 10.71 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.02374/0.02374, allocations: 4.313 MB / 355.1 MB, free: 15.74 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.002215/0.002215, allocations: 71.89 kB / 476.7 MB, free: 21.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2942, allocations: 52.43 MB / 0.5167 GB, free: 8.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002538/0.2967, allocations: 1.383 MB / 0.518 GB, free: 7.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.2971, allocations: 98.69 kB / 0.5181 GB, free: 7.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.241e-05/0.2971, allocations: 1.062 kB / 0.5181 GB, free: 7.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.2971, allocations: 4.562 kB / 0.5181 GB, free: 7.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/0.2972, allocations: 9.578 kB / 0.5181 GB, free: 7.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.2975, allocations: 18.28 kB / 0.5182 GB, free: 7.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.942e-05/0.2975, allocations: 23.95 kB / 0.5182 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.2976, allocations: 1.641 kB / 0.5182 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.2976, allocations: 6.438 kB / 0.5182 GB, free: 7.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.977e-05/0.2977, allocations: 17.81 kB / 0.5182 GB, free: 7.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.2977, allocations: 1.125 kB / 0.5182 GB, free: 7.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.2978, allocations: 22.98 kB / 0.5182 GB, free: 7.129 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.2978, allocations: 5.922 kB / 0.5182 GB, free: 7.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.2978, allocations: 11.64 kB / 0.5183 GB, free: 7.117 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.2979, allocations: 36.66 kB / 0.5183 GB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2979, allocations: 1.891 kB / 0.5183 GB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2979, allocations: 0 / 0.5183 GB, free: 7.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.298, allocations: 0 / 0.5183 GB, free: 7.098 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.0003854/0.2983, allocations: 264.3 kB / 0.5185 GB, free: 6.832 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.2984, allocations: 9.594 kB / 0.5185 GB, free: 6.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.58e-05/0.2984, allocations: 31.75 kB / 0.5186 GB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.2985, allocations: 2.625 kB / 0.5186 GB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.802e-05/0.2985, allocations: 114 kB / 0.5187 GB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2985, allocations: 1.406 kB / 0.5187 GB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.2986, allocations: 1.438 kB / 0.5187 GB, free: 6.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2987, allocations: 49.89 kB / 0.5187 GB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2987, allocations: 3.938 kB / 0.5187 GB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2987, allocations: 1.312 kB / 0.5187 GB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.2988, allocations: 3.938 kB / 0.5187 GB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001673/0.2989, allocations: 37.42 kB / 0.5188 GB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.2993, allocations: 224.7 kB / 0.519 GB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2994, allocations: 40.11 kB / 0.519 GB, free: 6.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.154e-05/0.2995, allocations: 22.69 kB / 0.5191 GB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.2995, allocations: 7 kB / 0.5191 GB, free: 6.328 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.2995, allocations: 40.45 kB / 0.5191 GB, free: 6.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2995, allocations: 0 / 0.5191 GB, free: 6.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003334/0.2999, allocations: 76.56 kB / 0.5192 GB, free: 6.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.2999, allocations: 51.41 kB / 0.5192 GB, free: 6.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.228e-05/0.2999, allocations: 101.5 kB / 0.5193 GB, free: 6.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.2999, allocations: 30.31 kB / 0.5194 GB, free: 6.047 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.61e-05/0.3, allocations: 89.88 kB / 0.5194 GB, free: 5.957 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3, allocations: 6 kB / 0.5194 GB, free: 5.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.3, allocations: 12.88 kB / 0.5195 GB, free: 5.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 4.797e-05/0.3001, allocations: 313.2 kB / 0.5198 GB, free: 5.625 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.913e-05/0.3001, allocations: 17.73 kB / 0.5198 GB, free: 5.621 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.3002, allocations: 18.66 kB / 0.5198 GB, free: 5.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3003, allocations: 40.8 kB / 0.5198 GB, free: 5.602 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3003, allocations: 3.938 kB / 0.5198 GB, free: 5.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001757/0.3005, allocations: 71.59 kB / 0.5199 GB, free: 5.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3005, allocations: 5.812 kB / 0.5199 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3005, allocations: 0.9375 kB / 0.5199 GB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3006, allocations: 4.094 kB / 0.5199 GB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.3006, allocations: 14.28 kB / 0.5199 GB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3006, allocations: 0 / 0.5199 GB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.52e-05/0.3007, allocations: 6.469 kB / 0.5199 GB, free: 5.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3007, allocations: 2.109 kB / 0.5199 GB, free: 5.547 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.467e-05/0.3007, allocations: 113.6 kB / 0.52 GB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3008, allocations: 5.453 kB / 0.52 GB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.301, allocations: 84.66 kB / 0.5201 GB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.301, allocations: 0.7031 kB / 0.5201 GB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.301, allocations: 0 / 0.5201 GB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.301, allocations: 1.156 kB / 0.5201 GB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.3011, allocations: 130.3 kB / 0.5203 GB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3011, allocations: 4.656 kB / 0.5203 GB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.3012, allocations: 9.438 kB / 0.5203 GB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3012, allocations: 0.7969 kB / 0.5203 GB, free: 5.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.3012, allocations: 5.219 kB / 0.5203 GB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3012, allocations: 0 / 0.5203 GB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.3012, allocations: 0 / 0.5203 GB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.3014, allocations: 164.8 kB / 0.5204 GB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-06/0.3014, allocations: 9.422 kB / 0.5204 GB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.3014, allocations: 0.9375 kB / 0.5204 GB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.3015, allocations: 11.3 kB / 0.5204 GB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3015, allocations: 2.125 kB / 0.5205 GB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3015, allocations: 1.656 kB / 0.5205 GB, free: 5.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.3015, allocations: 79.92 kB / 0.5205 GB, free: 4.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3015, allocations: 3.938 kB / 0.5205 GB, free: 4.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.3017, allocations: 5.75 kB / 0.5205 GB, free: 4.977 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.0003971/0.3021, allocations: 0.6994 MB / 0.5212 GB, free: 4.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3024, allocations: 35.94 kB / 0.5213 GB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3024, allocations: 0 / 0.5213 GB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.3024, allocations: 24.88 kB / 0.5213 GB, free: 4.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3027, allocations: 7.078 kB / 0.5213 GB, free: 4.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.3031, allocations: 141.1 kB / 0.5214 GB, free: 4.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.941e-05/0.3032, allocations: 0.6761 MB / 0.5221 GB, free: 3.434 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.728e-05/0.3033, allocations: 6.844 kB / 0.5221 GB, free: 3.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.3033, allocations: 17.14 kB / 0.5221 GB, free: 3.414 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3033, allocations: 1.031 kB / 0.5221 GB, free: 3.414 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02841/0.3317, allocations: 1.499 MB / 0.5236 GB, free: 2.535 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.77, allocations: 1.438 kB / 0.5236 GB, free: 2.535 MB / 334.1 MB " [Timeout remaining time 648] (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: 14.524344275996555] Failed to read output from testmodel.py, exit status != 0: 11.873275589001423 11.902022338 11.598545366 Calling exit ...