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.001483/0.001483, allocations: 113.1 kB / 21.85 MB, free: 84 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.00164/0.00164, allocations: 214 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.338/1.338, allocations: 230.4 MB / 258.7 MB, free: 8.062 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.2094/0.2094, allocations: 46.92 MB / 362 MB, free: 4.262 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.002181/0.002181, allocations: 75.88 kB / 0.4978 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2866, allocations: 66.08 MB / 0.5623 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_pTX_phX_all): time 0.01165/0.2982, allocations: 8.751 MB / 0.5709 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01535/0.3135, allocations: 14.01 MB / 0.5846 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.147e-05/0.3136, allocations: 0 / 0.5846 GB, free: 13.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.3138, allocations: 51.72 kB / 0.5846 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00638/0.3202, allocations: 2.45 MB / 0.587 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.803e-05/0.3203, allocations: 27.91 kB / 0.587 GB, free: 10.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.3205, allocations: 123.3 kB / 0.5871 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.463e-05/0.3206, allocations: 0 / 0.5871 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.3207, allocations: 67.7 kB / 0.5872 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.3208, allocations: 43.78 kB / 0.5872 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3208, allocations: 7.984 kB / 0.5873 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.3326, allocations: 7.267 MB / 0.5943 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.111e-05/0.3327, allocations: 15.92 kB / 0.5944 GB, free: 3.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3328, allocations: 43.86 kB / 0.5944 GB, free: 3.359 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.3497, allocations: 6.336 MB / 0.6006 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3497, allocations: 0 / 0.6006 GB, free: 13.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3497, allocations: 0 / 0.6006 GB, free: 13.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3497, allocations: 3.938 kB / 0.6006 GB, free: 13.01 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.003779/0.3535, allocations: 0.6714 MB / 0.6013 GB, free: 12.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3535, allocations: 8.031 kB / 0.6013 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.3538, allocations: 23.94 kB / 0.6013 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.705e-05/0.3539, allocations: 113.2 kB / 0.6014 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.3539, allocations: 8 kB / 0.6014 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3539, allocations: 4 kB / 0.6014 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.3543, allocations: 206.7 kB / 0.6016 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3543, allocations: 7.875 kB / 0.6016 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.3543, allocations: 4 kB / 0.6016 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.3543, allocations: 4 kB / 0.6016 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.3548, allocations: 115.9 kB / 0.6017 GB, free: 11.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.3555, allocations: 0.581 MB / 0.6023 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/0.3559, allocations: 130.5 kB / 0.6024 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.356, allocations: 52.83 kB / 0.6025 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002/0.358, allocations: 0.6282 MB / 0.6031 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003657/0.3584, allocations: 220.4 kB / 0.6033 GB, free: 10.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.3584, allocations: 0 / 0.6033 GB, free: 10.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007197/0.3591, allocations: 244.3 kB / 0.6035 GB, free: 9.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.3592, allocations: 51.41 kB / 0.6036 GB, free: 9.719 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.152e-05/0.3592, allocations: 105.8 kB / 0.6037 GB, free: 9.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3593, allocations: 25.7 kB / 0.6037 GB, free: 9.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.073e-05/0.3593, allocations: 99.88 kB / 0.6038 GB, free: 9.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.3594, allocations: 51.56 kB / 0.6038 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.3594, allocations: 33.7 kB / 0.6039 GB, free: 9.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3595, allocations: 326.8 kB / 0.6042 GB, free: 9.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3597, allocations: 43.97 kB / 0.6042 GB, free: 9.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3598, allocations: 69.92 kB / 0.6043 GB, free: 8.938 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.36, allocations: 105.5 kB / 0.6044 GB, free: 8.828 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.36, allocations: 4 kB / 0.6044 GB, free: 8.824 MB / 446.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003661/0.3604, allocations: 161.5 kB / 0.6046 GB, free: 8.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3604, allocations: 4 kB / 0.6046 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3604, allocations: 4 kB / 0.6046 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.3604, allocations: 7.938 kB / 0.6046 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3605, allocations: 23.98 kB / 0.6046 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3605, allocations: 0 / 0.6046 GB, free: 8.621 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.593e-05/0.3606, allocations: 19.88 kB / 0.6046 GB, free: 8.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.3607, allocations: 11.98 kB / 0.6046 GB, free: 8.59 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.0001087/0.3608, allocations: 121.8 kB / 0.6047 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.3608, allocations: 7.953 kB / 0.6047 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.3614, allocations: 367.8 kB / 0.6051 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004179/0.3618, allocations: 297.6 kB / 0.6054 GB, free: 7.793 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3618, allocations: 4 kB / 0.6054 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3618, allocations: 7.922 kB / 0.6054 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3629, allocations: 0.6845 MB / 0.6061 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3629, allocations: 0 / 0.6061 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.363, allocations: 27.98 kB / 0.6061 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.363, allocations: 4 kB / 0.6061 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.363, allocations: 4 kB / 0.6061 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.363, allocations: 4 kB / 0.6061 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.363, allocations: 3.938 kB / 0.6061 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.3637, allocations: 459.1 kB / 0.6065 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.3637, allocations: 23.94 kB / 0.6066 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.3637, allocations: 3.938 kB / 0.6066 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3639, allocations: 27.97 kB / 0.6066 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.364, allocations: 19.97 kB / 0.6066 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.364, allocations: 7.984 kB / 0.6066 GB, free: 6.457 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.217e-05/0.364, allocations: 83.28 kB / 0.6067 GB, free: 6.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.364, allocations: 0 / 0.6067 GB, free: 6.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00246/0.3665, allocations: 458.7 kB / 0.6071 GB, free: 5.926 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.01562/0.3821, allocations: 4.894 MB / 0.6119 GB, free: 1.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000543/0.3826, allocations: 193.5 kB / 0.6121 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3826, allocations: 0 / 0.6121 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.3829, allocations: 115.8 kB / 0.6122 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.3834, allocations: 71.84 kB / 0.6123 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.3842, allocations: 420.8 kB / 0.6127 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3846, allocations: 0.7173 MB / 0.6134 GB, free: 15.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.419e-05/0.3846, allocations: 31.42 kB / 0.6134 GB, free: 15.43 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3846, allocations: 0 / 0.6134 GB, free: 15.43 MB / 462.1 MB Notification: Performance of Templates: time 0.02784/0.4125, allocations: 21.42 MB / 0.6343 GB, free: 9.973 MB / 478.1 MB " [Timeout remaining time 660] 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 -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.690777719952166] Failed to read output from testmodel.py, exit status != 0: 0.42071508103981614 0.43393535299999997 0.08117015400000001 Calling exit ...