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.0007853/0.0007853, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001031/0.001031, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8705/0.8705, allocations: 158.6 MB / 184.2 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.04228/0.04228, allocations: 8.831 MB / 245.3 MB, free: 6.555 MB / 234.7 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.0124/0.0124, allocations: 3.234 MB / 303 MB, free: 52.47 MB / 282.7 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: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 0 / 424.6 MB, free: 424 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.764e-05, allocations: 2.281 kB / 424.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002093/0.002121, allocations: 1.362 MB / 425.9 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002865/0.002407, allocations: 103.7 kB / 426 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.002434, allocations: 0 / 426 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.00246, allocations: 0 / 426 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.0025, allocations: 0 / 426 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.002797, allocations: 23.86 kB / 426.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.501e-05/0.002862, allocations: 27.92 kB / 426.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.002901, allocations: 0 / 426.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.002945, allocations: 15.97 kB / 426.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.861e-05/0.002974, allocations: 7.984 kB / 426.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.002988, allocations: 4 kB / 426.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.159e-05/0.00306, allocations: 19.92 kB / 426.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.798e-06/0.003069, allocations: 3.938 kB / 426.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.003087, allocations: 11.98 kB / 426.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.003201, allocations: 27.95 kB / 426.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.003205, allocations: 8 kB / 426.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.003206, allocations: 3.938 kB / 426.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.00321, allocations: 0 / 426.2 MB, free: 14.77 MB / 362.7 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.000351/0.003561, allocations: 262.3 kB / 426.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.003601, allocations: 12.03 kB / 426.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.003631, allocations: 34.73 kB / 426.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.349e-05/0.003654, allocations: 4.891 kB / 426.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/0.003742, allocations: 109.8 kB / 426.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.003753, allocations: 384 / 426.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.003763, allocations: 4.312 kB / 426.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.003919, allocations: 54.23 kB / 426.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.003926, allocations: 192 / 426.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.003935, allocations: 4.375 kB / 426.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.003941, allocations: 4.125 kB / 426.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.004025, allocations: 27.97 kB / 426.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.004341, allocations: 224 kB / 426.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.998e-05/0.004421, allocations: 46.44 kB / 427 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.004468, allocations: 28.89 kB / 427 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.004503, allocations: 4 kB / 427 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.004524, allocations: 34.5 kB / 427 MB, free: 13.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.004525, allocations: 4 kB / 427 MB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002528/0.004778, allocations: 73.64 kB / 427.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.004829, allocations: 55.53 kB / 427.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.541e-05/0.004914, allocations: 105.8 kB / 427.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.00493, allocations: 25.7 kB / 427.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.004975, allocations: 88.08 kB / 427.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.005001, allocations: 15.89 kB / 427.4 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.005029, allocations: 9.719 kB / 427.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.618e-05/0.005125, allocations: 314.8 kB / 427.7 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.415e-05/0.005179, allocations: 15.98 kB / 427.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.666e-05/0.005216, allocations: 15.97 kB / 427.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.176e-05/0.005308, allocations: 44.89 kB / 427.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.005311, allocations: 0 / 427.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001313/0.005442, allocations: 69.59 kB / 427.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.005461, allocations: 7.906 kB / 427.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.005468, allocations: 0 / 427.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.005485, allocations: 3.938 kB / 427.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.006e-05/0.005575, allocations: 16.02 kB / 427.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.005583, allocations: 0 / 427.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.005608, allocations: 4 kB / 427.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.005627, allocations: 7.984 kB / 427.9 MB, free: 12.88 MB / 362.7 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.078e-05/0.005708, allocations: 109.8 kB / 428 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.005725, allocations: 3.938 kB / 428 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.005922, allocations: 84.86 kB / 428.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.005927, allocations: 0 / 428.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.005933, allocations: 0 / 428.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.005938, allocations: 0 / 428.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.006067, allocations: 120.8 kB / 428.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.006069, allocations: 4 kB / 428.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-05/0.0061, allocations: 7.984 kB / 428.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.006103, allocations: 3.938 kB / 428.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.006111, allocations: 192 / 428.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.006113, allocations: 7.875 kB / 428.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006115, allocations: 4 kB / 428.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.006254, allocations: 171.5 kB / 428.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.006261, allocations: 3.938 kB / 428.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006271, allocations: 0 / 428.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.006307, allocations: 7.984 kB / 428.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.768e-05/0.006345, allocations: 4 kB / 428.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.006349, allocations: 0 / 428.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.258e-05/0.006382, allocations: 87.27 kB / 428.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006382, allocations: 0 / 428.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000163/0.006545, allocations: 8.031 kB / 428.5 MB, free: 12.19 MB / 362.7 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.0003979/0.006943, allocations: 0.7006 MB / 429.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001354/0.007078, allocations: 39.95 kB / 429.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.00708, allocations: 0 / 429.3 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.007119, allocations: 20.08 kB / 429.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.007352, allocations: 0 / 429.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.007723, allocations: 138.5 kB / 429.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.586e-05/0.007769, allocations: 63.2 kB / 429.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.146e-05/0.00779, allocations: 0 / 429.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.007826, allocations: 12.5 kB / 429.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.007826, allocations: 4.062 kB / 429.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.02316, allocations: 2.078 MB / 431.6 MB, free: 9 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/6.831, allocations: 0 / 431.6 MB, free: 9 MB / 362.7 MB " [Timeout remaining time 653] (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 --stepSize=0.002 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.890071385540068] Failed to read output from testmodel.py, exit status != 0: 6.911162823438644 7.080452752 7.075126719 Calling exit ...