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.001299/0.001299, allocations: 113.1 kB / 21.85 MB, free: 68 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.001461/0.001461, allocations: 209.5 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.487/1.487, allocations: 230.4 MB / 258.7 MB, free: 8.051 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.2784/0.2784, allocations: 46.93 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 179] 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.002396/0.002396, allocations: 79.86 kB / 0.4978 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.3173, allocations: 66.08 MB / 0.5623 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_pTX_high_T): time 0.01228/0.3296, allocations: 8.436 MB / 0.5706 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.3429, allocations: 11.15 MB / 0.5815 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.749e-05/0.343, allocations: 4 kB / 0.5815 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.3432, allocations: 43.73 kB / 0.5815 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.3486, allocations: 1.871 MB / 0.5833 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.493e-06/0.3486, allocations: 0 / 0.5833 GB, free: 14.69 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.3487, allocations: 47.67 kB / 0.5834 GB, free: 14.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.3488, allocations: 11.92 kB / 0.5834 GB, free: 14.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3489, allocations: 23.92 kB / 0.5834 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.3489, allocations: 19.86 kB / 0.5834 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.3489, allocations: 4 kB / 0.5834 GB, free: 14.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/0.3602, allocations: 6.69 MB / 0.59 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.3602, allocations: 4 kB / 0.59 GB, free: 7.875 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.3603, allocations: 19.81 kB / 0.59 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01462/0.3749, allocations: 5.096 MB / 0.595 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3749, allocations: 0 / 0.595 GB, free: 2.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3749, allocations: 0 / 0.595 GB, free: 2.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.3749, allocations: 0 / 0.595 GB, free: 2.754 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.002929/0.3778, allocations: 0.5074 MB / 0.5955 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3779, allocations: 16.03 kB / 0.5955 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.378, allocations: 11.98 kB / 0.5955 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3781, allocations: 113.1 kB / 0.5956 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.3781, allocations: 0 / 0.5956 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3781, allocations: 4 kB / 0.5956 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3783, allocations: 77.67 kB / 0.5957 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3783, allocations: 3.938 kB / 0.5957 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3783, allocations: 4 kB / 0.5957 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3783, allocations: 0 / 0.5957 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.3784, allocations: 75.97 kB / 0.5958 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.3789, allocations: 307.7 kB / 0.596 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.778e-05/0.379, allocations: 38.56 kB / 0.5961 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.335e-05/0.379, allocations: 20.92 kB / 0.5961 GB, free: 1.469 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/0.3819, allocations: 0.8037 MB / 0.5969 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.3819, allocations: 34.56 kB / 0.5969 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.3819, allocations: 0 / 0.5969 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002996/0.3822, allocations: 113.7 kB / 0.597 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3822, allocations: 51.41 kB / 0.5971 GB, free: 452 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.584e-05/0.3823, allocations: 101.9 kB / 0.5972 GB, free: 340 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.3824, allocations: 25.7 kB / 0.5972 GB, free: 308 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.3824, allocations: 88.08 kB / 0.5973 GB, free: 216 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.3824, allocations: 27.75 kB / 0.5973 GB, free: 188 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3825, allocations: 25.7 kB / 0.5973 GB, free: 156 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.3827, allocations: 318.8 kB / 0.5976 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.3827, allocations: 27.92 kB / 0.5977 GB, free: 15.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.3828, allocations: 34 kB / 0.5977 GB, free: 15.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.3829, allocations: 65.73 kB / 0.5978 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3829, allocations: 0 / 0.5978 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001665/0.383, allocations: 97.58 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3831, allocations: 10.34 kB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3831, allocations: 192 / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3831, allocations: 0 / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.3831, allocations: 19.92 kB / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3831, allocations: 0 / 0.5979 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.3832, allocations: 11.97 kB / 0.5979 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.3832, allocations: 0 / 0.5979 GB, free: 15.55 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.204e-05/0.3833, allocations: 117.8 kB / 0.598 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.3833, allocations: 7.953 kB / 0.598 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.3836, allocations: 141.7 kB / 0.5981 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001637/0.3838, allocations: 129.2 kB / 0.5983 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3838, allocations: 0 / 0.5983 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3838, allocations: 4 kB / 0.5983 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.3843, allocations: 409.3 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3843, allocations: 4.172 kB / 0.5987 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-05/0.3843, allocations: 15.94 kB / 0.5987 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3843, allocations: 0 / 0.5987 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3843, allocations: 11.92 kB / 0.5987 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3843, allocations: 4 kB / 0.5987 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3843, allocations: 0 / 0.5987 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3846, allocations: 223.5 kB / 0.5989 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.566e-05/0.3846, allocations: 11.92 kB / 0.5989 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3846, allocations: 3.938 kB / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.3847, allocations: 0 / 0.5989 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.3847, allocations: 11.98 kB / 0.5989 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.3847, allocations: 4 kB / 0.5989 GB, free: 14.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.966e-05/0.3847, allocations: 79.22 kB / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3847, allocations: 0 / 0.599 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002521/0.3873, 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.01371/0.401, allocations: 4.091 MB / 0.6034 GB, free: 9.855 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.4013, allocations: 105.6 kB / 0.6035 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4013, allocations: 0 / 0.6035 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.4014, allocations: 43.98 kB / 0.6035 GB, free: 9.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4018, allocations: 52.41 kB / 0.6036 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004447/0.4022, allocations: 217.6 kB / 0.6038 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4026, allocations: 0.6924 MB / 0.6044 GB, free: 8.691 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.4026, allocations: 19.73 kB / 0.6045 GB, free: 8.672 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.4027, allocations: 15.44 kB / 0.6045 GB, free: 8.656 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4027, allocations: 0 / 0.6045 GB, free: 8.656 MB / 446.1 MB Notification: Performance of Templates: time 0.02801/0.4307, allocations: 18.33 MB / 0.6224 GB, free: 6.285 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 cvode -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.296131532173604] Failed to read output from testmodel.py, exit status != 0: 0.43976214388385415 0.455181193 0.076896169 Calling exit ...