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.001402/0.001402, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001754/0.001754, allocations: 210.4 kB / 23.73 MB, free: 4.41 MB / 14.72 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 1.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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.234/0.234, allocations: 46.95 MB / 360.9 MB, free: 4.039 MB / 286.1 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 0.001997/0.001997, allocations: 71.89 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3306, allocations: 66.03 MB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.0119/0.3426, allocations: 8.328 MB / 0.5687 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01541/0.358, allocations: 12.41 MB / 0.5808 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.358, allocations: 3.938 kB / 0.5808 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.3582, allocations: 31.81 kB / 0.5809 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008291/0.3665, allocations: 2.435 MB / 0.5833 GB, free: 12.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001118/0.3666, allocations: 19.92 kB / 0.5833 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.3669, allocations: 127.2 kB / 0.5834 GB, free: 12.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.211e-05/0.3669, allocations: 7.984 kB / 0.5834 GB, free: 12.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.3671, allocations: 59.78 kB / 0.5835 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3672, allocations: 47.77 kB / 0.5835 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3673, allocations: 0 / 0.5835 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01337/0.3806, allocations: 7.13 MB / 0.5905 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.3807, allocations: 8 kB / 0.5905 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.3808, allocations: 51.78 kB / 0.5905 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.398, allocations: 6.336 MB / 0.5967 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.398, allocations: 0 / 0.5967 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.398, allocations: 0 / 0.5967 GB, free: 15.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.398, allocations: 0 / 0.5967 GB, free: 15.17 MB / 446.1 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.004313/0.4023, allocations: 0.6597 MB / 0.5974 GB, free: 14.47 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.4024, allocations: 12.03 kB / 0.5974 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.4024, allocations: 42.55 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4026, allocations: 23.94 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4028, allocations: 113.1 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.4028, allocations: 8 kB / 0.5975 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.4028, allocations: 8 kB / 0.5976 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.4033, allocations: 210.6 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4033, allocations: 0 / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4033, allocations: 0 / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4033, allocations: 4 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.4036, allocations: 115.9 kB / 0.5979 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.4043, allocations: 355.6 kB / 0.5982 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.4047, allocations: 130.5 kB / 0.5983 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4049, allocations: 52.77 kB / 0.5984 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002235/0.4071, allocations: 0.6477 MB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.4075, allocations: 220.3 kB / 0.5992 GB, free: 12.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.4075, allocations: 0 / 0.5992 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007701/0.4083, allocations: 236.5 kB / 0.5994 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.4083, allocations: 59.33 kB / 0.5995 GB, free: 12.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.4084, allocations: 105.8 kB / 0.5996 GB, free: 11.99 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.4084, allocations: 25.7 kB / 0.5996 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.261e-05/0.4085, allocations: 103.8 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.4086, allocations: 43.64 kB / 0.5998 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/0.4086, allocations: 41.64 kB / 0.5998 GB, free: 11.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.4088, allocations: 318.8 kB / 0.6001 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.4089, allocations: 47.95 kB / 0.6002 GB, free: 11.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.409, allocations: 67.92 kB / 0.6002 GB, free: 11.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.4093, allocations: 101.7 kB / 0.6003 GB, free: 11.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4093, allocations: 0 / 0.6003 GB, free: 11.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003894/0.4097, allocations: 157.5 kB / 0.6005 GB, free: 11.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4097, allocations: 4 kB / 0.6005 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4097, allocations: 3.984 kB / 0.6005 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4097, allocations: 4 kB / 0.6005 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.4099, allocations: 32.17 kB / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4099, allocations: 0 / 0.6005 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.41, allocations: 23.88 kB / 0.6005 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.41, allocations: 8 kB / 0.6005 GB, free: 10.99 MB / 446.1 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 0.0001023/0.4101, allocations: 113.8 kB / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.4101, allocations: 11.95 kB / 0.6007 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.4108, allocations: 373.2 kB / 0.601 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004475/0.4112, allocations: 300.8 kB / 0.6013 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4112, allocations: 0 / 0.6013 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.4112, allocations: 0 / 0.6013 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.4123, allocations: 0.6845 MB / 0.602 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4123, allocations: 3.938 kB / 0.602 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.4124, allocations: 27.92 kB / 0.602 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4124, allocations: 0 / 0.602 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.4125, allocations: 11.98 kB / 0.602 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4125, allocations: 0 / 0.602 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4125, allocations: 4 kB / 0.602 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007248/0.4132, allocations: 455.2 kB / 0.6025 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.4132, allocations: 23.81 kB / 0.6025 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4132, allocations: 7.938 kB / 0.6025 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.4134, allocations: 27.97 kB / 0.6025 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.4135, allocations: 20.02 kB / 0.6025 GB, free: 8.867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.4135, allocations: 12 kB / 0.6025 GB, free: 8.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.493e-05/0.4136, allocations: 79.28 kB / 0.6026 GB, free: 8.777 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4136, allocations: 0 / 0.6026 GB, free: 8.777 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002542/0.4161, allocations: 462.7 kB / 0.6031 GB, free: 8.324 MB / 446.1 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.01774/0.4338, allocations: 5.787 MB / 0.6087 GB, free: 2.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.4344, allocations: 189.5 kB / 0.6089 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4344, allocations: 0 / 0.6089 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002132/0.4346, allocations: 107.8 kB / 0.609 GB, free: 2.207 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005648/0.4352, allocations: 75.84 kB / 0.6091 GB, free: 2.133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.4391, allocations: 1.977 MB / 0.611 GB, free: 76 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.4393, allocations: 111.2 kB / 0.6111 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.4394, allocations: 44.88 kB / 0.6111 GB, free: 15.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.32e-05/0.4395, allocations: 55.3 kB / 0.6112 GB, free: 15.84 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4395, allocations: 0 / 0.6112 GB, free: 15.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05979/0.4993, allocations: 24.19 MB / 0.6348 GB, free: 7.797 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.73, allocations: 14.06 kB / 0.6348 GB, free: 7.789 MB / 478.1 MB " [Timeout remaining time 647] (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: 16.202928937971592] Failed to read output from testmodel.py, exit status != 0: ['time'] 12.869776017032564 12.895626303 12.49281735 Calling exit ...