Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.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.001243/0.001243, allocations: 113.1 kB / 21.85 MB, free: 64 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.001364/0.001364, allocations: 201.8 kB / 25.13 MB, free: 3.578 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.457/1.457, allocations: 230.4 MB / 258.7 MB, free: 8.074 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.2324/0.2324, allocations: 46.93 MB / 362 MB, free: 4.246 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_pTX_phX_all,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") translateModel(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all") [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.003465/0.003465, allocations: 83.84 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3585, allocations: 66.08 MB / 0.5623 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01267/0.3711, allocations: 8.744 MB / 0.5709 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01671/0.3878, allocations: 14.01 MB / 0.5845 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.078e-05/0.3879, allocations: 4 kB / 0.5845 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3882, allocations: 55.72 kB / 0.5846 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007478/0.3957, allocations: 2.445 MB / 0.587 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.3958, allocations: 27.89 kB / 0.587 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002044/0.396, allocations: 123.2 kB / 0.5871 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.396, allocations: 3.984 kB / 0.5871 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3962, allocations: 67.7 kB / 0.5872 GB, free: 10.72 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.3963, allocations: 47.84 kB / 0.5872 GB, free: 10.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.3963, allocations: 4 kB / 0.5872 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.4099, allocations: 7.271 MB / 0.5943 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.12e-05/0.4099, allocations: 4 kB / 0.5944 GB, free: 3.383 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.4101, allocations: 47.8 kB / 0.5944 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01931/0.4294, allocations: 6.332 MB / 0.6006 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4294, allocations: 0 / 0.6006 GB, free: 13 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4294, allocations: 0 / 0.6006 GB, free: 13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.4294, allocations: 0 / 0.6006 GB, free: 13 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.00464/0.4341, allocations: 0.6753 MB / 0.6012 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4341, allocations: 8.031 kB / 0.6013 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.4343, allocations: 23.94 kB / 0.6013 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.4345, allocations: 117.1 kB / 0.6014 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4345, allocations: 8 kB / 0.6014 GB, free: 12.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.4345, allocations: 4 kB / 0.6014 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004205/0.4349, allocations: 210.7 kB / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4349, allocations: 3.938 kB / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.435, allocations: 0 / 0.6016 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.435, allocations: 4 kB / 0.6016 GB, free: 11.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.4353, allocations: 115.8 kB / 0.6017 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/0.4361, allocations: 0.5849 MB / 0.6023 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.4365, allocations: 126.5 kB / 0.6024 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4366, allocations: 56.81 kB / 0.6025 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/0.4388, allocations: 0.6438 MB / 0.6031 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003881/0.4392, allocations: 208.4 kB / 0.6033 GB, free: 9.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.4392, allocations: 0 / 0.6033 GB, free: 9.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007702/0.4399, allocations: 244.2 kB / 0.6035 GB, free: 9.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.44, allocations: 51.41 kB / 0.6036 GB, free: 9.691 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.4401, allocations: 109.8 kB / 0.6037 GB, free: 9.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.4401, allocations: 29.7 kB / 0.6037 GB, free: 9.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.4402, allocations: 95.86 kB / 0.6038 GB, free: 9.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.4402, allocations: 47.58 kB / 0.6038 GB, free: 9.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.542e-05/0.4403, allocations: 33.7 kB / 0.6039 GB, free: 9.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.4404, allocations: 330.8 kB / 0.6042 GB, free: 9.023 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.4405, allocations: 43.97 kB / 0.6042 GB, free: 8.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.4407, allocations: 65.67 kB / 0.6043 GB, free: 8.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.4409, allocations: 105.6 kB / 0.6044 GB, free: 8.801 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4409, allocations: 11.88 kB / 0.6044 GB, free: 8.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003937/0.4413, allocations: 156.2 kB / 0.6046 GB, free: 8.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.4413, allocations: 4 kB / 0.6046 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4413, allocations: 4 kB / 0.6046 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.4414, allocations: 0 / 0.6046 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.4415, allocations: 27.91 kB / 0.6046 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4415, allocations: 0 / 0.6046 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4416, allocations: 27.88 kB / 0.6046 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.4416, allocations: 8 kB / 0.6046 GB, free: 8.562 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.0001062/0.4417, allocations: 117.3 kB / 0.6047 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.4418, allocations: 7.953 kB / 0.6047 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.4424, allocations: 369.2 kB / 0.6051 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004508/0.4429, allocations: 301.6 kB / 0.6054 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4429, allocations: 0 / 0.6054 GB, free: 7.766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4429, allocations: 3.984 kB / 0.6054 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.444, allocations: 0.6845 MB / 0.6061 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.444, allocations: 0 / 0.6061 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4441, allocations: 35.92 kB / 0.6061 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4441, allocations: 0 / 0.6061 GB, free: 6.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.4441, allocations: 3.984 kB / 0.6061 GB, free: 6.988 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4441, allocations: 4 kB / 0.6061 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4441, allocations: 0 / 0.6061 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.4448, allocations: 459.2 kB / 0.6065 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.391e-05/0.4449, allocations: 19.81 kB / 0.6066 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.4449, allocations: 3.938 kB / 0.6066 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.4451, allocations: 32.03 kB / 0.6066 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.503e-05/0.4452, allocations: 24.16 kB / 0.6066 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.4452, allocations: 7.984 kB / 0.6066 GB, free: 6.434 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.503e-05/0.4452, allocations: 91.22 kB / 0.6067 GB, free: 6.344 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4452, allocations: 0 / 0.6067 GB, free: 6.344 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002688/0.4479, allocations: 458.7 kB / 0.6071 GB, free: 5.895 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.01723/0.4652, allocations: 4.879 MB / 0.6119 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005791/0.4657, allocations: 197.7 kB / 0.6121 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4657, allocations: 0 / 0.6121 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.466, allocations: 107.8 kB / 0.6122 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.4665, allocations: 76.25 kB / 0.6123 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008461/0.4674, allocations: 405.5 kB / 0.6127 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.4677, allocations: 0.7212 MB / 0.6134 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001283/0.4679, allocations: 48.86 kB / 0.6134 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.413e-05/0.4679, allocations: 19.44 kB / 0.6134 GB, free: 15.38 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4679, allocations: 4 kB / 0.6134 GB, free: 15.38 MB / 462.1 MB Notification: Performance of Templates: time 0.03118/0.4991, allocations: 21.14 MB / 0.6341 GB, free: 10.21 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.R134a_pTX_phX_all.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.716340241022408] Failed to read output from testmodel.py, exit status != 0: 0.5088481730781496 0.530682376 0.09660663000000001 Calling exit ...