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.001573/0.001573, allocations: 121.4 kB / 19.17 MB, free: 3.852 MB / 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.001846/0.001846, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.435/1.435, allocations: 230.3 MB / 255.2 MB, free: 15.19 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.2239/0.2239, allocations: 46.91 MB / 358.2 MB, free: 10.41 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.002402/0.002402, allocations: 75.86 kB / 0.4925 GB, free: 7.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1285, allocations: 66.01 MB / 0.557 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01286/0.1414, allocations: 8.447 MB / 0.5652 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01346/0.1548, allocations: 11.22 MB / 0.5762 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.1549, allocations: 0 / 0.5762 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000234/0.1551, allocations: 43.78 kB / 0.5762 GB, free: 1.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.1603, allocations: 1.847 MB / 0.578 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.044e-06/0.1603, allocations: 0 / 0.578 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.1604, allocations: 51.61 kB / 0.5781 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.1604, allocations: 8 kB / 0.5781 GB, free: 15.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1606, allocations: 35.84 kB / 0.5781 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.1606, allocations: 15.88 kB / 0.5781 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1606, allocations: 4 kB / 0.5781 GB, free: 15.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.1708, allocations: 6.713 MB / 0.5847 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.1709, allocations: 4 kB / 0.5847 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.898e-05/0.1709, allocations: 19.86 kB / 0.5847 GB, free: 9.027 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.1826, allocations: 5.092 MB / 0.5897 GB, free: 3.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1826, allocations: 3.938 kB / 0.5897 GB, free: 3.926 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1826, allocations: 8 kB / 0.5897 GB, free: 3.918 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1826, allocations: 0 / 0.5897 GB, free: 3.918 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.003029/0.1857, allocations: 0.5828 MB / 0.5903 GB, free: 3.285 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1857, allocations: 12.03 kB / 0.5903 GB, free: 3.273 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.1858, allocations: 4 kB / 0.5903 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.186, allocations: 171 kB / 0.5904 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.186, allocations: 4 kB / 0.5904 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.186, allocations: 4 kB / 0.5904 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1862, allocations: 89.59 kB / 0.5905 GB, free: 2.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1862, allocations: 3.938 kB / 0.5905 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1862, allocations: 0 / 0.5905 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1862, allocations: 0 / 0.5905 GB, free: 2.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.1863, allocations: 71.97 kB / 0.5906 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.1868, allocations: 320.7 kB / 0.5909 GB, free: 2.523 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.76e-05/0.1869, allocations: 42.5 kB / 0.591 GB, free: 2.473 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.187, allocations: 28.92 kB / 0.591 GB, free: 2.441 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003499/0.1905, allocations: 1.846 MB / 0.5928 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1905, allocations: 30.56 kB / 0.5928 GB, free: 304 kB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1905, allocations: 4 kB / 0.5928 GB, free: 300 kB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002995/0.1908, allocations: 109.7 kB / 0.5929 GB, free: 184 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1908, allocations: 51.41 kB / 0.593 GB, free: 120 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.595e-05/0.1909, allocations: 101.8 kB / 0.5931 GB, free: 8 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.2548/0.4457, allocations: 25.7 kB / 0.5931 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.4458, allocations: 87.58 kB / 0.5932 GB, free: 33.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.4458, allocations: 31.48 kB / 0.5932 GB, free: 33.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.4459, allocations: 20.67 kB / 0.5932 GB, free: 33.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.4459, allocations: 322.9 kB / 0.5935 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.446, allocations: 18.11 kB / 0.5935 GB, free: 33.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.4461, allocations: 38.23 kB / 0.5936 GB, free: 33.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.651e-05/0.4462, allocations: 65.8 kB / 0.5936 GB, free: 33.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.4462, allocations: 2.469 kB / 0.5937 GB, free: 33.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001964/0.4464, allocations: 96.28 kB / 0.5937 GB, free: 33.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4464, allocations: 5.75 kB / 0.5937 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4464, allocations: 0 / 0.5937 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.4464, allocations: 5.172 kB / 0.5938 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.4465, allocations: 12.31 kB / 0.5938 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4465, allocations: 10.33 kB / 0.5938 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.295e-05/0.4465, allocations: 0.7969 kB / 0.5938 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4465, allocations: 6.562 kB / 0.5938 GB, free: 33.38 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 5.601e-05/0.4466, allocations: 115.3 kB / 0.5939 GB, free: 33.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.4466, allocations: 6.812 kB / 0.5939 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.4469, allocations: 145.4 kB / 0.594 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/0.447, allocations: 122.4 kB / 0.5942 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.447, allocations: 3.656 kB / 0.5942 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.447, allocations: 0.7969 kB / 0.5942 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.4474, allocations: 441.8 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4474, allocations: 0 / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.4475, allocations: 15.42 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.4475, allocations: 2.594 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4475, allocations: 2.344 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.4475, allocations: 2.156 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4475, allocations: 0.5625 kB / 0.5946 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.4477, allocations: 228.9 kB / 0.5948 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.4477, allocations: 87.64 kB / 0.5949 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.4477, allocations: 0 / 0.5949 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.4478, allocations: 2.844 kB / 0.5949 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.4478, allocations: 7.375 kB / 0.5949 GB, free: 32.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4478, allocations: 7.531 kB / 0.5949 GB, free: 32.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.215e-05/0.4478, allocations: 78.86 kB / 0.595 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4478, allocations: 1.062 kB / 0.595 GB, free: 32.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0025/0.4503, allocations: 366.8 kB / 0.5953 GB, free: 32.57 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.01368/0.464, allocations: 4.079 MB / 0.5993 GB, free: 30.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003282/0.4643, allocations: 111.1 kB / 0.5994 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4643, allocations: 0.7812 kB / 0.5994 GB, free: 30.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.355e-05/0.4644, allocations: 50.16 kB / 0.5995 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.4649, allocations: 49.56 kB / 0.5995 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.4654, allocations: 242.6 kB / 0.5998 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.4655, allocations: 0.6978 MB / 0.6004 GB, free: 29.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.4655, allocations: 19.88 kB / 0.6005 GB, free: 29.7 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4655, allocations: 0 / 0.6005 GB, free: 29.7 MB / 446.1 MB Notification: Performance of Templates: time 0.03014/0.4957, allocations: 19.48 MB / 0.6195 GB, free: 23.89 MB / 446.1 MB " [Timeout remaining time 659] 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 -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: 8.980706367990933] Failed to read output from testmodel.py, exit status != 0: 0.503095817999565 0.512290287 0.32733652399999996 Calling exit ...