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.001435/0.001435, allocations: 113.1 kB / 21.85 MB, free: 72 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.001288/0.001288, allocations: 214 kB / 25.13 MB, free: 3.586 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.323/1.323, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] 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.2095/0.2095, allocations: 46.94 MB / 362 MB, free: 4.242 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.002183/0.002183, allocations: 75.86 kB / 0.4978 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2901, allocations: 66.09 MB / 0.5623 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01159/0.3017, allocations: 8.432 MB / 0.5706 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01254/0.3143, allocations: 11.15 MB / 0.5815 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.3143, allocations: 0 / 0.5815 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3146, allocations: 51.73 kB / 0.5815 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.3195, allocations: 1.866 MB / 0.5833 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.23e-06/0.3195, allocations: 0 / 0.5833 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.3196, allocations: 51.61 kB / 0.5834 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.049e-05/0.3197, allocations: 3.938 kB / 0.5834 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.3198, allocations: 31.84 kB / 0.5834 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.405e-05/0.3198, allocations: 15.94 kB / 0.5834 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-06/0.3198, allocations: 0 / 0.5834 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009974/0.3298, allocations: 6.697 MB / 0.59 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3298, allocations: 3.938 kB / 0.59 GB, free: 7.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.3299, allocations: 15.94 kB / 0.59 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.3432, allocations: 5.103 MB / 0.595 GB, free: 2.758 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3432, allocations: 0 / 0.595 GB, free: 2.758 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3433, allocations: 0 / 0.595 GB, free: 2.758 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3433, allocations: 0 / 0.595 GB, free: 2.758 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.002585/0.3458, allocations: 0.5036 MB / 0.5955 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3459, allocations: 16.03 kB / 0.5955 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001068/0.346, allocations: 7.984 kB / 0.5955 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3461, allocations: 109.2 kB / 0.5956 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.3461, allocations: 4 kB / 0.5956 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3461, allocations: 4 kB / 0.5956 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.3463, allocations: 81.61 kB / 0.5957 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3463, allocations: 7.922 kB / 0.5957 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.3463, allocations: 0 / 0.5957 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.3463, allocations: 4 kB / 0.5957 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3464, allocations: 79.95 kB / 0.5958 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.3468, allocations: 299.8 kB / 0.596 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.3469, allocations: 42.52 kB / 0.5961 GB, free: 1.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.535e-05/0.3469, allocations: 24.91 kB / 0.5961 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002701/0.3496, allocations: 0.8036 MB / 0.5969 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.3497, allocations: 30.56 kB / 0.5969 GB, free: 0.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.3497, allocations: 0 / 0.5969 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002599/0.3499, allocations: 109.7 kB / 0.597 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.35, allocations: 55.41 kB / 0.5971 GB, free: 456 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/0.3501, allocations: 105.8 kB / 0.5972 GB, free: 340 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3501, allocations: 25.7 kB / 0.5972 GB, free: 308 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.3502, allocations: 84.09 kB / 0.5973 GB, free: 220 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.3502, allocations: 31.73 kB / 0.5973 GB, free: 188 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3502, allocations: 21.72 kB / 0.5973 GB, free: 160 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.3504, allocations: 322.8 kB / 0.5976 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.146e-05/0.3504, allocations: 20 kB / 0.5977 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.992e-05/0.3505, allocations: 34.09 kB / 0.5977 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3506, allocations: 73.62 kB / 0.5978 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3506, allocations: 128 / 0.5978 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001651/0.3508, allocations: 101.6 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3508, allocations: 8 kB / 0.5979 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3508, allocations: 0 / 0.5979 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3508, allocations: 0 / 0.5979 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.964e-05/0.3509, allocations: 12 kB / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3509, allocations: 0 / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.3509, allocations: 11.97 kB / 0.5979 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.3509, allocations: 0 / 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 9.51e-05/0.351, allocations: 121.7 kB / 0.598 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.471e-05/0.3511, allocations: 11.94 kB / 0.598 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.3513, allocations: 141.7 kB / 0.5982 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001452/0.3515, allocations: 121.1 kB / 0.5983 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3515, allocations: 0 / 0.5983 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3515, allocations: 0 / 0.5983 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.352, allocations: 413.3 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.352, allocations: 4 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/0.352, allocations: 12 kB / 0.5987 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.352, allocations: 0 / 0.5987 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.352, allocations: 11.92 kB / 0.5987 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.352, allocations: 0 / 0.5987 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.352, allocations: 0 / 0.5987 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.3523, allocations: 227.4 kB / 0.5989 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.3523, allocations: 7.938 kB / 0.5989 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3523, allocations: 7.938 kB / 0.5989 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.115e-05/0.3523, allocations: 0 / 0.5989 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.3524, allocations: 8.172 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.3524, allocations: 8 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.612e-05/0.3524, allocations: 83.2 kB / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3524, allocations: 0 / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001746/0.3542, allocations: 366.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.01217/0.3663, allocations: 4.088 MB / 0.6034 GB, free: 9.859 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.3666, allocations: 109.6 kB / 0.6035 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3666, allocations: 0 / 0.6035 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.668e-05/0.3667, allocations: 47.92 kB / 0.6035 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.367, allocations: 36.44 kB / 0.6035 GB, free: 9.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.3675, allocations: 251.3 kB / 0.6038 GB, free: 9.383 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3678, allocations: 0.6924 MB / 0.6045 GB, free: 8.664 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.455e-05/0.3678, allocations: 23.44 kB / 0.6045 GB, free: 8.641 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3678, allocations: 0 / 0.6045 GB, free: 8.641 MB / 446.1 MB Notification: Performance of Templates: time 0.02332/0.3911, allocations: 19.48 MB / 0.6235 GB, free: 5.125 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 -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: 7.98555624182336] Failed to read output from testmodel.py, exit status != 0: 0.3990539519581944 0.41213000200000005 0.065931057 Calling exit ...