Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 220.5 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.4 MB / 258.7 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.93 MB / 362 MB, free: 4.211 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 75.88 kB / 0.4978 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3238, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01231/0.3361, allocations: 8.436 MB / 0.5706 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.349, allocations: 11.16 MB / 0.5815 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.349, allocations: 0 / 0.5815 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002047/0.3492, allocations: 39.75 kB / 0.5815 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004576/0.3538, allocations: 1.867 MB / 0.5833 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.959e-06/0.3538, allocations: 0 / 0.5833 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.3539, allocations: 51.67 kB / 0.5834 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.369e-05/0.354, allocations: 11.92 kB / 0.5834 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.3541, allocations: 27.86 kB / 0.5834 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.3541, allocations: 23.86 kB / 0.5834 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.3541, allocations: 0 / 0.5834 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01032/0.3645, allocations: 6.686 MB / 0.59 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.3645, allocations: 7.984 kB / 0.59 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.3645, allocations: 19.88 kB / 0.59 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01362/0.3782, allocations: 5.096 MB / 0.595 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3782, allocations: 0 / 0.595 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3782, allocations: 4 kB / 0.595 GB, free: 2.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3782, allocations: 0 / 0.595 GB, free: 2.75 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.002902/0.3811, allocations: 0.5074 MB / 0.5955 GB, free: 2.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3811, allocations: 8.031 kB / 0.5955 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.3812, allocations: 11.98 kB / 0.5955 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.3813, allocations: 109.2 kB / 0.5956 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.3813, allocations: 4 kB / 0.5956 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3814, allocations: 3.984 kB / 0.5956 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3815, allocations: 89.61 kB / 0.5957 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3815, allocations: 3.938 kB / 0.5957 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3815, allocations: 0 / 0.5957 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3815, allocations: 0 / 0.5957 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.3817, allocations: 75.97 kB / 0.5958 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.3821, allocations: 291.8 kB / 0.596 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.86e-05/0.3822, allocations: 46.5 kB / 0.5961 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.715e-05/0.3822, allocations: 24.92 kB / 0.5961 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002836/0.3851, allocations: 0.8076 MB / 0.5969 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3851, allocations: 30.56 kB / 0.5969 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.3851, allocations: 4 kB / 0.5969 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002853/0.3854, allocations: 113.7 kB / 0.597 GB, free: 0.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.3854, allocations: 51.41 kB / 0.5971 GB, free: 448 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/0.3855, allocations: 98.14 kB / 0.5972 GB, free: 340 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.3855, allocations: 25.7 kB / 0.5972 GB, free: 308 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.019e-05/0.3856, allocations: 92.08 kB / 0.5973 GB, free: 212 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3856, allocations: 31.69 kB / 0.5973 GB, free: 180 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.3857, allocations: 21.7 kB / 0.5973 GB, free: 152 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3858, allocations: 326.8 kB / 0.5976 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.998e-05/0.3858, allocations: 19.98 kB / 0.5977 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.493e-05/0.3859, allocations: 29.72 kB / 0.5977 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.386, allocations: 69.64 kB / 0.5978 GB, free: 15.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.386, allocations: 0 / 0.5978 GB, free: 15.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001693/0.3862, allocations: 93.58 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.3862, allocations: 4 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3862, allocations: 4.031 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3862, allocations: 4 kB / 0.5979 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.016e-05/0.3863, allocations: 15.98 kB / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3863, allocations: 0 / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.721e-05/0.3863, allocations: 3.938 kB / 0.5979 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.3863, allocations: 4 kB / 0.5979 GB, free: 15.56 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: 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 8.892e-05/0.3864, allocations: 117.8 kB / 0.598 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3865, allocations: 3.953 kB / 0.598 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3867, allocations: 153.7 kB / 0.5981 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001499/0.3869, allocations: 121.5 kB / 0.5983 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3869, allocations: 0 / 0.5983 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3869, allocations: 0 / 0.5983 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.3874, allocations: 412.8 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3874, allocations: 256 / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.639e-05/0.3874, allocations: 15.98 kB / 0.5987 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3874, allocations: 4 kB / 0.5987 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3874, allocations: 11.94 kB / 0.5987 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3874, allocations: 4 kB / 0.5987 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.3874, allocations: 0 / 0.5987 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.3877, allocations: 223.4 kB / 0.5989 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.3877, allocations: 12.11 kB / 0.5989 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.3877, allocations: 7.938 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.3878, allocations: 3.984 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.3878, allocations: 3.984 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3878, allocations: 12 kB / 0.5989 GB, free: 14.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.73e-05/0.3878, allocations: 79.28 kB / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3878, allocations: 0 / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001997/0.3898, allocations: 362.9 kB / 0.5994 GB, free: 13.96 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.01273/0.4026, allocations: 4.084 MB / 0.6034 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.4028, allocations: 101.9 kB / 0.6035 GB, free: 9.754 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4028, allocations: 12 kB / 0.6035 GB, free: 9.742 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.638e-05/0.4029, allocations: 47.92 kB / 0.6035 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.4034, allocations: 36.08 kB / 0.6035 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.4038, allocations: 229.6 kB / 0.6038 GB, free: 9.406 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.4041, allocations: 0.6924 MB / 0.6044 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.4042, allocations: 15.88 kB / 0.6045 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4042, allocations: 19.44 kB / 0.6045 GB, free: 8.652 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4042, allocations: 0 / 0.6045 GB, free: 8.652 MB / 446.1 MB Notification: Performance of Templates: time 0.02588/0.4301, allocations: 18.32 MB / 0.6224 GB, free: 6.301 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.007000431185588] Failed to read output from testmodel.py, exit status != 0: 0.43821995588950813 0.45161103900000005 0.070383025 Calling exit ...