Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001131/0.001131, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008911/0.0008911, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9141/0.9141, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.374e-05, allocations: 6.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.1642/0.1642, allocations: 8.311 MB / 450.5 MB, free: 40.27 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006688/0.1709, allocations: 12.39 MB / 462.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.824e-05/0.1709, allocations: 0 / 462.9 MB, free: 32.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.1711, allocations: 38.23 kB / 462.9 MB, free: 32.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003092/0.1742, allocations: 2.477 MB / 465.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.086e-05/0.1742, allocations: 21.64 kB / 465.4 MB, free: 31.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.1743, allocations: 137.9 kB / 465.5 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.1744, allocations: 3.438 kB / 465.5 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.1745, allocations: 77.55 kB / 465.6 MB, free: 30.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.1745, allocations: 33.72 kB / 465.7 MB, free: 30.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1745, allocations: 3.031 kB / 465.7 MB, free: 30.93 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.1794, allocations: 7.147 MB / 472.8 MB, free: 30.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.1794, allocations: 13.98 kB / 472.8 MB, free: 30.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.1794, allocations: 43.75 kB / 472.9 MB, free: 30.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0076/0.187, allocations: 6.634 MB / 479.5 MB, free: 29.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1871, allocations: 0 / 479.5 MB, free: 29.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1871, allocations: 1.5 kB / 479.5 MB, free: 29.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1871, allocations: 0 / 479.5 MB, free: 29.32 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.004407/0.1915, allocations: 0.663 MB / 480.2 MB, free: 28.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1915, allocations: 9.844 kB / 480.2 MB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.1916, allocations: 40.52 kB / 480.2 MB, free: 28.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.1917, allocations: 32.91 kB / 480.2 MB, free: 28.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.263e-05/0.1918, allocations: 116 kB / 480.4 MB, free: 28.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.1918, allocations: 7.344 kB / 480.4 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.1918, allocations: 5.656 kB / 480.4 MB, free: 28.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.1921, allocations: 206.1 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1921, allocations: 0 / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.1921, allocations: 4.562 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1921, allocations: 6.406 kB / 480.6 MB, free: 28.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.1924, allocations: 117.4 kB / 480.7 MB, free: 28.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1929, allocations: 356 kB / 481 MB, free: 28.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1932, allocations: 130.2 kB / 481.2 MB, free: 28.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.1933, allocations: 47.34 kB / 481.2 MB, free: 28.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/0.1947, allocations: 0.6562 MB / 481.9 MB, free: 27.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.195, allocations: 218.2 kB / 482.1 MB, free: 27.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.195, allocations: 0 / 482.1 MB, free: 27.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005491/0.1956, allocations: 236.9 kB / 482.3 MB, free: 27.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1956, allocations: 62.88 kB / 482.4 MB, free: 27.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.1956, allocations: 106.9 kB / 482.5 MB, free: 27.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1957, allocations: 27.08 kB / 482.5 MB, free: 27.49 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.1957, allocations: 88.61 kB / 482.6 MB, free: 27.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.1957, allocations: 53.09 kB / 482.6 MB, free: 27.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.617e-05/0.1958, allocations: 37.95 kB / 482.7 MB, free: 27.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.1958, allocations: 324.3 kB / 483 MB, free: 27.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.611e-05/0.1959, allocations: 44.23 kB / 483 MB, free: 27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.196, allocations: 67.77 kB / 483.1 MB, free: 26.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.1962, allocations: 105.7 kB / 483.2 MB, free: 26.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1962, allocations: 0 / 483.2 MB, free: 26.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002355/0.1964, allocations: 151 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1964, allocations: 4.938 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1964, allocations: 1.406 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1964, allocations: 6.156 kB / 483.4 MB, free: 26.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.232e-05/0.1965, allocations: 29.16 kB / 483.4 MB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1965, allocations: 1.406 kB / 483.4 MB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.1966, allocations: 19.64 kB / 483.4 MB, free: 26.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1966, allocations: 9.062 kB / 483.4 MB, free: 26.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 (dT,$PRE.dT,state.phase,p,$PRE.p,state_check.phase,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.4e-05/0.1967, allocations: 120.4 kB / 483.5 MB, free: 26.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.489e-05/0.1967, allocations: 13.48 kB / 483.6 MB, free: 26.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003988/0.1971, allocations: 358.7 kB / 483.9 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002686/0.1974, allocations: 298 kB / 484.2 MB, free: 26.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1974, allocations: 5.25 kB / 484.2 MB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1974, allocations: 1.547 kB / 484.2 MB, free: 26.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.198, allocations: 0.678 MB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.198, allocations: 0 / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.5e-05/0.1981, allocations: 32.94 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1981, allocations: 1.094 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1981, allocations: 7.297 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1981, allocations: 1.125 kB / 484.9 MB, free: 25.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1981, allocations: 4 kB / 484.9 MB, free: 25.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.1986, allocations: 453.2 kB / 485.4 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.1986, allocations: 16.38 kB / 485.4 MB, free: 25.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1986, allocations: 7.609 kB / 485.4 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1987, allocations: 28.72 kB / 485.4 MB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1988, allocations: 25.34 kB / 485.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1988, allocations: 14.47 kB / 485.5 MB, free: 25.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.552e-05/0.1988, allocations: 81.86 kB / 485.5 MB, free: 25.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1988, allocations: 0 / 485.5 MB, free: 25.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002232/0.201, allocations: 460.4 kB / 486 MB, free: 25.51 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (T) * Number of discrete variables: 10 (state.phase,$cse3.phase,$cse4,$cse5.phase,$whenCondition3,$whenCondition2,$whenCondition1,dT,state_check.phase,p) * Number of discrete states: 2 (dT,p) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.01129/0.2123, allocations: 5.846 MB / 491.8 MB, free: 22.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2126, allocations: 181.2 kB / 492 MB, free: 22.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2126, allocations: 0 / 492 MB, free: 22.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001348/0.2128, allocations: 113.8 kB / 492.1 MB, free: 22.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.2131, allocations: 85.23 kB / 492.2 MB, free: 22.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.2153, allocations: 1.935 MB / 494.1 MB, free: 20.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.892e-05/0.2153, allocations: 108.7 kB / 494.2 MB, free: 20.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000101/0.2154, allocations: 54.38 kB / 494.3 MB, free: 20.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.2155, allocations: 50.31 kB / 494.4 MB, free: 20.49 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.2155, allocations: 0 / 494.4 MB, free: 20.49 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03008/0.2456, allocations: 24.4 MB / 0.5066 GB, free: 4.016 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.138, allocations: 0.5 kB / 0.5066 GB, free: 4.016 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_pTX_phX_all.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.269123317673802] Failed to read output from testmodel.py, exit status != 0: ['time'] 8.249813264235854 8.261594785 8.071584591 Calling exit ...