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.001227/0.001227, 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.0009779/0.0009779, allocations: 165.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.8958/0.8958, 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.04696/0.04696, allocations: 8.838 MB / 245.3 MB, free: 6.473 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.01212/0.01212, allocations: 3.234 MB / 303 MB, free: 52.45 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 2.675e-06/2.675e-06, allocations: 0 / 424.6 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.35e-05, allocations: 2.281 kB / 424.6 MB, free: 348 kB / 346.7 MB Notification: Performance of NFInst.instantiate(TAeZoSysPro_testsuite.FluidDynamics.Components.Valves.test_polynomial): time 0.002132/0.002156, allocations: 1.362 MB / 425.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003314/0.002487, allocations: 103.7 kB / 426.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.002516, allocations: 0 / 426.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.002547, allocations: 0 / 426.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-05/0.0026, allocations: 0 / 426.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003433/0.002943, allocations: 27.84 kB / 426.1 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.003016, allocations: 19.92 kB / 426.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.003078, allocations: 7.984 kB / 426.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.831e-05/0.003126, allocations: 12 kB / 426.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.003162, allocations: 11.98 kB / 426.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.003179, allocations: 0 / 426.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.003266, allocations: 19.91 kB / 426.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.00328, allocations: 15.92 kB / 426.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.019e-05/0.0033, allocations: 0 / 426.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.003425, allocations: 27.97 kB / 426.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.003427, allocations: 0 / 426.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.003428, allocations: 3.938 kB / 426.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003432, allocations: 0 / 426.2 MB, free: 14.71 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.0003477/0.00378, allocations: 270.3 kB / 426.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.003818, allocations: 8.031 kB / 426.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.003846, allocations: 30.75 kB / 426.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.003874, allocations: 12.88 kB / 426.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.458e-05/0.003948, allocations: 105.8 kB / 426.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.003961, allocations: 8.312 kB / 426.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.00397, allocations: 384 / 426.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.004106, allocations: 50.23 kB / 426.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.004114, allocations: 192 / 426.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004122, allocations: 384 / 426.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.004129, allocations: 4.125 kB / 426.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.004215, allocations: 35.97 kB / 426.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.004531, allocations: 232 kB / 426.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.004613, allocations: 42.48 kB / 427 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.004656, allocations: 20.91 kB / 427 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.004689, allocations: 4 kB / 427 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.00471, allocations: 38.5 kB / 427 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.004711, allocations: 0 / 427 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002313/0.004942, allocations: 81.64 kB / 427.1 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.004977, allocations: 51.41 kB / 427.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.00504, allocations: 105.8 kB / 427.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.005052, allocations: 25.7 kB / 427.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.005091, allocations: 92.09 kB / 427.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.005109, allocations: 8.016 kB / 427.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.005135, allocations: 17.72 kB / 427.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.733e-05/0.005212, allocations: 314.8 kB / 427.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.005258, allocations: 15.97 kB / 427.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.683e-05/0.005295, allocations: 23.98 kB / 427.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.005374, allocations: 32.83 kB / 427.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005376, allocations: 0 / 427.8 MB, free: 12.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001059/0.005482, allocations: 73.66 kB / 427.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.005497, allocations: 11.91 kB / 427.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.005503, allocations: 3.938 kB / 427.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.005517, allocations: 0 / 427.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.005586, allocations: 7.984 kB / 427.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.005592, allocations: 0 / 427.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.005616, allocations: 7.984 kB / 427.9 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.005631, allocations: 4 kB / 427.9 MB, free: 12.81 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 6.189e-05/0.005692, allocations: 109.9 kB / 428 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.005706, allocations: 7.938 kB / 428 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.005852, allocations: 76.86 kB / 428.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.005854, allocations: 0 / 428.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.005861, allocations: 4 kB / 428.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.005871, allocations: 3.984 kB / 428.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.005977, allocations: 120.8 kB / 428.2 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.005979, allocations: 4.031 kB / 428.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.006009, allocations: 7.984 kB / 428.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.006012, allocations: 7.938 kB / 428.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.006019, allocations: 7.875 kB / 428.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.006021, allocations: 0 / 428.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006022, allocations: 0 / 428.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.006166, allocations: 159.5 kB / 428.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.536e-06/0.006175, allocations: 7.938 kB / 428.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.006185, allocations: 8.016 kB / 428.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.00622, allocations: 4 kB / 428.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.006257, allocations: 4 kB / 428.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.006264, allocations: 3.984 kB / 428.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.817e-05/0.006292, allocations: 79.28 kB / 428.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006292, allocations: 0 / 428.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.006448, allocations: 8 kB / 428.5 MB, free: 12.12 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.000437/0.006885, allocations: 0.7007 MB / 429.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.007008, allocations: 35.95 kB / 429.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007009, allocations: 0 / 429.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.785e-05/0.007047, allocations: 15.98 kB / 429.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.007284, allocations: 4 kB / 429.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.007605, allocations: 138.7 kB / 429.4 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.007645, allocations: 63.22 kB / 429.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.00767, allocations: 4 kB / 429.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.007704, allocations: 12.48 kB / 429.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.4e-07/0.007705, allocations: 0 / 429.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01564/0.02335, allocations: 2.082 MB / 431.6 MB, free: 8.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.868/6.891, allocations: 8.062 kB / 431.6 MB, free: 8.926 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 & 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: 9.113541564904153] Failed to read output from testmodel.py, exit status != 0: 6.972259073518217 7.118728869 7.113244509 Calling exit ...