Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.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.001428/0.001428, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.001679/0.001679, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.675/1.675, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2909/0.2909, allocations: 46.9 MB / 361.1 MB, free: 4.586 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") translateModel(ModelicaTest.Media.TestOnly.R134a_setState_phX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 79.86 kB / 0.4968 GB, free: 7.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3299, allocations: 65.99 MB / 0.5612 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.R134a_setState_phX): time 0.01235/0.3423, allocations: 8.485 MB / 0.5695 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.3577, allocations: 13.1 MB / 0.5823 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.3577, allocations: 4 kB / 0.5823 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.358, allocations: 39.8 kB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006866/0.3649, allocations: 2.142 MB / 0.5844 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.887e-06/0.3649, allocations: 0 / 0.5844 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.365, allocations: 55.59 kB / 0.5845 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.3651, allocations: 8 kB / 0.5845 GB, free: 13.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3652, allocations: 27.86 kB / 0.5845 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.3653, allocations: 19.92 kB / 0.5845 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.3653, allocations: 0 / 0.5845 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01037/0.3756, allocations: 6.043 MB / 0.5904 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3757, allocations: 3.984 kB / 0.5904 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.924e-05/0.3757, allocations: 23.88 kB / 0.5905 GB, free: 6.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.3871, allocations: 4.791 MB / 0.5951 GB, free: 2.148 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3871, allocations: 0 / 0.5951 GB, free: 2.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3871, allocations: 4 kB / 0.5951 GB, free: 2.145 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3872, allocations: 0 / 0.5951 GB, free: 2.145 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.002956/0.3901, allocations: 0.6333 MB / 0.5958 GB, free: 1.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3901, allocations: 8.031 kB / 0.5958 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.3903, allocations: 15.98 kB / 0.5958 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.3904, allocations: 163 kB / 0.5959 GB, free: 1.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3904, allocations: 7.984 kB / 0.5959 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3905, allocations: 4 kB / 0.5959 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3908, allocations: 117.6 kB / 0.5961 GB, free: 1.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3908, allocations: 3.938 kB / 0.5961 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3908, allocations: 0 / 0.5961 GB, free: 1.102 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3908, allocations: 3.938 kB / 0.5961 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.3912, allocations: 127.9 kB / 0.5962 GB, free: 0.9727 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.3918, allocations: 352.6 kB / 0.5965 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.3921, allocations: 70.52 kB / 0.5966 GB, free: 0.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3922, allocations: 32.84 kB / 0.5966 GB, free: 476 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003811/0.396, allocations: 2.127 MB / 0.5987 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.396, allocations: 30.56 kB / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.396, allocations: 4 kB / 0.5987 GB, free: 13.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006568/0.3967, allocations: 149.5 kB / 0.5989 GB, free: 13.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3967, allocations: 51.41 kB / 0.5989 GB, free: 13.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.3968, allocations: 93.86 kB / 0.599 GB, free: 13.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.3969, allocations: 33.69 kB / 0.599 GB, free: 13.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.3969, allocations: 95.98 kB / 0.5991 GB, free: 13.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.3969, allocations: 23.86 kB / 0.5992 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.397, allocations: 21.7 kB / 0.5992 GB, free: 13.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.3971, allocations: 322.8 kB / 0.5995 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3972, allocations: 23.97 kB / 0.5995 GB, free: 13.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.3974, allocations: 37.7 kB / 0.5995 GB, free: 13.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.3976, allocations: 78.08 kB / 0.5996 GB, free: 13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3976, allocations: 0 / 0.5996 GB, free: 13 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003078/0.3979, allocations: 105.6 kB / 0.5997 GB, free: 12.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3979, allocations: 4 kB / 0.5997 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3979, allocations: 0 / 0.5997 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3979, allocations: 0 / 0.5997 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.398, allocations: 27.95 kB / 0.5998 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.398, allocations: 0 / 0.5998 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.3981, allocations: 11.89 kB / 0.5998 GB, free: 12.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3981, allocations: 4 kB / 0.5998 GB, free: 12.85 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.916e-05/0.3982, allocations: 117.8 kB / 0.5999 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.3983, allocations: 4 kB / 0.5999 GB, free: 12.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005322/0.3988, allocations: 261.1 kB / 0.6001 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3988, allocations: 0 / 0.6001 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3988, allocations: 4 kB / 0.6001 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3988, allocations: 0 / 0.6001 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3991, allocations: 237.4 kB / 0.6004 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3991, allocations: 0 / 0.6004 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.3992, allocations: 23.98 kB / 0.6004 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3992, allocations: 4.188 kB / 0.6004 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3992, allocations: 0 / 0.6004 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3992, allocations: 0 / 0.6004 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3992, allocations: 4 kB / 0.6004 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.3996, allocations: 259.2 kB / 0.6006 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.3996, allocations: 85.06 kB / 0.6007 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.3996, allocations: 0 / 0.6007 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.994e-05/0.3997, allocations: 15.98 kB / 0.6007 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.3998, allocations: 7.984 kB / 0.6007 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.3998, allocations: 4 kB / 0.6008 GB, free: 11.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.444e-05/0.3998, allocations: 83.28 kB / 0.6008 GB, free: 11.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 0 / 0.6008 GB, free: 11.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001949/0.4018, allocations: 374.9 kB / 0.6012 GB, free: 11.29 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: 3 ($cse3.phase,$cse4,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.01176/0.4135, allocations: 3.566 MB / 0.6047 GB, free: 7.707 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004009/0.4139, allocations: 91.88 kB / 0.6048 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4139, allocations: 7.938 kB / 0.6048 GB, free: 7.609 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4141, allocations: 60.03 kB / 0.6048 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.4144, allocations: 20.58 kB / 0.6048 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.4149, allocations: 253.5 kB / 0.6051 GB, free: 7.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4153, allocations: 0.6963 MB / 0.6058 GB, free: 6.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.4154, allocations: 47.61 kB / 0.6058 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.4154, allocations: 19.44 kB / 0.6058 GB, free: 6.473 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4154, allocations: 4 kB / 0.6058 GB, free: 6.469 MB / 446.1 MB Notification: Performance of Templates: time 0.02482/0.4403, allocations: 16.33 MB / 0.6218 GB, free: 6.098 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_phX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.5048124538734555] Failed to read output from testmodel.py, exit status != 0: 0.4488840289413929 0.462575316 0.072218772 Calling exit ...