Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.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.002037/0.002037, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002191/0.002191, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2212/0.2212, allocations: 46.96 MB / 361.7 MB, free: 4.137 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_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.91 kB / 0.4969 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 66.02 MB / 0.5613 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01218/0.3518, allocations: 8.066 MB / 0.5692 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3641, allocations: 9.887 MB / 0.5789 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.214e-05/0.3642, allocations: 0 / 0.5789 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3644, allocations: 27.83 kB / 0.5789 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004972/0.3694, allocations: 1.856 MB / 0.5807 GB, free: 384 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.49e-06/0.3694, allocations: 0 / 0.5807 GB, free: 384 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.3695, allocations: 47.67 kB / 0.5808 GB, free: 336 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.3695, allocations: 7.938 kB / 0.5808 GB, free: 328 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3697, allocations: 31.84 kB / 0.5808 GB, free: 296 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.3697, allocations: 27.8 kB / 0.5808 GB, free: 268 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.3697, allocations: 0 / 0.5808 GB, free: 268 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01077/0.3805, allocations: 6.69 MB / 0.5874 GB, free: 9.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.3805, allocations: 3.984 kB / 0.5874 GB, free: 9.555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.3805, allocations: 19.88 kB / 0.5874 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.3975, allocations: 5.092 MB / 0.5924 GB, free: 4.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3975, allocations: 0 / 0.5924 GB, free: 4.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3975, allocations: 4 kB / 0.5924 GB, free: 4.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3975, allocations: 0 / 0.5924 GB, free: 4.434 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003429/0.4009, allocations: 0.5036 MB / 0.5929 GB, free: 3.898 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.401, allocations: 8.031 kB / 0.5929 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.925e-05/0.401, allocations: 0 / 0.5929 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.401, allocations: 42.56 kB / 0.5929 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.4012, allocations: 7.984 kB / 0.5929 GB, free: 3.832 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4013, allocations: 113.2 kB / 0.593 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4013, allocations: 0 / 0.593 GB, free: 3.695 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.4014, allocations: 7.938 kB / 0.593 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.4016, allocations: 85.61 kB / 0.5931 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4016, allocations: 0 / 0.5931 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.4016, allocations: 0 / 0.5931 GB, free: 3.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4016, allocations: 3.938 kB / 0.5931 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.4017, allocations: 79.95 kB / 0.5932 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/0.4023, allocations: 295.8 kB / 0.5935 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4024, allocations: 42.56 kB / 0.5935 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.4025, allocations: 24.92 kB / 0.5935 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003865/0.4063, allocations: 0.8115 MB / 0.5943 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.4064, allocations: 34.56 kB / 0.5944 GB, free: 2.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.4064, allocations: 0 / 0.5944 GB, free: 2.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004308/0.4068, allocations: 113.6 kB / 0.5945 GB, free: 2.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4069, allocations: 51.41 kB / 0.5945 GB, free: 2.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.407, allocations: 97.86 kB / 0.5946 GB, free: 1.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.407, allocations: 25.7 kB / 0.5946 GB, free: 1.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.712e-05/0.4071, allocations: 92.03 kB / 0.5947 GB, free: 1.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.4071, allocations: 39.77 kB / 0.5948 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.4072, allocations: 21.7 kB / 0.5948 GB, free: 1.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.4074, allocations: 322.8 kB / 0.5951 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.4074, allocations: 20 kB / 0.5951 GB, free: 1.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.4075, allocations: 37.7 kB / 0.5951 GB, free: 1.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.4076, allocations: 66.02 kB / 0.5952 GB, free: 1.316 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4076, allocations: 3.938 kB / 0.5952 GB, free: 1.312 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002642/0.4079, allocations: 93.58 kB / 0.5953 GB, free: 1.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4079, allocations: 8 kB / 0.5953 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4079, allocations: 0 / 0.5953 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.408, allocations: 0 / 0.5953 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.408, allocations: 12 kB / 0.5953 GB, free: 1.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.4081, allocations: 8 kB / 0.5953 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.4081, allocations: 8.188 kB / 0.5953 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.4081, allocations: 7.938 kB / 0.5953 GB, free: 1.172 MB / 430.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001007/0.4082, allocations: 113.8 kB / 0.5954 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.4083, allocations: 7.953 kB / 0.5955 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.4086, allocations: 141.7 kB / 0.5956 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001944/0.4088, allocations: 117.6 kB / 0.5957 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.4088, allocations: 0 / 0.5957 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4088, allocations: 4 kB / 0.5957 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.4095, allocations: 413.3 kB / 0.5961 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4095, allocations: 0 / 0.5961 GB, free: 332 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.766e-05/0.4095, allocations: 15.98 kB / 0.5961 GB, free: 316 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.4095, allocations: 3.938 kB / 0.5961 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.4096, allocations: 0 / 0.5961 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/0.4096, allocations: 4 kB / 0.5961 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4096, allocations: 0 / 0.5961 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.4099, allocations: 219.4 kB / 0.5963 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.4099, allocations: 15.81 kB / 0.5963 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.4099, allocations: 4 kB / 0.5963 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.41, allocations: 4 kB / 0.5964 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.549e-05/0.41, allocations: 7.984 kB / 0.5964 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.41, allocations: 4 kB / 0.5964 GB, free: 36 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.898e-05/0.4101, allocations: 87.27 kB / 0.5964 GB, free: 15.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4101, allocations: 0 / 0.5964 GB, free: 15.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002902/0.413, allocations: 358.9 kB / 0.5968 GB, free: 15.6 MB / 446.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: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.02076/0.4338, allocations: 4.754 MB / 0.6014 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003981/0.4342, allocations: 101.6 kB / 0.6015 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.4342, allocations: 8.062 kB / 0.6015 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.4343, allocations: 43.98 kB / 0.6016 GB, free: 10.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.435, allocations: 32.52 kB / 0.6016 GB, free: 10.62 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.4382, allocations: 418.1 kB / 0.602 GB, free: 10.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.4383, allocations: 83.02 kB / 0.6021 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.561e-05/0.4384, allocations: 11.98 kB / 0.6021 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.4385, allocations: 27.44 kB / 0.6021 GB, free: 10.03 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4385, allocations: 0 / 0.6021 GB, free: 10.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05314/0.4916, allocations: 20.5 MB / 0.6221 GB, free: 5.66 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.59, allocations: 9.75 kB / 0.6222 GB, free: 5.656 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX_high_T.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 65.74036180099938] Failed to read output from testmodel.py, exit status != 0: ['time', 'h', 'rho', 'mu', 'cp', 'k'] 12.787388000986539 12.817699394 12.414580551 Calling exit ...